/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device.cpp | 1848 unsigned long mb_per_frame = 0, mb_per_sec = 0; in venc_set_profile_level() local 1851 mb_per_frame = ((m_sVenc_cfg.input_height + 15) >> 4)* in venc_set_profile_level() 1905 if(mb_per_frame >= 3600) in venc_set_profile_level() 1932 mb_per_sec = mb_per_frame * (m_sVenc_cfg.fps_num / m_sVenc_cfg.fps_den); in venc_set_profile_level() 1933 if((requested_profile.profile == VEN_PROFILE_MPEG4_SP) && (mb_per_frame >= profile_tbl[0]) && in venc_set_profile_level() 2713 OMX_U32 mb_per_frame, mb_per_sec; in venc_validate_profile_level() local 2859 mb_per_frame = ((m_sVenc_cfg.input_height + 15) >> 4)* in venc_validate_profile_level() 2862 if((mb_per_frame >= 3600) && (m_sVenc_cfg.codectype == VEN_CODEC_MPEG4)) in venc_validate_profile_level() 2875 mb_per_sec = mb_per_frame * m_sVenc_cfg.fps_num / m_sVenc_cfg.fps_den; in venc_validate_profile_level() 2878 if(mb_per_frame <= (int)profile_tbl[0]) in venc_validate_profile_level()
|
D | video_encoder_device_copper.cpp | 1767 unsigned long mb_per_frame = 0, mb_per_sec = 0; in venc_set_profile_level() local 1770 mb_per_frame = ((m_sVenc_cfg.input_height + 15) >> 4)* in venc_set_profile_level() 1816 if(mb_per_frame >= 3600) in venc_set_profile_level() 1846 mb_per_sec = mb_per_frame * (m_sVenc_cfg.fps_num / m_sVenc_cfg.fps_den); in venc_set_profile_level() 1847 …if((requested_profile.profile == V4L2_MPEG_VIDEO_MPEG4_PROFILE_ADVANCED_SIMPLE) && (mb_per_frame >… in venc_set_profile_level() 2791 OMX_U32 mb_per_frame, mb_per_sec; in venc_validate_profile_level() local 2949 mb_per_frame = ((m_sVenc_cfg.input_height + 15) >> 4)* in venc_validate_profile_level() 2952 if((mb_per_frame >= 3600) && (m_sVenc_cfg.codectype == V4L2_PIX_FMT_MPEG4)) in venc_validate_profile_level() 2965 mb_per_sec = mb_per_frame * m_sVenc_cfg.fps_num / m_sVenc_cfg.fps_den; in venc_validate_profile_level() 2968 if(mb_per_frame <= (int)profile_tbl[0]) in venc_validate_profile_level()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device.cpp | 2092 unsigned long mb_per_frame = 0, mb_per_sec = 0; in venc_set_profile_level() local 2095 mb_per_frame = ((m_sVenc_cfg.input_height + 15) >> 4)* in venc_set_profile_level() 2144 if (mb_per_frame >= 3600) { in venc_set_profile_level() 2168 mb_per_sec = mb_per_frame * (m_sVenc_cfg.fps_num / m_sVenc_cfg.fps_den); in venc_set_profile_level() 2170 … if ((requested_profile.profile == VEN_PROFILE_MPEG4_SP) && (mb_per_frame >= profile_tbl[0]) && in venc_set_profile_level() 2911 OMX_U32 mb_per_frame, mb_per_sec; in venc_validate_profile_level() local 3020 mb_per_frame = ((m_sVenc_cfg.input_height + 15) >> 4)* in venc_validate_profile_level() 3023 if ((mb_per_frame >= 3600) && (m_sVenc_cfg.codectype == VEN_CODEC_MPEG4)) { in venc_validate_profile_level() 3037 mb_per_sec = mb_per_frame * m_sVenc_cfg.fps_num / m_sVenc_cfg.fps_den; in venc_validate_profile_level() 3040 if (mb_per_frame <= (int)profile_tbl[0]) { in venc_validate_profile_level()
|
D | video_encoder_device_v4l2.cpp | 4403 unsigned long mb_per_frame = 0; in venc_set_profile_level() local 4406 mb_per_frame = ((m_sVenc_cfg.dvs_height + 15) >> 4)* in venc_set_profile_level() 4446 if (mb_per_frame >= 3600) { in venc_set_profile_level() 6826 OMX_U32 mb_per_frame, mb_per_sec; in venc_validate_profile_level() local 7012 mb_per_frame = ((m_sVenc_cfg.dvs_height + 15) >> 4)* in venc_validate_profile_level() 7015 if ((mb_per_frame >= 3600) && (m_sVenc_cfg.codectype == (unsigned long) V4L2_PIX_FMT_MPEG4)) { in venc_validate_profile_level() 7035 mb_per_sec = mb_per_frame * m_sVenc_cfg.fps_num / m_sVenc_cfg.fps_den; in venc_validate_profile_level() 7038 unsigned int hybridp = 0, maxDpb = profile_tbl[5] / mb_per_frame; in venc_validate_profile_level() 7040 …fo.enabled && ((ltrinfo.count + 2) <= MIN((unsigned int) (profile_tbl[5] / mb_per_frame), MAXDPB)); in venc_validate_profile_level() 7054 if (mb_per_frame <= (unsigned int)profile_tbl[0]) { in venc_validate_profile_level() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device.cpp | 2091 unsigned long mb_per_frame = 0, mb_per_sec = 0; in venc_set_profile_level() local 2094 mb_per_frame = ((m_sVenc_cfg.input_height + 15) >> 4)* in venc_set_profile_level() 2143 if (mb_per_frame >= 3600) { in venc_set_profile_level() 2167 mb_per_sec = mb_per_frame * (m_sVenc_cfg.fps_num / m_sVenc_cfg.fps_den); in venc_set_profile_level() 2169 … if ((requested_profile.profile == VEN_PROFILE_MPEG4_SP) && (mb_per_frame >= profile_tbl[0]) && in venc_set_profile_level() 2910 OMX_U32 mb_per_frame, mb_per_sec; in venc_validate_profile_level() local 3017 mb_per_frame = ((m_sVenc_cfg.input_height + 15) >> 4)* in venc_validate_profile_level() 3020 if ((mb_per_frame >= 3600) && (m_sVenc_cfg.codectype == VEN_CODEC_MPEG4)) { in venc_validate_profile_level() 3034 mb_per_sec = mb_per_frame * m_sVenc_cfg.fps_num / m_sVenc_cfg.fps_den; in venc_validate_profile_level() 3037 if (mb_per_frame <= (int)profile_tbl[0]) { in venc_validate_profile_level()
|
D | video_encoder_device_v4l2.cpp | 3262 unsigned long mb_per_frame = 0; in venc_set_profile_level() local 3265 mb_per_frame = ((m_sVenc_cfg.dvs_height + 15) >> 4)* in venc_set_profile_level() 3300 if (mb_per_frame >= 3600) { in venc_set_profile_level() 5263 OMX_U32 mb_per_frame, mb_per_sec; in venc_validate_profile_level() local 5445 mb_per_frame = ((m_sVenc_cfg.dvs_height + 15) >> 4)* in venc_validate_profile_level() 5448 if ((mb_per_frame >= 3600) && (m_sVenc_cfg.codectype == (unsigned long) V4L2_PIX_FMT_MPEG4)) { in venc_validate_profile_level() 5462 mb_per_sec = mb_per_frame * m_sVenc_cfg.fps_num / m_sVenc_cfg.fps_den; in venc_validate_profile_level() 5465 unsigned int hybridp = 0, maxDpb = profile_tbl[5] / mb_per_frame; in venc_validate_profile_level() 5467 …fo.enabled && ((ltrinfo.count + 2) <= MIN((unsigned int) (profile_tbl[5] / mb_per_frame), MAXDPB)); in venc_validate_profile_level() 5481 if (mb_per_frame <= (unsigned int)profile_tbl[0]) { in venc_validate_profile_level() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
D | venc_test.cpp | 518 OMX_U32 mb_per_sec, mb_per_frame; in ConfigureEncoder() local 593 mb_per_frame = ((m_sProfile.nFrameHeight+15)>>4)* in ConfigureEncoder() 596 mb_per_sec = mb_per_frame*(m_sProfile.nFramerate); in ConfigureEncoder() 599 if(mb_per_frame <= (int)profile_tbl[0]) in ConfigureEncoder()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/ |
D | venc_test.cpp | 557 OMX_U32 mb_per_sec, mb_per_frame; in ConfigureEncoder() local 633 mb_per_frame = ((m_sProfile.nFrameHeight+15)>>4)* in ConfigureEncoder() 636 mb_per_sec = mb_per_frame*(m_sProfile.nFramerate); in ConfigureEncoder() 639 if (mb_per_frame <= (unsigned int)profile_tbl[0]) { in ConfigureEncoder()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 5001 unsigned long mb_per_frame = 0; in venc_set_profile_level() local 5004 mb_per_frame = ((m_sVenc_cfg.dvs_height + 15) >> 4)* in venc_set_profile_level() 5039 if (mb_per_frame >= 3600) { in venc_set_profile_level() 7647 OMX_U32 mb_per_frame, mb_per_sec; in venc_validate_profile_level() local 7830 mb_per_frame = ((m_sVenc_cfg.dvs_height + 15) >> 4)* in venc_validate_profile_level() 7833 if ((mb_per_frame >= 3600) && (m_sVenc_cfg.codectype == (unsigned long) V4L2_PIX_FMT_MPEG4)) { in venc_validate_profile_level() 7852 mb_per_sec = mb_per_frame * m_sVenc_cfg.fps_num / m_sVenc_cfg.fps_den; in venc_validate_profile_level() 7855 unsigned int hybridp = 0, maxDpb = profile_tbl[5] / mb_per_frame; in venc_validate_profile_level() 7857 …fo.enabled && ((ltrinfo.count + 2) <= MIN((unsigned int) (profile_tbl[5] / mb_per_frame), MAXDPB)); in venc_validate_profile_level() 7871 if (mb_per_frame <= (unsigned int)profile_tbl[0]) { in venc_validate_profile_level() [all …]
|