Home
last modified time | relevance | path

Searched refs:hrd (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh265_metadata_bsf.c72 const H265RawHRDParameters *hrd = NULL; in h265_metadata_guess_level() local
89 hrd = &vps->hrd_parameters[0]; in h265_metadata_guess_level()
101 hrd = &sps->vui.hrd_parameters; in h265_metadata_guess_level()
113 if (hrd) { in h265_metadata_guess_level()
114 if (hrd->nal_hrd_parameters_present_flag) { in h265_metadata_guess_level()
115 bit_rate = (hrd->nal_sub_layer_hrd_parameters[0].bit_rate_value_minus1[0] + 1) * in h265_metadata_guess_level()
116 (INT64_C(1) << hrd->bit_rate_scale + 6); in h265_metadata_guess_level()
117 } else if (hrd->vcl_hrd_parameters_present_flag) { in h265_metadata_guess_level()
118 bit_rate = (hrd->vcl_sub_layer_hrd_parameters[0].bit_rate_value_minus1[0] + 1) * in h265_metadata_guess_level()
119 (INT64_C(1) << hrd->bit_rate_scale + 6); in h265_metadata_guess_level()
Dcbs_h265_syntax_template.c230 H265RawHRDParameters *hrd, in FUNC()
237 current = &hrd->nal_sub_layer_hrd_parameters[sub_layer_id]; in FUNC()
239 current = &hrd->vcl_sub_layer_hrd_parameters[sub_layer_id]; in FUNC()
241 for (i = 0; i <= hrd->cpb_cnt_minus1[sub_layer_id]; i++) { in FUNC()
244 if (hrd->sub_pic_hrd_params_present_flag) { in FUNC()
1624 const H265RawHRDParameters *hrd; in FUNC() local
1650 hrd = &sps->vui.hrd_parameters; in FUNC()
1651 if (!hrd->nal_hrd_parameters_present_flag && in FUNC()
1652 !hrd->vcl_hrd_parameters_present_flag) { in FUNC()
1658 if (!hrd->sub_pic_hrd_params_present_flag) in FUNC()
[all …]
Dvaapi_encode_h264.c439 H264RawHRD *hrd = &sps->vui.nal_hrd_parameters; in vaapi_encode_h264_init_sequence_params() local
444 hrd->cpb_cnt_minus1 = 0; in vaapi_encode_h264_init_sequence_params()
448 hrd->bit_rate_scale = in vaapi_encode_h264_init_sequence_params()
450 hrd->bit_rate_value_minus1[0] = in vaapi_encode_h264_init_sequence_params()
451 (ctx->va_bit_rate >> hrd->bit_rate_scale + 6) - 1; in vaapi_encode_h264_init_sequence_params()
453 hrd->cpb_size_scale = in vaapi_encode_h264_init_sequence_params()
455 hrd->cpb_size_value_minus1[0] = in vaapi_encode_h264_init_sequence_params()
456 (ctx->hrd_params.buffer_size >> hrd->cpb_size_scale + 4) - 1; in vaapi_encode_h264_init_sequence_params()
460 hrd->cbr_flag[0] = 0; in vaapi_encode_h264_init_sequence_params()
462 hrd->initial_cpb_removal_delay_length_minus1 = 23; in vaapi_encode_h264_init_sequence_params()
[all …]
Dcbs_h264_syntax_template.c642 const H264RawHRD *hrd; in FUNC() local
645 hrd = &sps->vui.nal_hrd_parameters; in FUNC()
647 hrd = &sps->vui.vcl_hrd_parameters; in FUNC()
654 ub(hrd->cpb_removal_delay_length_minus1 + 1, cpb_removal_delay); in FUNC()
655 ub(hrd->dpb_output_delay_length_minus1 + 1, dpb_output_delay); in FUNC()
Dvaapi_encode.h172 int hrd; member
Dvaapi_encode.c1690 if (rc_mode->hrd) { in vaapi_encode_init_rate_control()
1786 if (rc_mode->hrd) { in vaapi_encode_init_rate_control()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgsth265parser.c416 gst_h265_parse_hrd_parameters (GstH265HRDParams * hrd, NalReader * nr, in gst_h265_parse_hrd_parameters() argument
425 hrd->initial_cpb_removal_delay_length_minus1 = 23; in gst_h265_parse_hrd_parameters()
426 hrd->au_cpb_removal_delay_length_minus1 = 23; in gst_h265_parse_hrd_parameters()
427 hrd->dpb_output_delay_length_minus1 = 23; in gst_h265_parse_hrd_parameters()
430 READ_UINT8 (nr, hrd->nal_hrd_parameters_present_flag, 1); in gst_h265_parse_hrd_parameters()
431 READ_UINT8 (nr, hrd->vcl_hrd_parameters_present_flag, 1); in gst_h265_parse_hrd_parameters()
433 if (hrd->nal_hrd_parameters_present_flag in gst_h265_parse_hrd_parameters()
434 || hrd->vcl_hrd_parameters_present_flag) { in gst_h265_parse_hrd_parameters()
436 READ_UINT8 (nr, hrd->sub_pic_hrd_params_present_flag, 1); in gst_h265_parse_hrd_parameters()
438 if (hrd->sub_pic_hrd_params_present_flag) { in gst_h265_parse_hrd_parameters()
[all …]
Dgsth264parser.c391 gst_h264_parse_hrd_parameters (GstH264HRDParams * hrd, NalReader * nr) in gst_h264_parse_hrd_parameters() argument
397 READ_UE_MAX (nr, hrd->cpb_cnt_minus1, 31); in gst_h264_parse_hrd_parameters()
398 READ_UINT8 (nr, hrd->bit_rate_scale, 4); in gst_h264_parse_hrd_parameters()
399 READ_UINT8 (nr, hrd->cpb_size_scale, 4); in gst_h264_parse_hrd_parameters()
401 for (sched_sel_idx = 0; sched_sel_idx <= hrd->cpb_cnt_minus1; sched_sel_idx++) { in gst_h264_parse_hrd_parameters()
402 READ_UE (nr, hrd->bit_rate_value_minus1[sched_sel_idx]); in gst_h264_parse_hrd_parameters()
403 READ_UE (nr, hrd->cpb_size_value_minus1[sched_sel_idx]); in gst_h264_parse_hrd_parameters()
404 READ_UINT8 (nr, hrd->cbr_flag[sched_sel_idx], 1); in gst_h264_parse_hrd_parameters()
407 READ_UINT8 (nr, hrd->initial_cpb_removal_delay_length_minus1, 5); in gst_h264_parse_hrd_parameters()
408 READ_UINT8 (nr, hrd->cpb_removal_delay_length_minus1, 5); in gst_h264_parse_hrd_parameters()
[all …]
/third_party/weston/libweston/backend-drm/
Dvaapi-recorder.c409 VAEncMiscParameterHRD *hrd; in encoder_update_misc_hdr_parameter() local
430 hrd = (VAEncMiscParameterHRD *) misc_param->data; in encoder_update_misc_hdr_parameter()
432 hrd->initial_buffer_fullness = 0; in encoder_update_misc_hdr_parameter()
433 hrd->buffer_size = 0; in encoder_update_misc_hdr_parameter()
/third_party/skia/third_party/externals/icu/source/data/misc/
DkeyTypeData.txt285 hrd{""}
/third_party/icu/icu4c/source/data/misc/
DkeyTypeData.txt285 hrd{""}
/third_party/flutter/skia/third_party/externals/icu/source/data/misc/
DkeyTypeData.txt282 hrd{""}
/third_party/ffmpeg/doc/
Dencoders.texi2612 @item nal-hrd (@emph{nal-hrd})
/third_party/gstreamer/gstplugins_bad/
DChangeLog192245 h264parse: SPS: decode hrd params