diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2018-11-30 11:46:18 -0600 |
---|---|---|
committer | Vishal Mahaveer <vishalm@ti.com> | 2018-11-30 15:42:52 -0500 |
commit | da87dbca364368cbe7e12530b1ceda9aa0cae345 (patch) | |
tree | e9d2a8e1b8d798dddd89e28834c756bfbefb034a | |
parent | 19ffe0ecc4b489b76eb63055827c864c1d18ff74 (diff) | |
download | dra7xx-d-oreo-mr1-release.tar.gz |
OMX: VIDDEC: H264: let codec handle dpbSizeInFrames parameterd-oreo-mr1-release
Leave dpbSizeInFrames parameter to default value and let codec
take care of calculating this parameter. This avoids chances of
any deviation from codec user guide recommendations.
Change-Id: Ib167b81a03190b0d2b3306df84581b3588b7eb7f
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
-rw-r--r-- | omx/videodecode/omx_h264_dec/src/omx_h264dec.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/omx/videodecode/omx_h264_dec/src/omx_h264dec.c b/omx/videodecode/omx_h264_dec/src/omx_h264dec.c index 18e7889..3ec406e 100644 --- a/omx/videodecode/omx_h264_dec/src/omx_h264dec.c +++ b/omx/videodecode/omx_h264_dec/src/omx_h264dec.c @@ -226,7 +226,6 @@ PaddedBuffParams CalculateH264VD_outbuff_details(OMX_HANDLETYPE hComponent, OMX_ staticparams->viddec3Params.displayDelay = pDecStatus->spsMaxRefFrames; } - staticparams->dpbSizeInFrames = pDecStatus->spsMaxRefFrames; pH264VidDecComp->tH264VideoParam.nRefFrames = pDecStatus->spsMaxRefFrames; if( pH264VidDecComp->tH264VideoParam.eProfile == OMX_VIDEO_AVCProfileBaseline ) { /*Base profile*/ @@ -476,7 +475,6 @@ OMX_ERRORTYPE OMXH264VD_SetParameter(OMX_HANDLETYPE hComponent, } } } else if( pH264VidDecComp->tH264VideoParam.nRefFrames <= 16 ) { - staticparams->dpbSizeInFrames = pH264VidDecComp->tH264VideoParam.nRefFrames; if( pH264VideoParam->eProfile == OMX_VIDEO_AVCProfileBaseline ) { staticparams->viddec3Params.displayDelay = IVIDDEC3_DECODE_ORDER; @@ -668,8 +666,6 @@ OMX_ERRORTYPE OMXH264VD_HandleError(OMX_HANDLETYPE hComponent) (OMX_U32)pDecStatus->spsMaxRefFrames, pH264VidDecComp->tH264VideoParam.nRefFrames); pH264VidDecComp->tH264VideoParam.nRefFrames = pDecStatus->spsMaxRefFrames; - staticparams->dpbSizeInFrames - = pDecStatus->spsMaxRefFrames; staticparams->viddec3Params.displayDelay = pDecStatus->spsMaxRefFrames; if( pH264VidDecComp->tH264VideoParam.eProfile == OMX_VIDEO_AVCProfileBaseline ) { |