Hello EveryOne!
I have a problem to use DVO2 (vout0) of DM8168.
my environment SDK : DVRRDK_02_80_00_10
problem: DVO2 (vout0) of DM8168 output YUV422 signal with discrete sync.the data is not correct. (for example. if I write 0x55 to YUYV buffer, but the data 0x76 is output on Y channel) .
a piece of code like this:
//////////////////////////////////////////////////////////////////////////////////////////////////////////
pContext->deviceParams[VDIS_DEV_DVO2].enable = TRUE;
pContext->deviceParams[VDIS_DEV_DVO2].outputInfo.vencNodeNum = VDIS_VENC_DVO2;
pContext->deviceParams[VDIS_DEV_DVO2].outputInfo.aFmt = VDIS_A_OUTPUT_COMPOSITE;
pContext->deviceParams[VDIS_DEV_DVO2].outputInfo.dvoFidPolarity = VDIS_POLARITY_ACT_HIGH;
pContext->deviceParams[VDIS_DEV_DVO2].outputInfo.dvoVsPolarity = VDIS_POLARITY_ACT_HIGH;
pContext->deviceParams[VDIS_DEV_DVO2].outputInfo.dvoHsPolarity = VDIS_POLARITY_ACT_HIGH;
pContext->deviceParams[VDIS_DEV_DVO2].outputInfo.dvoActVidPolarity = VDIS_POLARITY_ACT_HIGH;
pContext->deviceParams[VDIS_DEV_DVO2].outputInfo.dvoFmt = VDIS_DVOFMT_DOUBLECHAN;
pContext->deviceParams[VDIS_DEV_DVO2].outputInfo.dataFormat = SYSTEM_DF_YUV422SP_UV;
pContext->tiedDevicesMask = VDIS_VENC_HDCOMP | VDIS_VENC_DVO2;
//////////////////////////////////////////////////////////////////////////////////////////////////////////
if I config DVO2 like that ,the date is output 16 bit YUV data with discrete sync, CLK HS VS is right, but data is not correct.(buffer data is 0x55 But not output 0x55)
if I config DVO2
pContext->deviceParams[VDIS_DEV_DVO2].outputInfo.dvoFmt = VDIS_DVOFMT_TRIPLECHAN_DISCSYNC;
pContext->deviceParams[VDIS_DEV_DVO2].outputInfo.dataFormat = SYSTEM_DF_RGB24_888;
the DM8168 output RGB 24-bit data is OK.
So, Somebody can help and tell me where is wrong.
Thank You very much.