Hi,
we want to run the h264enc jpegenc and deinterlacer on DM365.
the dei and jpegenc use below for VICP access.
pthread_mutex_lock(&alg_imcop_lock) ;
status = VIDENC1_process(pObj->hEncode, &inBufDesc, &outBufDesc, &inArgs,
(IVIDENC1_OutArgs *) & outArgs);
pthread_mutex_lock(&alg_imcop_lock);
and the h264 do't use the alg_imcop_lock.
we want to configure the h264 not use the VICP. does just configure the
eparams->enableARM926Tcm = 0;
eparams->enableDDRbuff = 1;
is OK?
Now the h264enc can run with the dei. and the jpegenc also can run with dei. But we can't get them run together. If we put the h264enc dei jpegenc all in the alg_imcop_lock, they can run together. but video is not smooth.
Thanks