Home
last modified time | relevance | path

Searched refs:profile_idc (Results 1 – 25 of 63) sorted by relevance

123

/third_party/ffmpeg/libavcodec/
Dh264_levels.c52 int profile_idc; member
67 static int h264_get_br_factor(int profile_idc) in h264_get_br_factor() argument
71 if (h264_br_factors[i].profile_idc == profile_idc) in h264_get_br_factor()
78 const H264LevelDescriptor *ff_h264_guess_level(int profile_idc, in ff_h264_guess_level() argument
86 int no_cs3f = !(profile_idc == 66 || in ff_h264_guess_level()
87 profile_idc == 77 || in ff_h264_guess_level()
88 profile_idc == 88); in ff_h264_guess_level()
97 if (bitrate > (int64_t)level->max_br * h264_get_br_factor(profile_idc)) in ff_h264_guess_level()
Dcbs_h264_syntax_template.c205 if ((sps->profile_idc == 44 || sps->profile_idc == 86 || in FUNC()
206 sps->profile_idc == 100 || sps->profile_idc == 110 || in FUNC()
207 sps->profile_idc == 122 || sps->profile_idc == 244) && in FUNC()
246 if ((sps->profile_idc == 44 || sps->profile_idc == 86 || in FUNC()
247 sps->profile_idc == 100 || sps->profile_idc == 110 || in FUNC()
248 sps->profile_idc == 122 || sps->profile_idc == 244) && in FUNC()
270 ub(8, profile_idc); in FUNC()
285 if (current->profile_idc == 100 || current->profile_idc == 110 || in FUNC()
286 current->profile_idc == 122 || current->profile_idc == 244 || in FUNC()
287 current->profile_idc == 44 || current->profile_idc == 83 || in FUNC()
[all …]
Dh264_ps.c337 int profile_idc, level_idc, constraint_set_flags = 0; in ff_h264_decode_seq_parameter_set() local
355 profile_idc = get_bits(gb, 8); in ff_h264_decode_seq_parameter_set()
373 sps->profile_idc = profile_idc; in ff_h264_decode_seq_parameter_set()
383 if (sps->profile_idc == 100 || // High profile in ff_h264_decode_seq_parameter_set()
384 sps->profile_idc == 110 || // High10 profile in ff_h264_decode_seq_parameter_set()
385 sps->profile_idc == 122 || // High422 profile in ff_h264_decode_seq_parameter_set()
386 sps->profile_idc == 244 || // High444 Predictive profile in ff_h264_decode_seq_parameter_set()
387 sps->profile_idc == 44 || // Cavlc444 profile in ff_h264_decode_seq_parameter_set()
388 sps->profile_idc == 83 || // Scalable Constrained High profile (SVC) in ff_h264_decode_seq_parameter_set()
389 sps->profile_idc == 86 || // Scalable High Intra profile (SVC) in ff_h264_decode_seq_parameter_set()
[all …]
Dh265_profile_level.c134 ptl->general_profile_idc != profile->profile_idc) in ff_h265_get_profile()
136 if (!ptl->general_profile_compatibility_flag[profile->profile_idc]) in ff_h265_get_profile()
191 if (profile->profile_idc == 1 || profile->profile_idc == 2) { in ff_h265_guess_level()
Dh264_levels.h44 const H264LevelDescriptor *ff_h264_guess_level(int profile_idc,
Dh265_profile_level.h49 uint8_t profile_idc; member
Dvaapi_encode_h264.c298 sps->profile_idc = avctx->profile & 0xff; in vaapi_encode_h264_init_sequence_params()
329 level = ff_h264_guess_level(sps->profile_idc, in vaapi_encode_h264_init_sequence_params()
493 !(sps->profile_idc == FF_PROFILE_H264_BASELINE || in vaapi_encode_h264_init_sequence_params()
494 sps->profile_idc == FF_PROFILE_H264_EXTENDED || in vaapi_encode_h264_init_sequence_params()
495 sps->profile_idc == FF_PROFILE_H264_CAVLC_444); in vaapi_encode_h264_init_sequence_params()
504 if (sps->profile_idc == FF_PROFILE_H264_BASELINE || in vaapi_encode_h264_init_sequence_params()
505 sps->profile_idc == FF_PROFILE_H264_EXTENDED || in vaapi_encode_h264_init_sequence_params()
506 sps->profile_idc == FF_PROFILE_H264_MAIN) { in vaapi_encode_h264_init_sequence_params()
Dh264_metadata_bsf.c292 desc = ff_h264_guess_level(sps->profile_idc, bit_rate, framerate, in h264_metadata_update_sps()
306 if (sps->profile_idc == 66 || in h264_metadata_update_sps()
307 sps->profile_idc == 77 || in h264_metadata_update_sps()
308 sps->profile_idc == 88) { in h264_metadata_update_sps()
Dh264_ps.h46 int profile_idc; member
Dhevc_ps.c275 ptl->profile_idc = get_bits(gb, 5); in decode_profile_tier_level()
276 if (ptl->profile_idc == FF_PROFILE_HEVC_MAIN) in decode_profile_tier_level()
278 else if (ptl->profile_idc == FF_PROFILE_HEVC_MAIN_10) in decode_profile_tier_level()
280 else if (ptl->profile_idc == FF_PROFILE_HEVC_MAIN_STILL_PICTURE) in decode_profile_tier_level()
282 else if (ptl->profile_idc == FF_PROFILE_HEVC_REXT) in decode_profile_tier_level()
285 av_log(avctx, AV_LOG_WARNING, "Unknown HEVC profile: %d\n", ptl->profile_idc); in decode_profile_tier_level()
290 if (ptl->profile_idc == 0 && i > 0 && ptl->profile_compatibility_flag[i]) in decode_profile_tier_level()
291 ptl->profile_idc = i; in decode_profile_tier_level()
299 ptl->profile_idc == idc || ptl->profile_compatibility_flag[idc] in decode_profile_tier_level()
1721 … if (sps->ptl.general_ptl.profile_idc == FF_PROFILE_HEVC_REXT && pps->pps_range_extensions_flag) { in ff_hevc_decode_nal_pps()
/third_party/ffmpeg/libavformat/
Davc.c353 sps->profile_idc = get_bits(&gb, 8); in ff_avc_decode_sps()
364 if (sps->profile_idc == 100 || sps->profile_idc == 110 || in ff_avc_decode_sps()
365 sps->profile_idc == 122 || sps->profile_idc == 244 || sps->profile_idc == 44 || in ff_avc_decode_sps()
366 sps->profile_idc == 83 || sps->profile_idc == 86 || sps->profile_idc == 118 || in ff_avc_decode_sps()
367 sps->profile_idc == 128 || sps->profile_idc == 138 || sps->profile_idc == 139 || in ff_avc_decode_sps()
368 sps->profile_idc == 134) { in ff_avc_decode_sps()
Drtpdec_h264.c47 uint8_t profile_idc; member
73 uint8_t profile_idc; in parse_profile_level_id() local
80 profile_idc = strtol(buffer, NULL, 16); in parse_profile_level_id()
90 profile_idc, profile_iop, level_idc); in parse_profile_level_id()
91 h264_data->profile_idc = profile_idc; in parse_profile_level_id()
Davc.h41 uint8_t profile_idc; member
/third_party/ffmpeg/libavcodec/tests/
Dh264_levels.c132 int profile_idc; member
155 int profile_idc; member
217 level = ff_h264_guess_level(test_bitrate[i].profile_idc, in main()
221 test_bitrate[i].bitrate, test_bitrate[i].profile_idc); in main()
225 level = ff_h264_guess_level(test_all[i].profile_idc, in main()
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dh265parser.c323 ptl.profile_idc = 1; in GST_START_TEST()
326 ptl.profile_idc = 2; in GST_START_TEST()
329 ptl.profile_idc = 3; in GST_START_TEST()
333 ptl.profile_idc = 42; in GST_START_TEST()
361 ptl.profile_idc = 42; in GST_START_TEST()
408 ptl.profile_idc = 4; in GST_START_TEST()
523 ptl.profile_idc = 5; in GST_START_TEST()
537 ptl.profile_idc = 6; in GST_START_TEST()
542 ptl.profile_idc = 7; in GST_START_TEST()
547 ptl.profile_idc = 8; in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dcodec-utils.c1212 gint profile_idc; in gst_codec_utils_h265_get_profile() local
1224 profile_idc = (profile_tier_level[0] & 0x1f); in gst_codec_utils_h265_get_profile()
1226 if (profile_idc == 1) in gst_codec_utils_h265_get_profile()
1228 else if (profile_idc == 2) in gst_codec_utils_h265_get_profile()
1230 else if (profile_idc == 3) in gst_codec_utils_h265_get_profile()
1256 if (profile_idc >= 4 && profile_idc <= 11 && len >= 11) { in gst_codec_utils_h265_get_profile()
1324 if (profile_idc == 5 || profile_idc == 9 || in gst_codec_utils_h265_get_profile()
1325 profile_idc == 10 || profile_idc == 11 || in gst_codec_utils_h265_get_profile()
1334 if (profile_idc == 4 || profile_compatibility_flags[4]) in gst_codec_utils_h265_get_profile()
1337 if (profile_idc == 5 || profile_compatibility_flags[5]) in gst_codec_utils_h265_get_profile()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/linux/
Dv4l2-controls.h1279 ((sps)->profile_idc == 100 || (sps)->profile_idc == 110 || \
1280 (sps)->profile_idc == 122 || (sps)->profile_idc == 244 || \
1281 (sps)->profile_idc == 44 || (sps)->profile_idc == 83 || \
1282 (sps)->profile_idc == 86 || (sps)->profile_idc == 118 || \
1283 (sps)->profile_idc == 128 || (sps)->profile_idc == 138 || \
1284 (sps)->profile_idc == 139 || (sps)->profile_idc == 134 || \
1285 (sps)->profile_idc == 135)
1314 __u8 profile_idc; member
/third_party/gstreamer/gstplugins_good/sys/v4l2/ext/
Dv4l2-controls.h1279 ((sps)->profile_idc == 100 || (sps)->profile_idc == 110 || \
1280 (sps)->profile_idc == 122 || (sps)->profile_idc == 244 || \
1281 (sps)->profile_idc == 44 || (sps)->profile_idc == 83 || \
1282 (sps)->profile_idc == 86 || (sps)->profile_idc == 118 || \
1283 (sps)->profile_idc == 128 || (sps)->profile_idc == 138 || \
1284 (sps)->profile_idc == 139 || (sps)->profile_idc == 134 || \
1285 (sps)->profile_idc == 135)
1314 __u8 profile_idc; member
/third_party/mesa3d/src/gallium/frontends/omx/
Dvid_dec_h264_common.c201 unsigned profile_idc, level_idc; in seq_parameter_set() local
205 profile_idc = vl_rbsp_u(rbsp, 8); in seq_parameter_set()
241 if (profile_idc == 100 || profile_idc == 110 || profile_idc == 122 || profile_idc == 244 || in seq_parameter_set()
242 profile_idc == 44 || profile_idc == 83 || profile_idc == 86 || profile_idc == 118 || in seq_parameter_set()
243 profile_idc == 128 || profile_idc == 138) { in seq_parameter_set()
276 } else if (profile_idc == 183) in seq_parameter_set()
/third_party/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_enc_1_2.c191 enc->enc_pic.spec_misc.profile_idc = u_get_h264_profile_idc(enc->base.profile); in radeon_enc_spec_misc()
200 RADEON_ENC_CS(enc->enc_pic.spec_misc.profile_idc); in radeon_enc_spec_misc()
294 radeon_enc_code_fixed_bits(enc, enc->enc_pic.spec_misc.profile_idc, 8); in radeon_enc_nalu_sps()
299 if (enc->enc_pic.spec_misc.profile_idc == 100 || enc->enc_pic.spec_misc.profile_idc == 110 || in radeon_enc_nalu_sps()
300 enc->enc_pic.spec_misc.profile_idc == 122 || enc->enc_pic.spec_misc.profile_idc == 244 || in radeon_enc_nalu_sps()
301 enc->enc_pic.spec_misc.profile_idc == 44 || enc->enc_pic.spec_misc.profile_idc == 83 || in radeon_enc_nalu_sps()
302 enc->enc_pic.spec_misc.profile_idc == 86 || enc->enc_pic.spec_misc.profile_idc == 118 || in radeon_enc_nalu_sps()
303 enc->enc_pic.spec_misc.profile_idc == 128 || enc->enc_pic.spec_misc.profile_idc == 138) { in radeon_enc_nalu_sps()
Dradeon_vcn_enc_3_0.c48 enc->enc_pic.spec_misc.profile_idc = u_get_h264_profile_idc(enc->base.profile); in radeon_enc_spec_misc()
59 RADEON_ENC_CS(enc->enc_pic.spec_misc.profile_idc); in radeon_enc_spec_misc()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgsth264parser.c1679 READ_UINT8 (nr, sps->profile_idc, 8); in gst_h264_parse_sps_data()
1695 if (sps->profile_idc == 100 || sps->profile_idc == 110 || in gst_h264_parse_sps_data()
1696 sps->profile_idc == 122 || sps->profile_idc == 244 || in gst_h264_parse_sps_data()
1697 sps->profile_idc == 44 || sps->profile_idc == 83 || in gst_h264_parse_sps_data()
1698 sps->profile_idc == 86 || sps->profile_idc == 118 || in gst_h264_parse_sps_data()
1699 sps->profile_idc == 128 || sps->profile_idc == 138 || in gst_h264_parse_sps_data()
1700 sps->profile_idc == 139 || sps->profile_idc == 134 || in gst_h264_parse_sps_data()
1701 sps->profile_idc == 135) { in gst_h264_parse_sps_data()
2014 if (sps->profile_idc == GST_H264_PROFILE_MULTIVIEW_HIGH || in gst_h264_parse_subset_sps()
2015 sps->profile_idc == GST_H264_PROFILE_STEREO_HIGH) { in gst_h264_parse_subset_sps()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvah264dec.c588 GstH264Profile profile_idc; member
615 if (profile_map[j].profile_idc == sps->profile_idc) { in _get_profile()
621 switch (sps->profile_idc) { in _get_profile()
659 GST_ERROR_OBJECT (self, "Unsupported profile: %d", sps->profile_idc); in _get_profile()
/third_party/openh264/testbin/
Dlayer2.cfg11 ProfileIdc 66 # value of profile_idc (or 0 for auto detection)
Dlayer2_vd_rc.cfg11 ProfileIdc 66 # value of profile_idc (or 0 for auto detection)

123