Lines Matching defs:ptl

256     H265RawProfileTierLevel           *ptl = &vps->profile_tier_level;
305 ptl->general_profile_space = 0;
306 ptl->general_profile_idc = avctx->profile;
307 ptl->general_tier_flag = priv->tier;
309 ptl->general_profile_compatibility_flag[ptl->general_profile_idc] = 1;
311 if (ptl->general_profile_compatibility_flag[1])
312 ptl->general_profile_compatibility_flag[2] = 1;
313 if (ptl->general_profile_compatibility_flag[3]) {
314 ptl->general_profile_compatibility_flag[1] = 1;
315 ptl->general_profile_compatibility_flag[2] = 1;
318 ptl->general_progressive_source_flag = 1;
319 ptl->general_interlaced_source_flag = 0;
320 ptl->general_non_packed_constraint_flag = 1;
321 ptl->general_frame_only_constraint_flag = 1;
323 ptl->general_max_14bit_constraint_flag = bit_depth <= 14;
324 ptl->general_max_12bit_constraint_flag = bit_depth <= 12;
325 ptl->general_max_10bit_constraint_flag = bit_depth <= 10;
326 ptl->general_max_8bit_constraint_flag = bit_depth == 8;
328 ptl->general_max_422chroma_constraint_flag = chroma_format <= 2;
329 ptl->general_max_420chroma_constraint_flag = chroma_format <= 1;
330 ptl->general_max_monochrome_constraint_flag = chroma_format == 0;
332 ptl->general_intra_constraint_flag = ctx->gop_size == 1;
333 ptl->general_one_picture_only_constraint_flag = 0;
335 ptl->general_lower_bit_rate_constraint_flag = 1;
338 ptl->general_level_idc = avctx->level;
342 level = ff_h265_guess_level(ptl, avctx->bit_rate,
348 ptl->general_level_idc = level->level_idc;
352 ptl->general_level_idc = 255;
354 ptl->general_tier_flag = 1;