- MAXDPBNum to maxDPBNum.
Change-Id: Ic522ca6f7f6d66495f72ab02911b1f382cda220f
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
}
/* get dpb count */
- pH264Dec->hMFCH264Handle.MAXDPBNum = pDecOps->Get_ActualBufferCount(hMFCHandle);
+ pH264Dec->hMFCH264Handle.maxDPBNum = pDecOps->Get_ActualBufferCount(hMFCHandle);
if (pVideoDec->bThumbnailMode == OMX_FALSE)
- pH264Dec->hMFCH264Handle.MAXDPBNum += EXTRA_DPB_NUM;
- Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "H264CodecSetup nOutbufs: %d", pH264Dec->hMFCH264Handle.MAXDPBNum);
+ pH264Dec->hMFCH264Handle.maxDPBNum += EXTRA_DPB_NUM;
+ Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "H264CodecSetup nOutbufs: %d", pH264Dec->hMFCH264Handle.maxDPBNum);
pH264Dec->hMFCH264Handle.bConfiguredMFCSrc = OMX_TRUE;
} else if (pExynosOutputPort->bufferProcessType == BUFFER_SHARE) {
if ((pExynosInputPort->portDefinition.format.video.nFrameWidth != pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameWidth) ||
(pExynosInputPort->portDefinition.format.video.nFrameHeight != pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameHeight) ||
- (pExynosOutputPort->portDefinition.nBufferCountActual != pH264Dec->hMFCH264Handle.MAXDPBNum)) {
+ (pExynosOutputPort->portDefinition.nBufferCountActual != pH264Dec->hMFCH264Handle.maxDPBNum)) {
pExynosInputPort->portDefinition.format.video.nFrameWidth = pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameWidth;
pExynosInputPort->portDefinition.format.video.nFrameHeight = pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameHeight;
pExynosInputPort->portDefinition.format.video.nStride = ((pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameWidth + 15) & (~15));
pExynosInputPort->portDefinition.format.video.nSliceHeight = ((pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameHeight + 15) & (~15));
- pExynosOutputPort->portDefinition.nBufferCountActual = pH264Dec->hMFCH264Handle.MAXDPBNum - 2;
- pExynosOutputPort->portDefinition.nBufferCountMin = pH264Dec->hMFCH264Handle.MAXDPBNum - 2;
+ pExynosOutputPort->portDefinition.nBufferCountActual = pH264Dec->hMFCH264Handle.maxDPBNum - 2;
+ pExynosOutputPort->portDefinition.nBufferCountMin = pH264Dec->hMFCH264Handle.maxDPBNum - 2;
Exynos_UpdateFrameSize(pOMXComponent);
pExynosOutputPort->exceptionFlag = NEED_PORT_DISABLE;
FunctionIn();
/* get dpb count */
- nOutbufs = pH264Dec->hMFCH264Handle.MAXDPBNum;
+ nOutbufs = pH264Dec->hMFCH264Handle.maxDPBNum;
/* should be done before prepare output buffer */
if (pOutbufOps->Enable_Cacheable(hMFCHandle) != VIDEO_ERROR_NONE) {
OMX_U32 outputIndexTimestamp;
OMX_BOOL bConfiguredMFCSrc;
OMX_BOOL bConfiguredMFCDst;
- OMX_U32 MAXDPBNum;
+ OMX_U32 maxDPBNum;
ExynosVideoColorFormatType MFCOutputColorType;
ExynosVideoDecOps *pDecOps;
}
/* get dpb count */
- pMpeg4Dec->hMFCMpeg4Handle.MAXDPBNum = pDecOps->Get_ActualBufferCount(hMFCHandle);
+ pMpeg4Dec->hMFCMpeg4Handle.maxDPBNum = pDecOps->Get_ActualBufferCount(hMFCHandle);
if (pVideoDec->bThumbnailMode == OMX_FALSE)
- pMpeg4Dec->hMFCMpeg4Handle.MAXDPBNum += EXTRA_DPB_NUM;
- Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "Mpeg4CodecSetup nOutbufs: %d", pMpeg4Dec->hMFCMpeg4Handle.MAXDPBNum);
+ pMpeg4Dec->hMFCMpeg4Handle.maxDPBNum += EXTRA_DPB_NUM;
+ Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "Mpeg4CodecSetup nOutbufs: %d", pMpeg4Dec->hMFCMpeg4Handle.maxDPBNum);
pMpeg4Dec->hMFCMpeg4Handle.bConfiguredMFCSrc = OMX_TRUE;
} else if (pExynosOutputPort->bufferProcessType == BUFFER_SHARE) {
if ((pExynosInputPort->portDefinition.format.video.nFrameWidth != pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameWidth) ||
(pExynosInputPort->portDefinition.format.video.nFrameHeight != pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameHeight) ||
- (pExynosOutputPort->portDefinition.nBufferCountActual != pMpeg4Dec->hMFCMpeg4Handle.MAXDPBNum)) {
+ (pExynosOutputPort->portDefinition.nBufferCountActual != pMpeg4Dec->hMFCMpeg4Handle.maxDPBNum)) {
pExynosInputPort->portDefinition.format.video.nFrameWidth = pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameWidth;
pExynosInputPort->portDefinition.format.video.nFrameHeight = pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameHeight;
pExynosInputPort->portDefinition.format.video.nStride = ((pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameWidth + 15) & (~15));
pExynosInputPort->portDefinition.format.video.nSliceHeight = ((pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameHeight + 15) & (~15));
- pExynosOutputPort->portDefinition.nBufferCountActual = pMpeg4Dec->hMFCMpeg4Handle.MAXDPBNum - 2;
- pExynosOutputPort->portDefinition.nBufferCountMin = pMpeg4Dec->hMFCMpeg4Handle.MAXDPBNum - 2;
+ pExynosOutputPort->portDefinition.nBufferCountActual = pMpeg4Dec->hMFCMpeg4Handle.maxDPBNum - 2;
+ pExynosOutputPort->portDefinition.nBufferCountMin = pMpeg4Dec->hMFCMpeg4Handle.maxDPBNum - 2;
Exynos_UpdateFrameSize(pOMXComponent);
pExynosOutputPort->exceptionFlag = NEED_PORT_DISABLE;
FunctionIn();
/* get dpb count */
- nOutbufs = pMpeg4Dec->hMFCMpeg4Handle.MAXDPBNum;
+ nOutbufs = pMpeg4Dec->hMFCMpeg4Handle.maxDPBNum;
/* should be done before prepare output buffer */
if (pOutbufOps->Enable_Cacheable(hMFCHandle) != VIDEO_ERROR_NONE) {
OMX_U32 outputIndexTimestamp;
OMX_BOOL bConfiguredMFCSrc;
OMX_BOOL bConfiguredMFCDst;
- OMX_U32 MAXDPBNum;
+ OMX_U32 maxDPBNum;
CODEC_TYPE codecType;
ExynosVideoColorFormatType MFCOutputColorType;
}
/* get dpb count */
- pVp8Dec->hMFCVp8Handle.MAXDPBNum = pDecOps->Get_ActualBufferCount(hMFCHandle);
+ pVp8Dec->hMFCVp8Handle.maxDPBNum = pDecOps->Get_ActualBufferCount(hMFCHandle);
if (pVideoDec->bThumbnailMode == OMX_FALSE)
- pVp8Dec->hMFCVp8Handle.MAXDPBNum += EXTRA_DPB_NUM;
- Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "Vp8CodecSetup nOutbufs: %d", pVp8Dec->hMFCVp8Handle.MAXDPBNum);
+ pVp8Dec->hMFCVp8Handle.maxDPBNum += EXTRA_DPB_NUM;
+ Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "Vp8CodecSetup nOutbufs: %d", pVp8Dec->hMFCVp8Handle.maxDPBNum);
pVp8Dec->hMFCVp8Handle.bConfiguredMFCSrc = OMX_TRUE;
} else if (pExynosOutputPort->bufferProcessType == BUFFER_SHARE) {
if ((pExynosInputPort->portDefinition.format.video.nFrameWidth != pVp8Dec->hMFCVp8Handle.codecOutbufConf.nFrameWidth) ||
(pExynosInputPort->portDefinition.format.video.nFrameHeight != pVp8Dec->hMFCVp8Handle.codecOutbufConf.nFrameHeight) ||
- (pExynosOutputPort->portDefinition.nBufferCountActual != pVp8Dec->hMFCVp8Handle.MAXDPBNum)) {
+ (pExynosOutputPort->portDefinition.nBufferCountActual != pVp8Dec->hMFCVp8Handle.maxDPBNum)) {
pExynosInputPort->portDefinition.format.video.nFrameWidth = pVp8Dec->hMFCVp8Handle.codecOutbufConf.nFrameWidth;
pExynosInputPort->portDefinition.format.video.nFrameHeight = pVp8Dec->hMFCVp8Handle.codecOutbufConf.nFrameHeight;
pExynosInputPort->portDefinition.format.video.nStride = ((pVp8Dec->hMFCVp8Handle.codecOutbufConf.nFrameWidth + 15) & (~15));
pExynosInputPort->portDefinition.format.video.nSliceHeight = ((pVp8Dec->hMFCVp8Handle.codecOutbufConf.nFrameHeight + 15) & (~15));
- pExynosOutputPort->portDefinition.nBufferCountActual = pVp8Dec->hMFCVp8Handle.MAXDPBNum - 2;
- pExynosOutputPort->portDefinition.nBufferCountMin = pVp8Dec->hMFCVp8Handle.MAXDPBNum - 2;
+ pExynosOutputPort->portDefinition.nBufferCountActual = pVp8Dec->hMFCVp8Handle.maxDPBNum - 2;
+ pExynosOutputPort->portDefinition.nBufferCountMin = pVp8Dec->hMFCVp8Handle.maxDPBNum - 2;
Exynos_UpdateFrameSize(pOMXComponent);
pExynosOutputPort->exceptionFlag = NEED_PORT_DISABLE;
FunctionIn();
/* get dpb count */
- nOutbufs = pVp8Dec->hMFCVp8Handle.MAXDPBNum;
+ nOutbufs = pVp8Dec->hMFCVp8Handle.maxDPBNum;
/* should be done before prepare output buffer */
if (pOutbufOps->Enable_Cacheable(hMFCHandle) != VIDEO_ERROR_NONE) {
OMX_U32 outputIndexTimestamp;
OMX_BOOL bConfiguredMFCSrc;
OMX_BOOL bConfiguredMFCDst;
- OMX_U32 MAXDPBNum;
+ OMX_U32 maxDPBNum;
ExynosVideoColorFormatType MFCOutputColorType;
ExynosVideoDecOps *pDecOps;