Home
last modified time | relevance | path

Searched refs:avc_param (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp820 OMX_VIDEO_PARAM_AVCTYPE avc_param; in set_parameter() local
821 memcpy(&avc_param, pParam, sizeof( struct OMX_VIDEO_PARAM_AVCTYPE)); in set_parameter()
829 avc_param.nBFrames = 1; in set_parameter()
833 avc_param.nRefFrames = 2; in set_parameter()
838 avc_param.nBFrames = 0; in set_parameter()
842 avc_param.nRefFrames = 1; in set_parameter()
847avc_param.nBFrames = (pParam->nBFrames > (unsigned int) bframes)? pParam->nBFrames : bframes; in set_parameter()
848 avc_param.nRefFrames = (avc_param.nBFrames < 4)? avc_param.nBFrames + 1 : 4; in set_parameter()
850 …HIGH("AVC: RefFrames: %u, BFrames: %u", (unsigned int)avc_param.nRefFrames, (unsigned int)avc_para… in set_parameter()
852avc_param.bEntropyCodingCABAC = (OMX_BOOL)(avc_param.bEntropyCodingCABAC && entropy); in set_parameter()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_encoder.cpp718 OMX_VIDEO_PARAM_AVCTYPE avc_param; in set_parameter() local
719 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()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp871 OMX_VIDEO_PARAM_AVCTYPE avc_param; in set_parameter() local
872 memcpy(&avc_param, pParam, sizeof( struct OMX_VIDEO_PARAM_AVCTYPE)); in set_parameter()
875 avc_param.nBFrames = 0; in set_parameter()
880 avc_param.nBFrames = pParam->nBFrames; in set_parameter()
882 avc_param.nBFrames); in set_parameter()
886 avc_param.nBFrames = bframes; in set_parameter()
888 avc_param.nBFrames); in set_parameter()
891 DEBUG_PRINT_HIGH("AVC: BFrames: %u", (unsigned int)avc_param.nBFrames); in set_parameter()
892avc_param.bEntropyCodingCABAC = (OMX_BOOL)(avc_param.bEntropyCodingCABAC && entropy); in set_parameter()
893 avc_param.nCabacInitIdc = entropy ? avc_param.nCabacInitIdc : 0; in set_parameter()
[all …]