Home
last modified time | relevance | path

Searched refs:profile_idc (Results 1 - 25 of 43) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
H A Dh264_levels.c53 int profile_idc; member
68 static int h264_get_br_factor(int profile_idc) in h264_get_br_factor() argument
72 if (h264_br_factors[i].profile_idc == profile_idc) in h264_get_br_factor()
79 const H264LevelDescriptor *ff_h264_guess_level(int profile_idc, in ff_h264_guess_level() argument
87 int no_cs3f = !(profile_idc == 66 || in ff_h264_guess_level()
88 profile_idc == 77 || in ff_h264_guess_level()
89 profile_idc == 88); in ff_h264_guess_level()
98 if (bitrate > (int64_t)level->max_br * h264_get_br_factor(profile_idc)) in ff_h264_guess_level()
H A Dh264_ps.c336 int profile_idc, level_idc, constraint_set_flags = 0; in ff_h264_decode_seq_parameter_set() local
358 profile_idc = get_bits(gb, 8); in ff_h264_decode_seq_parameter_set()
376 sps->profile_idc = profile_idc; in ff_h264_decode_seq_parameter_set()
386 if (sps->profile_idc == 100 || // High profile in ff_h264_decode_seq_parameter_set()
387 sps->profile_idc == 110 || // High10 profile in ff_h264_decode_seq_parameter_set()
388 sps->profile_idc == 122 || // High422 profile in ff_h264_decode_seq_parameter_set()
389 sps->profile_idc == 244 || // High444 Predictive profile in ff_h264_decode_seq_parameter_set()
390 sps->profile_idc == 44 || // Cavlc444 profile in ff_h264_decode_seq_parameter_set()
391 sps->profile_idc in ff_h264_decode_seq_parameter_set()
726 int profile_idc = sps->profile_idc; more_rbsp_data_in_pps() local
[all...]
H A Dcbs_h264_syntax_template.c205 if ((sps->profile_idc == 44 || sps->profile_idc == 86 || in vui_parameters()
206 sps->profile_idc == 100 || sps->profile_idc == 110 || in vui_parameters()
207 sps->profile_idc == 122 || sps->profile_idc == 244) && in vui_parameters()
246 if ((sps->profile_idc == 44 || sps->profile_idc == 86 || in vui_parameters_default()
247 sps->profile_idc == 100 || sps->profile_idc in vui_parameters_default()
[all...]
H A Dh265_profile_level.c43 // profile_idc 8bit one-picture
134 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()
H A Dh264_levels.h44 const H264LevelDescriptor *ff_h264_guess_level(int profile_idc,
H A Dvaapi_encode_h264.c299 sps->profile_idc = avctx->profile & 0xff; in vaapi_encode_h264_init_sequence_params()
330 level = ff_h264_guess_level(sps->profile_idc, in vaapi_encode_h264_init_sequence_params()
494 !(sps->profile_idc == FF_PROFILE_H264_BASELINE || in vaapi_encode_h264_init_sequence_params()
495 sps->profile_idc == FF_PROFILE_H264_EXTENDED || in vaapi_encode_h264_init_sequence_params()
496 sps->profile_idc == FF_PROFILE_H264_CAVLC_444); in vaapi_encode_h264_init_sequence_params()
505 if (sps->profile_idc == FF_PROFILE_H264_BASELINE || in vaapi_encode_h264_init_sequence_params()
506 sps->profile_idc == FF_PROFILE_H264_EXTENDED || in vaapi_encode_h264_init_sequence_params()
507 sps->profile_idc == FF_PROFILE_H264_MAIN) { in vaapi_encode_h264_init_sequence_params()
1267 { "profile", "Set profile (profile_idc and constraint_set*_flag)",
H A Dh265_profile_level.h49 uint8_t profile_idc; member
H A Dh264_metadata_bsf.c298 desc = ff_h264_guess_level(sps->profile_idc, bit_rate, framerate, in h264_metadata_update_sps()
312 if (sps->profile_idc == 66 || in h264_metadata_update_sps()
313 sps->profile_idc == 77 || in h264_metadata_update_sps()
314 sps->profile_idc == 88) { in h264_metadata_update_sps()
H A Dhevc_ps.c272 ptl->profile_idc = get_bits(gb, 5); in decode_profile_tier_level()
273 if (ptl->profile_idc == FF_PROFILE_HEVC_MAIN) in decode_profile_tier_level()
275 else if (ptl->profile_idc == FF_PROFILE_HEVC_MAIN_10) in decode_profile_tier_level()
277 else if (ptl->profile_idc == FF_PROFILE_HEVC_MAIN_STILL_PICTURE) in decode_profile_tier_level()
279 else if (ptl->profile_idc == FF_PROFILE_HEVC_REXT) in decode_profile_tier_level()
282 av_log(avctx, AV_LOG_WARNING, "Unknown HEVC profile: %d\n", ptl->profile_idc); in decode_profile_tier_level()
287 if (ptl->profile_idc == 0 && i > 0 && ptl->profile_compatibility_flag[i]) in decode_profile_tier_level()
288 ptl->profile_idc = i; in decode_profile_tier_level()
296 ptl->profile_idc == idc || ptl->profile_compatibility_flag[idc] in decode_profile_tier_level()
1718 if (sps->ptl.general_ptl.profile_idc in ff_hevc_decode_nal_pps()
[all...]
H A Dh264_ps.h46 int profile_idc; member
H A Dhevc_ps_enc.c31 put_bits(pb, 5, ptl->profile_idc); in write_ptl_layer()
H A Dh264_parse.c525 * Compute profile from profile_idc and constraint_set?_flags.
533 int profile = sps->profile_idc; in ff_h264_get_profile()
535 switch (sps->profile_idc) { in ff_h264_get_profile()
H A Dhevc_ps.h95 uint8_t profile_idc; member
/third_party/ffmpeg/libavformat/
H A Davc.c387 sps->profile_idc = get_bits(&gb, 8); in ff_avc_decode_sps()
398 if (sps->profile_idc == 100 || sps->profile_idc == 110 || in ff_avc_decode_sps()
399 sps->profile_idc == 122 || sps->profile_idc == 244 || sps->profile_idc == 44 || in ff_avc_decode_sps()
400 sps->profile_idc == 83 || sps->profile_idc == 86 || sps->profile_idc == 118 || in ff_avc_decode_sps()
401 sps->profile_idc in ff_avc_decode_sps()
[all...]
H A 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()
H A Davc.h71 uint8_t profile_idc; member
H A Dhevc.c65 uint8_t profile_idc; member
110 hvcc->general_profile_idc = FFMAX(hvcc->general_profile_idc, ptl->profile_idc); in hvcc_update_ptl()
136 general_ptl.profile_idc = get_bits(gb, 5); in hvcc_parse_ptl()
/third_party/ffmpeg/libavcodec/tests/
H A 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/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_video_encoder_nalu_writer_h264.cpp50 pBitstream->put_bits(8, pSPS->profile_idc); in write_sps_bytes()
64 assert((pSPS->profile_idc == H264_PROFILE_MAIN) || (pSPS->profile_idc == H264_PROFILE_HIGH) || in write_sps_bytes()
65 (pSPS->profile_idc == H264_PROFILE_HIGH10)); in write_sps_bytes()
67 if ((pSPS->profile_idc == H264_PROFILE_HIGH) || (pSPS->profile_idc == H264_PROFILE_HIGH10)) { in write_sps_bytes()
H A Dd3d12_video_encoder_bitstream_builder_h264.cpp65 H264_SPEC_PROFILES profile_idc = Convert12ToSpecH264Profiles(profile); in build_sps() local
107 H264_SPS spsStructure = { static_cast<uint32_t>(profile_idc), in build_sps()
238 debug_printf("profile_idc: %d\n", sps.profile_idc); in print_sps()
H A Dd3d12_video_encoder_nalu_writer_h264.h60 uint32_t profile_idc; member
/third_party/mesa3d/src/gallium/frontends/omx/
H A 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 in seq_parameter_set()
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeon_vcn_enc_1_2.c181 RADEON_ENC_CS(enc->enc_pic.spec_misc.profile_idc); in radeon_enc_spec_misc()
277 radeon_enc_code_fixed_bits(enc, enc->enc_pic.spec_misc.profile_idc, 8); in radeon_enc_nalu_sps()
282 if (enc->enc_pic.spec_misc.profile_idc == 100 || enc->enc_pic.spec_misc.profile_idc == 110 || in radeon_enc_nalu_sps()
283 enc->enc_pic.spec_misc.profile_idc == 122 || enc->enc_pic.spec_misc.profile_idc == 244 || in radeon_enc_nalu_sps()
284 enc->enc_pic.spec_misc.profile_idc == 44 || enc->enc_pic.spec_misc.profile_idc == 83 || in radeon_enc_nalu_sps()
285 enc->enc_pic.spec_misc.profile_idc == 86 || enc->enc_pic.spec_misc.profile_idc in radeon_enc_nalu_sps()
[all...]
H A Dradeon_vcn_enc.c104 enc->enc_pic.spec_misc.profile_idc = u_get_h264_profile_idc(enc->base.profile); in radeon_vcn_enc_get_param()
105 if (enc->enc_pic.spec_misc.profile_idc >= PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN && in radeon_vcn_enc_get_param()
106 enc->enc_pic.spec_misc.profile_idc != PIPE_VIDEO_PROFILE_MPEG4_AVC_EXTENDED) in radeon_vcn_enc_get_param()
/third_party/mesa3d/include/vk_video/
H A Dvulkan_video_codec_h264std.h252 StdVideoH264ProfileIdc profile_idc; member

Completed in 20 milliseconds

12