[linux-dvb] changing the screen width output of the nexus-s

Domenic Troilo domenictroilo at yahoo.com
Thu Mar 2 22:40:05 CET 2006


Ok, someone must be able to a least explain what the Variables in the NTSC Structure do, or point me to where I can read up on the "Official" driver...  I was at the techno trend web site, but I think I need to give a blood sample just to get the official documentation from them.

Domenic Troilo <domenictroilo at yahoo.com> wrote: I am not much for coding, but would like to ask a simple question.  My NTSC TV does not show the whole picture rather it is chopped off around the edges (using vdr and nexus-s hardware card)

I am wondering if I can tweak the output of the nexus-s card to change the output.  Below is the code I think I need to change:

/* FIXME: these values are experimental values that look better than the values from the latest "official" driver -- at least for me... (MiHu) */
static struct saa7146_standard standard[] = {
        {
                .name   = "PAL",        .id             = V4L2_STD_PAL_BG,
                .v_offset       = 0x15, .v_field        = 288,
                .h_offset       = 0x48, .h_pixels       = 708,
                .v_max_out      = 576,  .h_max_out      = 768,
        }, {
                .name   = "NTSC",       .id             = V4L2_STD_NTSC,
                .v_offset       = 0x10, .v_field         = 244,
                .h_offset       = 0x40, .h_pixels       = 708,
                .v_max_out      = 480,  .h_max_out      = 640,
        }
};

static struct saa7146_standard analog_standard[] = {
        {
                .name   = "PAL",        .id             = V4L2_STD_PAL_BG,
                .v_offset       = 0x1b, .v_field        = 288,
                .h_offset       = 0x08, .h_pixels       = 708,
                .v_max_out      = 576,  .h_max_out      = 768,
        }, {
                .name   = "NTSC",       .id             =  V4L2_STD_NTSC,
                .v_offset       = 0x10, .v_field        = 244,
                .h_offset       = 0x40, .h_pixels       = 708,
                .v_max_out      = 480,  .h_max_out      = 640,
        }
};

static struct saa7146_standard dvb_standard[] = {
        {
                .name   = "PAL",        .id             = V4L2_STD_PAL_BG,
                .v_offset       = 0x14, .v_field        = 288,
                .h_offset       = 0x48, .h_pixels       = 708,
                .v_max_out      = 576,  .h_max_out      = 768,
        }, {
                .name   = "NTSC",       .id             = V4L2_STD_NTSC,
                .v_offset       = 0x10, .v_field        = 244,
                .h_offset       = 0x40, .h_pixels       = 708,
                .v_max_out      = 480,  .h_max_out      = 640,
        }
};


Also I wonder if the experimental values which are referred to in the comment are causing the issue with my older TV?  Does anyone know what the NON-experimental values are?
   

---------------------------------
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars._______________________________________________
linux-dvb mailing list
linux-dvb at linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

		
---------------------------------
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20060302/eef0a8d3/attachment-0001.htm


More information about the linux-dvb mailing list