Hi,
I work on DM8168 ,EZSDK 5.0.3.15! I have run the Capture_ Encode Example example with input 720p/60 video signal, and now i want to run the Capture_ Encode Example example with input 1080I/60 video signal.So i changed the code ,
In file iIclient_utils.c i make the following changes .
In function void IL_ClientInit (IL_Client **pAppData, char *mode, int frameRate,int bitRate, int numFrames, int displayId)
I add the following mode:
else if (strcmp (mode, "720p") == 0) {
pAppDataPtr->nHeight = 720;
pAppDataPtr->nWidth = 1280;
}
else if (strcmp (mode, "1080i") == 0) {
pAppDataPtr->nHeight = 1080;
pAppDataPtr->nWidth = 1920;
}
and in the function OMX_ERRORTYPE IL_ClientSetCaptureParams (IL_Client *pAppData)
all sHwPortParam.eScanType = OMX_VIDEO_CaptureScanTypeProgressive; replaced with
sHwPortParam.eScanType = OMX_VIDEO_CaptureScanTypeInterlaced;
and
sVidDecParam.videoStandard = OMX_VIDEO_DECODER_STD_1080I_60;
In function OMX_ERRORTYPE IL_ClientSetDisplayParams (IL_Client *pAppData)
driverId.eDispVencMode = OMX_DC_MODE_1080I_60;
then i run the program ,but the color is green ,is there any other place i have to change?