Home
last modified time | relevance | path

Searched refs:ptl (Results 1 - 16 of 16) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dhevc_ps_enc.c25 static void write_ptl_layer(PutBitContext *pb, PTLCommon *ptl) in write_ptl_layer() argument
29 put_bits(pb, 2, ptl->profile_space); in write_ptl_layer()
30 put_bits(pb, 1, ptl->tier_flag); in write_ptl_layer()
31 put_bits(pb, 5, ptl->profile_idc); in write_ptl_layer()
33 put_bits(pb, 1, ptl->profile_compatibility_flag[i]); in write_ptl_layer()
34 put_bits(pb, 1, ptl->progressive_source_flag); in write_ptl_layer()
35 put_bits(pb, 1, ptl->interlaced_source_flag); in write_ptl_layer()
36 put_bits(pb, 1, ptl->non_packed_constraint_flag); in write_ptl_layer()
37 put_bits(pb, 1, ptl->frame_only_constraint_flag); in write_ptl_layer()
42 static void write_ptl(PutBitContext *pb, PTL *ptl, in argument
[all...]
H A Dh265_profile_level.c123 const H265ProfileDescriptor *ff_h265_get_profile(const H265RawProfileTierLevel *ptl) in ff_h265_get_profile() argument
127 if (ptl->general_profile_space) in ff_h265_get_profile()
133 if (ptl->general_profile_idc && in ff_h265_get_profile()
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()
141 if (profile->name != ptl->general_ ## name ## _constraint_flag) \ in ff_h265_get_profile()
162 const H265LevelDescriptor *ff_h265_guess_level(const H265RawProfileTierLevel *ptl, in ff_h265_guess_level() argument
173 if (ptl) in ff_h265_guess_level()
174 profile = ff_h265_get_profile(ptl); in ff_h265_guess_level()
184 if (ptl) { in ff_h265_guess_level()
[all...]
H A Dhevc_ps.c263 PTLCommon *ptl) in decode_profile_tier_level()
270 ptl->profile_space = get_bits(gb, 2); in decode_profile_tier_level()
271 ptl->tier_flag = get_bits1(gb); in decode_profile_tier_level()
272 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()
285 ptl in decode_profile_tier_level()
262 decode_profile_tier_level(GetBitContext *gb, AVCodecContext *avctx, PTLCommon *ptl) decode_profile_tier_level() argument
336 parse_ptl(GetBitContext *gb, AVCodecContext *avctx, PTL *ptl, int max_num_sub_layers) parse_ptl() argument
[all...]
H A Dvaapi_encode_h265.c256 H265RawProfileTierLevel *ptl = &vps->profile_tier_level; in vaapi_encode_h265_init_sequence_params() local
305 ptl->general_profile_space = 0; in vaapi_encode_h265_init_sequence_params()
306 ptl->general_profile_idc = avctx->profile; in vaapi_encode_h265_init_sequence_params()
307 ptl->general_tier_flag = priv->tier; in vaapi_encode_h265_init_sequence_params()
309 ptl->general_profile_compatibility_flag[ptl->general_profile_idc] = 1; in vaapi_encode_h265_init_sequence_params()
311 if (ptl->general_profile_compatibility_flag[1]) in vaapi_encode_h265_init_sequence_params()
312 ptl->general_profile_compatibility_flag[2] = 1; in vaapi_encode_h265_init_sequence_params()
313 if (ptl->general_profile_compatibility_flag[3]) { in vaapi_encode_h265_init_sequence_params()
314 ptl in vaapi_encode_h265_init_sequence_params()
[all...]
H A Dh265_profile_level.h73 const H265ProfileDescriptor *ff_h265_get_profile(const H265RawProfileTierLevel *ptl);
81 const H265LevelDescriptor *ff_h265_guess_level(const H265RawProfileTierLevel *ptl,
H A Dqsvenc_hevc.c111 memcpy(&vps.ptl, &sps.ptl, sizeof(vps.ptl)); in generate_fake_vps()
H A Dh265_metadata_bsf.c72 const H265RawProfileTierLevel *ptl = NULL; in h265_metadata_guess_level() local
86 ptl = &vps->profile_tier_level; in h265_metadata_guess_level()
95 ptl = &sps->profile_tier_level; in h265_metadata_guess_level()
126 desc = ff_h265_guess_level(ptl, bit_rate, width, height, in h265_metadata_guess_level()
H A Dhevc_ps.h128 PTL ptl; member
179 PTL ptl; member
H A Dvdpau_hevc.c473 const PTL *ptl = &sps->ptl; in vdpau_hevc_parse_rext_profile() local
474 const PTLCommon *general_ptl = &ptl->general_ptl; in vdpau_hevc_parse_rext_profile()
H A Dhevc_parser.c97 avctx->profile = ps->sps->ptl.general_ptl.profile_idc; in hevc_parse_slice_header()
98 avctx->level = ps->sps->ptl.general_ptl.level_idc; in hevc_parse_slice_header()
H A Dmediacodecdec.c246 avctx->profile = sps->ptl.general_ptl.profile_idc; in hevc_set_extradata()
247 avctx->level = sps->ptl.general_ptl.level_idc; in hevc_set_extradata()
H A Dvaapi_hevc.c553 const PTL *ptl = &sps->ptl; in ff_vaapi_parse_hevc_rext_profile() local
554 const PTLCommon *general_ptl = &ptl->general_ptl; in ff_vaapi_parse_hevc_rext_profile()
H A Dvideotoolbox.c237 PTLCommon ptlc = vps->ptl.general_ptl; in ff_videotoolbox_hvcc_extradata_create()
H A Dhevcdec.c338 avctx->profile = sps->ptl.general_ptl.profile_idc; in export_stream_params()
339 avctx->level = sps->ptl.general_ptl.level_idc; in export_stream_params()
/third_party/ffmpeg/libavcodec/tests/
H A Dh265_levels.c170 const H265RawProfileTierLevel *ptl; member
278 profile = ff_h265_get_profile(test_bitrate[i].ptl); in main()
279 level = ff_h265_guess_level(test_bitrate[i].ptl, in main()
/third_party/ffmpeg/libavformat/
H A Dhevc.c72 HVCCProfileTierLevel *ptl) in hvcc_update_ptl()
78 hvcc->general_profile_space = ptl->profile_space; in hvcc_update_ptl()
85 if (hvcc->general_tier_flag < ptl->tier_flag) in hvcc_update_ptl()
86 hvcc->general_level_idc = ptl->level_idc; in hvcc_update_ptl()
88 hvcc->general_level_idc = FFMAX(hvcc->general_level_idc, ptl->level_idc); in hvcc_update_ptl()
94 hvcc->general_tier_flag = FFMAX(hvcc->general_tier_flag, ptl->tier_flag); in hvcc_update_ptl()
110 hvcc->general_profile_idc = FFMAX(hvcc->general_profile_idc, ptl->profile_idc); in hvcc_update_ptl()
116 hvcc->general_profile_compatibility_flags &= ptl->profile_compatibility_flags; in hvcc_update_ptl()
122 hvcc->general_constraint_indicator_flags &= ptl->constraint_indicator_flags; in hvcc_update_ptl()
71 hvcc_update_ptl(HEVCDecoderConfigurationRecord *hvcc, HVCCProfileTierLevel *ptl) hvcc_update_ptl() argument

Completed in 18 milliseconds