Lines Matching defs:ptl
263 PTLCommon *ptl)
270 ptl->profile_space = get_bits(gb, 2);
271 ptl->tier_flag = get_bits1(gb);
272 ptl->profile_idc = get_bits(gb, 5);
273 if (ptl->profile_idc == FF_PROFILE_HEVC_MAIN)
275 else if (ptl->profile_idc == FF_PROFILE_HEVC_MAIN_10)
277 else if (ptl->profile_idc == FF_PROFILE_HEVC_MAIN_STILL_PICTURE)
279 else if (ptl->profile_idc == FF_PROFILE_HEVC_REXT)
282 av_log(avctx, AV_LOG_WARNING, "Unknown HEVC profile: %d\n", ptl->profile_idc);
285 ptl->profile_compatibility_flag[i] = get_bits1(gb);
287 if (ptl->profile_idc == 0 && i > 0 && ptl->profile_compatibility_flag[i])
288 ptl->profile_idc = i;
290 ptl->progressive_source_flag = get_bits1(gb);
291 ptl->interlaced_source_flag = get_bits1(gb);
292 ptl->non_packed_constraint_flag = get_bits1(gb);
293 ptl->frame_only_constraint_flag = get_bits1(gb);
296 ptl->profile_idc == idc || ptl->profile_compatibility_flag[idc]
302 ptl->max_12bit_constraint_flag = get_bits1(gb);
303 ptl->max_10bit_constraint_flag = get_bits1(gb);
304 ptl->max_8bit_constraint_flag = get_bits1(gb);
305 ptl->max_422chroma_constraint_flag = get_bits1(gb);
306 ptl->max_420chroma_constraint_flag = get_bits1(gb);
307 ptl->max_monochrome_constraint_flag = get_bits1(gb);
308 ptl->intra_constraint_flag = get_bits1(gb);
309 ptl->one_picture_only_constraint_flag = get_bits1(gb);
310 ptl->lower_bit_rate_constraint_flag = get_bits1(gb);
313 ptl->max_14bit_constraint_flag = get_bits1(gb);
320 ptl->one_picture_only_constraint_flag = get_bits1(gb);
328 ptl->inbld_flag = get_bits1(gb);
337 PTL *ptl, int max_num_sub_layers)
340 if (decode_profile_tier_level(gb, avctx, &ptl->general_ptl) < 0 ||
346 ptl->general_ptl.level_idc = get_bits(gb, 8);
349 ptl->sub_layer_profile_present_flag[i] = get_bits1(gb);
350 ptl->sub_layer_level_present_flag[i] = get_bits1(gb);
357 if (ptl->sub_layer_profile_present_flag[i] &&
358 decode_profile_tier_level(gb, avctx, &ptl->sub_layer_ptl[i]) < 0) {
363 if (ptl->sub_layer_level_present_flag[i]) {
369 ptl->sub_layer_ptl[i].level_idc = get_bits(gb, 8);
503 if (parse_ptl(gb, avctx, &vps->ptl, vps->vps_max_sub_layers) < 0)
933 if ((ret = parse_ptl(gb, avctx, &sps->ptl, sps->max_sub_layers)) < 0)
1718 if (sps->ptl.general_ptl.profile_idc == FF_PROFILE_HEVC_REXT && pps->pps_range_extensions_flag) {