changing the screen width output of the nexus-s

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux