Searched refs:avc_param (Results 1 – 2 of 2) sorted by relevance
740 OMX_VIDEO_PARAM_AVCTYPE avc_param; in set_parameter() local741 memcpy(&avc_param, pParam, sizeof( struct OMX_VIDEO_PARAM_AVCTYPE)); in set_parameter()749 avc_param.nBFrames = 1; in set_parameter()753 avc_param.nRefFrames = 2; in set_parameter()758 avc_param.nBFrames = 0; in set_parameter()762 avc_param.nRefFrames = 1; in set_parameter()767 … avc_param.nBFrames = (pParam->nBFrames > (unsigned int) bframes)? pParam->nBFrames : bframes; in set_parameter()768 avc_param.nRefFrames = avc_param.nBFrames + 1; in set_parameter()770 if (avc_param.nBFrames > 3) { in set_parameter()771 avc_param.nBFrames = 3; in set_parameter()[all …]
718 OMX_VIDEO_PARAM_AVCTYPE avc_param; in set_parameter() local719 memcpy(&avc_param, pParam, sizeof( struct OMX_VIDEO_PARAM_AVCTYPE)); in set_parameter()729 avc_param.nBFrames = 1; in set_parameter()734 avc_param.nRefFrames = 2; in set_parameter()740 avc_param.nBFrames = 0; in set_parameter()745 avc_param.nRefFrames = 1; in set_parameter()754 avc_param.nRefFrames = 1; in set_parameter()759 avc_param.nBFrames = 0; in set_parameter()762 if(handle->venc_set_param(&avc_param,OMX_IndexParamVideoAvc) != true) in set_parameter()