Other Parts Discussed in Thread: TVP5158
Hello, Our company recently produced our new board on the basis of the UDWORK board, it is only two TVP5158, did not use the extended HDMI interface, the other basically, I was on the basis of changes in 00.07.00.01 , the current int DVR_StartSystem (TunnelTestCtxt * pHandleParam, int isNTSC, int sub_display) initialization has been a problem, I modified the code lib_dvr_app.h current definition of inside
#define NUM_DISPLAYS (2)
#define OMX_NUM_DEIS (1)
#define OMX_NUM_SINKS (0)
#define OMX_NUM_SRCS (0)
#define ENCODE_CHANNEL (16)
#define DECODE_CHANNEL (16)
#define NUM_CHANNEL (8)
#define DEIM_CHANNEL (8)
#define DEIH_CHANNEL (0)
#define SC_CHANNEL (16)
In addition to the code of DEIH_CHANNEL not set, the definition of DISPALY can only set the first one, as follows:
for (i = 0; i < 1;/*NUM_DISPLAYS;*/ i++)
{
(void) sendCommand(pContext->hCTRLDC[i], OMX_CommandStateSet,
OMX_StateIdle, pContext->hctrlDcStateChangeEvent[i]);
printf("NUM_DISPLAYS %d pContext->hCTRLDC[i]!!!\n",i);
}
In the following code to stop
(void) sendCommand(pContext->hCTRLTVP, OMX_CommandStateSet,
OMX_StateExecuting, pContext->hctrlTvpStateChangeEvent);
What should I do?
Regards,
Zhou Sheng