/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | h265parser.c | 319 GstH265ProfileTierLevel ptl; in GST_START_TEST() local 321 memset (&ptl, 0, sizeof (ptl)); in GST_START_TEST() 323 ptl.profile_idc = 1; in GST_START_TEST() 324 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST() 326 ptl.profile_idc = 2; in GST_START_TEST() 327 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST() 329 ptl.profile_idc = 3; in GST_START_TEST() 330 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST() 333 ptl.profile_idc = 42; in GST_START_TEST() 334 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | hevc_ps_enc.c | 25 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, int max_num_sub_layers) in write_ptl() argument [all …]
|
D | h265_profile_level.c | 123 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 …]
|
D | hevc_ps.c | 266 PTLCommon *ptl) in decode_profile_tier_level() argument 273 ptl->profile_space = get_bits(gb, 2); in decode_profile_tier_level() 274 ptl->tier_flag = get_bits1(gb); in decode_profile_tier_level() 275 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() 288 ptl->profile_compatibility_flag[i] = get_bits1(gb); in decode_profile_tier_level() [all …]
|
D | vaapi_encode_h265.c | 249 H265RawProfileTierLevel *ptl = &vps->profile_tier_level; in vaapi_encode_h265_init_sequence_params() local 298 ptl->general_profile_space = 0; in vaapi_encode_h265_init_sequence_params() 299 ptl->general_profile_idc = avctx->profile; in vaapi_encode_h265_init_sequence_params() 300 ptl->general_tier_flag = priv->tier; in vaapi_encode_h265_init_sequence_params() 303 ptl->general_profile_compatibility_flag[1] = bit_depth == 8; in vaapi_encode_h265_init_sequence_params() 304 ptl->general_profile_compatibility_flag[2] = bit_depth <= 10; in vaapi_encode_h265_init_sequence_params() 306 ptl->general_profile_compatibility_flag[4] = 1; in vaapi_encode_h265_init_sequence_params() 308 ptl->general_progressive_source_flag = 1; in vaapi_encode_h265_init_sequence_params() 309 ptl->general_interlaced_source_flag = 0; in vaapi_encode_h265_init_sequence_params() 310 ptl->general_non_packed_constraint_flag = 1; in vaapi_encode_h265_init_sequence_params() [all …]
|
D | h265_profile_level.h | 73 const H265ProfileDescriptor *ff_h265_get_profile(const H265RawProfileTierLevel *ptl); 81 const H265LevelDescriptor *ff_h265_guess_level(const H265RawProfileTierLevel *ptl,
|
D | qsvenc_hevc.c | 111 memcpy(&vps.ptl, &sps.ptl, sizeof(vps.ptl)); in generate_fake_vps()
|
D | h265_metadata_bsf.c | 71 const H265RawProfileTierLevel *ptl = NULL; in h265_metadata_guess_level() local 85 ptl = &vps->profile_tier_level; in h265_metadata_guess_level() 94 ptl = &sps->profile_tier_level; in h265_metadata_guess_level() 125 desc = ff_h265_guess_level(ptl, bit_rate, width, height, in h265_metadata_guess_level()
|
D | hevc_ps.h | 128 PTL ptl; member 179 PTL ptl; member
|
D | vdpau_hevc.c | 474 const PTL *ptl = &sps->ptl; in vdpau_hevc_parse_rext_profile() local 475 const PTLCommon *general_ptl = &ptl->general_ptl; in vdpau_hevc_parse_rext_profile()
|
D | hevc_parser.c | 98 avctx->profile = ps->sps->ptl.general_ptl.profile_idc; in hevc_parse_slice_header() 99 avctx->level = ps->sps->ptl.general_ptl.level_idc; in hevc_parse_slice_header()
|
D | vaapi_hevc.c | 530 const PTL *ptl = &sps->ptl; in ff_vaapi_parse_hevc_rext_profile() local 531 const PTLCommon *general_ptl = &ptl->general_ptl; in ff_vaapi_parse_hevc_rext_profile()
|
D | videotoolbox.c | 189 PTLCommon ptlc = vps->ptl.general_ptl; in ff_videotoolbox_hvcc_extradata_create()
|
D | hevcdec.c | 331 avctx->profile = sps->ptl.general_ptl.profile_idc; in export_stream_params() 332 avctx->level = sps->ptl.general_ptl.level_idc; in export_stream_params()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
D | gsth265parser.c | 314 gst_h265_parse_profile_tier_level (GstH265ProfileTierLevel * ptl, in gst_h265_parse_profile_tier_level() argument 320 READ_UINT8 (nr, ptl->profile_space, 2); in gst_h265_parse_profile_tier_level() 321 READ_UINT8 (nr, ptl->tier_flag, 1); in gst_h265_parse_profile_tier_level() 322 READ_UINT8 (nr, ptl->profile_idc, 5); in gst_h265_parse_profile_tier_level() 325 READ_UINT8 (nr, ptl->profile_compatibility_flag[j], 1); in gst_h265_parse_profile_tier_level() 327 READ_UINT8 (nr, ptl->progressive_source_flag, 1); in gst_h265_parse_profile_tier_level() 328 READ_UINT8 (nr, ptl->interlaced_source_flag, 1); in gst_h265_parse_profile_tier_level() 329 READ_UINT8 (nr, ptl->non_packed_constraint_flag, 1); in gst_h265_parse_profile_tier_level() 330 READ_UINT8 (nr, ptl->frame_only_constraint_flag, 1); in gst_h265_parse_profile_tier_level() 332 READ_UINT8 (nr, ptl->max_12bit_constraint_flag, 1); in gst_h265_parse_profile_tier_level() [all …]
|
D | gsth265parser.h | 1780 GstH265Profile gst_h265_profile_tier_level_get_profile (const GstH265ProfileTierLevel * ptl);
|
/third_party/ffmpeg/libavcodec/tests/ |
D | h265_levels.c | 170 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/ |
D | hevc.c | 73 HVCCProfileTierLevel *ptl) in hvcc_update_ptl() argument 79 hvcc->general_profile_space = ptl->profile_space; in hvcc_update_ptl() 86 if (hvcc->general_tier_flag < ptl->tier_flag) in hvcc_update_ptl() 87 hvcc->general_level_idc = ptl->level_idc; in hvcc_update_ptl() 89 hvcc->general_level_idc = FFMAX(hvcc->general_level_idc, ptl->level_idc); in hvcc_update_ptl() 95 hvcc->general_tier_flag = FFMAX(hvcc->general_tier_flag, ptl->tier_flag); in hvcc_update_ptl() 111 hvcc->general_profile_idc = FFMAX(hvcc->general_profile_idc, ptl->profile_idc); in hvcc_update_ptl() 117 hvcc->general_profile_compatibility_flags &= ptl->profile_compatibility_flags; in hvcc_update_ptl() 123 hvcc->general_constraint_indicator_flags &= ptl->constraint_indicator_flags; in hvcc_update_ptl()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtph265pay.c | 405 guint8 ptl[12] = { 0, }; in gst_rtp_h265_pay_getcaps() local 411 ptl[0] = value; in gst_rtp_h265_pay_getcaps() 412 profile = gst_codec_utils_h265_get_profile (ptl, sizeof (ptl)); in gst_rtp_h265_pay_getcaps() 426 ptl[0] |= value << 5; in gst_rtp_h265_pay_getcaps() 427 tier = gst_codec_utils_h265_get_tier (ptl, sizeof (ptl)); in gst_rtp_h265_pay_getcaps() 437 ptl[11] = value; in gst_rtp_h265_pay_getcaps() 438 level = gst_codec_utils_h265_get_level (ptl, sizeof (ptl)); in gst_rtp_h265_pay_getcaps()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 1783 spinlock_t *ptl; member 3307 spinlock_t *ptl; member 39668 spinlock_t *ptl; member
|
/third_party/libabigail/tests/data/test-read-dwarf/ |
D | PR25007-sdhci.ko.abi | 7866 …<var-decl name='ptl' type-id='type-id-960' visibility='default' filepath='/ws/android/kernel/aosp/… 8407 …<var-decl name='ptl' type-id='type-id-129' visibility='default' filepath='/ws/android/kernel/aosp/…
|
/third_party/libabigail/tests/data/test-diff-filter/ |
D | test-PR27569-v1.abi | 3398 …<var-decl name="ptl" type-id="fb4018a0" visibility="default" filepath="include/linux/mm_types.h" l… 69470 …<var-decl name="ptl" type-id="cff2d845" visibility="default" filepath="include/linux/mm.h" line="3… 73234 …<var-decl name="ptl" type-id="cff2d845" visibility="default" filepath="include/linux/mm.h" line="3…
|
D | test-PR27569-v0.abi | 3398 …<var-decl name="ptl" type-id="fb4018a0" visibility="default" filepath="include/linux/mm_types.h" l… 69456 …<var-decl name="ptl" type-id="cff2d845" visibility="default" filepath="include/linux/mm.h" line="3… 73220 …<var-decl name="ptl" type-id="cff2d845" visibility="default" filepath="include/linux/mm.h" line="3…
|