pBufferOps->Clear_RegisteredBuffer(hMFCHandle);
pBufferOps->Cleanup_Buffer(hMFCHandle);
- /******************************************************/
- /* V4L2 Destnation Setup for DPB Buffer Number Change */
- /******************************************************/
- H264CodecDstSetup(pOMXComponent);
-
- pVideoDec->bReconfigDPB = OMX_FALSE;
} else if (pExynosPort->bufferProcessType & BUFFER_SHARE) {
/**********************************/
/* Codec Buffer Unregister */
pBufferOps->Clear_RegisteredBuffer(hMFCHandle);
pBufferOps->Cleanup_Buffer(hMFCHandle);
}
+ /******************************************************/
+ /* V4L2 Destnation Setup for DPB Buffer Number Change */
+ /******************************************************/
+ H264CodecDstSetup(pOMXComponent);
+ pVideoDec->bReconfigDPB = OMX_FALSE;
Exynos_ResolutionUpdate(pOMXComponent);
} else {
pDstInputData->buffer.multiPlaneBuffer.dataBuffer[i]);
}
- if ((pVideoDec->bReconfigDPB == OMX_TRUE) &&
- (pExynosOutputPort->bufferProcessType & BUFFER_SHARE) &&
- (pExynosOutputPort->exceptionFlag == GENERAL_STATE)) {
- ret = H264CodecDstSetup(pOMXComponent);
- if (ret != OMX_ErrorNone)
- goto EXIT;
- pVideoDec->bReconfigDPB = OMX_FALSE;
- }
-
codecReturn = pOutbufOps->Enqueue(hMFCHandle, (unsigned char **)pDstInputData->buffer.multiPlaneBuffer.dataBuffer,
(unsigned int *)dataLen, pExynosOutputPort->nPlaneCnt, pDstInputData->bufferHeader);