(I'm using a component to vga box, and 1080i is great on my plasma TV)
in proto.h,
declare
Code: Select all
#define _1080i_60Hz
replace
Code: Select all
#define NUM_BUFFERS 10
Code: Select all
#ifdef _1080i_60Hz
#define NUM_BUFFERS 2
#else
#define NUM_BUFFERS 10
#endif
replace
Code: Select all
static const unsigned char avb_param_ntsc_cmd[] = {
... 480i stuff
};
Code: Select all
#ifdef _1080i60Hz
static const unsigned char avb_param_ntsc_cmd[] = {
2, 5, /* av command version */
0, 148, /* Length following this length field */
4, 0, 0, 1, /* command id: AVB_PARAM */
0, 2, /* number of video packets */
0, 0, /* number of audio packets */
0, 2, /* number of av video packets */
0, 0, /* number of av audio packets */
/* pkt_video_mode x 2 */
2, 5,
0, 44,
1, 0, 0, 2, /* command id: VIDEO_MODE */
0, 0, 0, 0, /* head A */
0, 0, 0, 0,
0, 0, 0, 7, /* 1080I_60HZ 8=1080I_50Hz */
0, 0, 0x7, 0x80, /* w=1920 */
0, 0, 0x4, 0x38, /* h=1080 */
0, 0, 0x1e, 0, /* pitch=7680 (4*w) */
0, 0, 0, 0,
0, 0, 0, 7, /* A8R8G8B8 */
0, 0, 0, 0,
0, 0, 0, 0,
2, 5,
0, 44,
1, 0, 0, 2, /* command id: VIDEO_MODE */
0, 0, 0, 1, /* head B */
0, 0, 0, 0,
0, 0, 0, 7, /* 1080I_60HZ 8=1080I_50Hz */
0, 0, 0x7, 0x80, /* w=1920 */
0, 0, 0x4, 0x38, /* h=1080 */
0, 0, 0x1e, 0, /* pitch=7680 (4*w) */
0, 0, 0, 0,
0, 0, 0, 7, /* A8R8G8B8 */
0, 0, 0, 0,
0, 0, 0, 0,
/* pkt_av_video_cs x 2 */
2, 5,
0, 16,
0, 1, 0, 1, /* command id: AV_VIDEO_CS */
0, 0, /* avport HDMI 0 */
0, 3, /* av_vid 1080I_60HZ 8=1080I_50Hz */
0, 1, /* av_cs_out YUV444-8 */
0, 0, /* av_cs_in RGB-8 */
0, /* dither off */
0, /* bitlen_out 8 */
0, /* super_white off */
1, /* aspect 4:3 */
2, 5,
0, 16,
0, 1, 0, 1, /* command id: AV_VIDEO_CS */
0, 16, /* avport AVMULTI 0 */
0, 3, /* av_vid 1080I_60HZ 8=1080I_50Hz */
0, 1, /* av_cs_out YUV444-8 */
0, 0, /* av_cs_in RGB-8 */
0, /* dither off */
0, /* bitlen_out 8 */
0, /* super_white off */
1, /* aspect 4:3 */
};
#else
static const unsigned char avb_param_ntsc_cmd[] = {
... 480i stuff
};
#endif
and replace
Code: Select all
av_width = 720;
av_height = 480;
av_pitch = 2880;
Code: Select all
#ifdef _1080i60Hz
av_width = 1920;
av_height = 1080;
av_pitch = 1920*4;
#else
av_width = 720;
av_height = 480;
av_pitch = 2880;
#endif