• Home
  • Raw
  • Download

Lines Matching refs:hrd

416 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()
439 READ_UINT8 (nr, hrd->tick_divisor_minus2, 8); in gst_h265_parse_hrd_parameters()
440 READ_UINT8 (nr, hrd->du_cpb_removal_delay_increment_length_minus1, 5); in gst_h265_parse_hrd_parameters()
441 READ_UINT8 (nr, hrd->sub_pic_cpb_params_in_pic_timing_sei_flag, 1); in gst_h265_parse_hrd_parameters()
442 READ_UINT8 (nr, hrd->dpb_output_delay_du_length_minus1, 5); in gst_h265_parse_hrd_parameters()
445 READ_UINT8 (nr, hrd->bit_rate_scale, 4); in gst_h265_parse_hrd_parameters()
446 READ_UINT8 (nr, hrd->cpb_size_scale, 4); in gst_h265_parse_hrd_parameters()
448 if (hrd->sub_pic_hrd_params_present_flag) in gst_h265_parse_hrd_parameters()
449 READ_UINT8 (nr, hrd->cpb_size_du_scale, 4); in gst_h265_parse_hrd_parameters()
451 READ_UINT8 (nr, hrd->initial_cpb_removal_delay_length_minus1, 5); in gst_h265_parse_hrd_parameters()
452 READ_UINT8 (nr, hrd->au_cpb_removal_delay_length_minus1, 5); in gst_h265_parse_hrd_parameters()
453 READ_UINT8 (nr, hrd->dpb_output_delay_length_minus1, 5); in gst_h265_parse_hrd_parameters()
458 READ_UINT8 (nr, hrd->fixed_pic_rate_general_flag[i], 1); in gst_h265_parse_hrd_parameters()
460 if (!hrd->fixed_pic_rate_general_flag[i]) { in gst_h265_parse_hrd_parameters()
461 READ_UINT8 (nr, hrd->fixed_pic_rate_within_cvs_flag[i], 1); in gst_h265_parse_hrd_parameters()
463 hrd->fixed_pic_rate_within_cvs_flag[i] = 1; in gst_h265_parse_hrd_parameters()
465 if (hrd->fixed_pic_rate_within_cvs_flag[i]) { in gst_h265_parse_hrd_parameters()
466 READ_UE_MAX (nr, hrd->elemental_duration_in_tc_minus1[i], 2047); in gst_h265_parse_hrd_parameters()
468 READ_UINT8 (nr, hrd->low_delay_hrd_flag[i], 1); in gst_h265_parse_hrd_parameters()
470 if (!hrd->low_delay_hrd_flag[i]) in gst_h265_parse_hrd_parameters()
471 READ_UE_MAX (nr, hrd->cpb_cnt_minus1[i], 31); in gst_h265_parse_hrd_parameters()
473 if (hrd->nal_hrd_parameters_present_flag) in gst_h265_parse_hrd_parameters()
474 if (!gst_h265_parse_sub_layer_hrd_parameters (&hrd->sublayer_hrd_params in gst_h265_parse_hrd_parameters()
475 [i], nr, hrd->cpb_cnt_minus1[i], in gst_h265_parse_hrd_parameters()
476 hrd->sub_pic_hrd_params_present_flag)) in gst_h265_parse_hrd_parameters()
479 if (hrd->vcl_hrd_parameters_present_flag) in gst_h265_parse_hrd_parameters()
480 if (!gst_h265_parse_sub_layer_hrd_parameters (&hrd->sublayer_hrd_params in gst_h265_parse_hrd_parameters()
481 [i], nr, hrd->cpb_cnt_minus1[i], in gst_h265_parse_hrd_parameters()
482 hrd->sub_pic_hrd_params_present_flag)) in gst_h265_parse_hrd_parameters()
1034 GstH265HRDParams *hrd = &vui->hrd_params; in gst_h265_parser_parse_buffering_period() local
1036 if (!hrd->sub_pic_hrd_params_present_flag) in gst_h265_parser_parse_buffering_period()
1041 (hrd->au_cpb_removal_delay_length_minus1 + 1)); in gst_h265_parser_parse_buffering_period()
1043 (hrd->dpb_output_delay_length_minus1 + 1)); in gst_h265_parser_parse_buffering_period()
1046 n = hrd->initial_cpb_removal_delay_length_minus1 + 1; in gst_h265_parser_parse_buffering_period()
1050 (hrd->au_cpb_removal_delay_length_minus1 + 1)); in gst_h265_parser_parse_buffering_period()
1052 if (hrd->nal_hrd_parameters_present_flag) { in gst_h265_parser_parse_buffering_period()
1053 for (i = 0; i <= hrd->cpb_cnt_minus1[i]; i++) { in gst_h265_parser_parse_buffering_period()
1056 if (hrd->sub_pic_hrd_params_present_flag in gst_h265_parser_parse_buffering_period()
1064 if (hrd->vcl_hrd_parameters_present_flag) { in gst_h265_parser_parse_buffering_period()
1065 for (i = 0; i <= hrd->cpb_cnt_minus1[i]; i++) { in gst_h265_parser_parse_buffering_period()
1068 if (hrd->sub_pic_hrd_params_present_flag in gst_h265_parser_parse_buffering_period()
1123 GstH265HRDParams *hrd = &vui->hrd_params; in gst_h265_parser_parse_pic_timing() local
1126 (hrd->au_cpb_removal_delay_length_minus1 + 1)); in gst_h265_parser_parse_pic_timing()
1128 (hrd->dpb_output_delay_length_minus1 + 1)); in gst_h265_parser_parse_pic_timing()
1130 if (hrd->sub_pic_hrd_params_present_flag) in gst_h265_parser_parse_pic_timing()
1132 (hrd->dpb_output_delay_du_length_minus1 + 1)); in gst_h265_parser_parse_pic_timing()
1134 if (hrd->sub_pic_hrd_params_present_flag in gst_h265_parser_parse_pic_timing()
1135 && hrd->sub_pic_cpb_params_in_pic_timing_sei_flag) { in gst_h265_parser_parse_pic_timing()
1141 (hrd->du_cpb_removal_delay_increment_length_minus1 + 1)); in gst_h265_parser_parse_pic_timing()
1154 (hrd->du_cpb_removal_delay_increment_length_minus1 + 1)); in gst_h265_parser_parse_pic_timing()