Under YCC8, standard mode (VENC.VMOD = 0x1001), I tried digital output from DM368 to an HDMI transmitter.
The HDMI transmitter receives from DM368:
244/243 active lines for 2 fields,
vertical blanking 19/19 lines,
vertical back porch 12/12 lines,
vertial front porch 4/3 lines.
The above are actually wrong. the correct should be
240/240 active lines for 2 fields,
vertical blanking 22/23 lines,
vertical back porch 15/15 lines,
vertial front porch 4/4 lines.
Under the structure defined by davinci encoder manager, the driver for this HDMI transmitter should be written as following:
.standards[0] = {
.name = VID_ENC_STD_NTSC,
.std = 1,
.if_type = VID_ENC_IF_YCC8,
.interlaced = 1,
.xres = 720,
.yres = 480,
.left_margin = 138,
.right_margin = 0,
.upper_margin = 21,
.lower_margin = 24,
.hsync_len = 127,
.vsync_len = 6,
.flags = 0
},
After we investigated the HDMI transmitter, we found that DM368 might not send digital output correctly according to the specification. The worst part is that vertical interval, though set, does not follow what is told to be. Veritcal front and back porch do not seem like being able to be adjusted.
Has anybody succeeded in connecting an encoder using YCC8 as the interface and run NTSC?