Lines Matching refs:current
31 H264RawNALUnitHeader *current, in FUNC()
40 if (!(1 << current->nal_unit_type & valid_type_mask)) { in FUNC()
42 current->nal_unit_type); in FUNC()
46 if (current->nal_unit_type == 14 || in FUNC()
47 current->nal_unit_type == 20 || in FUNC()
48 current->nal_unit_type == 21) { in FUNC()
49 if (current->nal_unit_type != 21) in FUNC()
54 if (current->svc_extension_flag) { in FUNC()
58 } else if (current->avc_3d_extension_flag) { in FUNC()
72 H264RawScalingList *current, in FUNC()
80 scale = (scale + current->delta_scale[i] + 256) % 256; in FUNC()
89 H264RawHRD *current) in FUNC()
97 for (i = 0; i <= current->cpb_cnt_minus1; i++) { in FUNC()
112 H264RawVUI *current, H264RawSPS *sps) in FUNC()
117 if (current->aspect_ratio_info_present_flag) { in FUNC()
119 if (current->aspect_ratio_idc == 255) { in FUNC()
128 if (current->overscan_info_present_flag) in FUNC()
132 if (current->video_signal_type_present_flag) { in FUNC()
136 if (current->colour_description_present_flag) { in FUNC()
154 if (current->chroma_loc_info_present_flag) { in FUNC()
163 if (current->timing_info_present_flag) { in FUNC()
172 if (current->nal_hrd_parameters_present_flag) in FUNC()
173 CHECK(FUNC(hrd_parameters)(ctx, rw, ¤t->nal_hrd_parameters)); in FUNC()
176 if (current->vcl_hrd_parameters_present_flag) in FUNC()
177 CHECK(FUNC(hrd_parameters)(ctx, rw, ¤t->vcl_hrd_parameters)); in FUNC()
179 if (current->nal_hrd_parameters_present_flag || in FUNC()
180 current->vcl_hrd_parameters_present_flag) in FUNC()
183 infer(low_delay_hrd_flag, 1 - current->fixed_frame_rate_flag); in FUNC()
188 if (current->bitstream_restriction_flag) { in FUNC()
221 RWContext *rw, H264RawVUI *current, in FUNC()
261 H264RawSPS *current) in FUNC()
267 CHECK(FUNC(nal_unit_header)(ctx, rw, ¤t->nal_unit_header, in FUNC()
285 if (current->profile_idc == 100 || current->profile_idc == 110 || in FUNC()
286 current->profile_idc == 122 || current->profile_idc == 244 || in FUNC()
287 current->profile_idc == 44 || current->profile_idc == 83 || in FUNC()
288 current->profile_idc == 86 || current->profile_idc == 118 || in FUNC()
289 current->profile_idc == 128 || current->profile_idc == 138) { in FUNC()
292 if (current->chroma_format_idc == 3) in FUNC()
303 if (current->seq_scaling_matrix_present_flag) { in FUNC()
304 for (i = 0; i < ((current->chroma_format_idc != 3) ? 8 : 12); i++) { in FUNC()
306 if (current->seq_scaling_list_present_flag[i]) { in FUNC()
309 ¤t->scaling_list_4x4[i], in FUNC()
313 ¤t->scaling_list_8x8[i - 6], in FUNC()
319 infer(chroma_format_idc, current->profile_idc == 183 ? 0 : 1); in FUNC()
329 if (current->pic_order_cnt_type == 0) { in FUNC()
331 } else if (current->pic_order_cnt_type == 1) { in FUNC()
337 for (i = 0; i < current->num_ref_frames_in_pic_order_cnt_cycle; i++) in FUNC()
348 if (!current->frame_mbs_only_flag) in FUNC()
354 if (current->frame_cropping_flag) { in FUNC()
362 if (current->vui_parameters_present_flag) in FUNC()
363 CHECK(FUNC(vui_parameters)(ctx, rw, ¤t->vui, current)); in FUNC()
365 CHECK(FUNC(vui_parameters_default)(ctx, rw, ¤t->vui, current)); in FUNC()
373 H264RawSPSExtension *current) in FUNC()
379 CHECK(FUNC(nal_unit_header)(ctx, rw, ¤t->nal_unit_header, in FUNC()
386 if (current->aux_format_idc != 0) { in FUNC()
392 bits = current->bit_depth_aux_minus8 + 9; in FUNC()
405 H264RawPPS *current) in FUNC()
413 CHECK(FUNC(nal_unit_header)(ctx, rw, ¤t->nal_unit_header, in FUNC()
419 sps = h264->sps[current->seq_parameter_set_id]; in FUNC()
422 current->seq_parameter_set_id); in FUNC()
430 if (current->num_slice_groups_minus1 > 0) { in FUNC()
439 if (current->slice_group_map_type == 0) { in FUNC()
440 for (iGroup = 0; iGroup <= current->num_slice_groups_minus1; iGroup++) in FUNC()
443 } else if (current->slice_group_map_type == 2) { in FUNC()
444 for (iGroup = 0; iGroup < current->num_slice_groups_minus1; iGroup++) { in FUNC()
447 current->top_left[iGroup], pic_size - 1, 1, iGroup); in FUNC()
449 } else if (current->slice_group_map_type == 3 || in FUNC()
450 current->slice_group_map_type == 4 || in FUNC()
451 current->slice_group_map_type == 5) { in FUNC()
454 } else if (current->slice_group_map_type == 6) { in FUNC()
457 allocate(current->slice_group_id, in FUNC()
458 current->pic_size_in_map_units_minus1 + 1); in FUNC()
459 for (i = 0; i <= current->pic_size_in_map_units_minus1; i++) in FUNC()
460 us(av_log2(2 * current->num_slice_groups_minus1 + 1), in FUNC()
461 slice_group_id[i], 0, current->num_slice_groups_minus1, 1, i); in FUNC()
479 if (more_rbsp_data(current->more_rbsp_data)) in FUNC()
484 if (current->pic_scaling_matrix_present_flag) { in FUNC()
486 current->transform_8x8_mode_flag); i++) { in FUNC()
488 if (current->pic_scaling_list_present_flag[i]) { in FUNC()
491 ¤t->scaling_list_4x4[i], in FUNC()
495 ¤t->scaling_list_8x8[i - 6], in FUNC()
505 infer(second_chroma_qp_index_offset, current->chroma_qp_index_offset); in FUNC()
514 H264RawSEIBufferingPeriod *current, in FUNC()
525 sps = h264->sps[current->seq_parameter_set_id]; in FUNC()
528 current->seq_parameter_set_id); in FUNC()
537 current->nal.initial_cpb_removal_delay[i], in FUNC()
540 current->nal.initial_cpb_removal_delay_offset[i], in FUNC()
549 current->vcl.initial_cpb_removal_delay[i], in FUNC()
552 current->vcl.initial_cpb_removal_delay_offset[i], in FUNC()
561 H264RawSEIPicTimestamp *current, in FUNC()
574 if (current->full_timestamp_flag) { in FUNC()
580 if (current->seconds_flag) { in FUNC()
583 if (current->minutes_flag) { in FUNC()
586 if (current->hours_flag) in FUNC()
608 H264RawSEIPicTiming *current, in FUNC()
665 if (current->pic_struct > 8) in FUNC()
668 for (i = 0; i < num_clock_ts[current->pic_struct]; i++) { in FUNC()
670 if (current->clock_timestamp_flag[i]) in FUNC()
672 ¤t->timestamp[i], sps)); in FUNC()
680 H264RawSEIPanScanRect *current, in FUNC()
690 if (!current->pan_scan_rect_cancel_flag) { in FUNC()
693 for (i = 0; i <= current->pan_scan_cnt_minus1; i++) { in FUNC()
707 H264RawSEIRecoveryPoint *current, in FUNC()
723 H264RawSEIDisplayOrientation *current, in FUNC()
731 if (!current->display_orientation_cancel_flag) { in FUNC()
743 H264RawSEI *current) in FUNC()
749 CHECK(FUNC(nal_unit_header)(ctx, rw, ¤t->nal_unit_header, in FUNC()
752 CHECK(FUNC_SEI(message_list)(ctx, rw, ¤t->message_list, 1)); in FUNC()
760 H264RawAUD *current) in FUNC()
766 CHECK(FUNC(nal_unit_header)(ctx, rw, ¤t->nal_unit_header, in FUNC()
777 H264RawSliceHeader *current) in FUNC()
783 if (current->slice_type % 5 != 2 && in FUNC()
784 current->slice_type % 5 != 4) { in FUNC()
786 if (current->ref_pic_list_modification_flag_l0) { in FUNC()
789 current->rplm_l0[i].modification_of_pic_nums_idc, 0, 3, 0); in FUNC()
791 mopn = current->rplm_l0[i].modification_of_pic_nums_idc; in FUNC()
797 current->rplm_l0[i].abs_diff_pic_num_minus1, in FUNC()
798 0, (1 + current->field_pic_flag) * in FUNC()
802 current->rplm_l0[i].long_term_pic_num, in FUNC()
808 if (current->slice_type % 5 == 1) { in FUNC()
810 if (current->ref_pic_list_modification_flag_l1) { in FUNC()
813 current->rplm_l1[i].modification_of_pic_nums_idc, 0, 3, 0); in FUNC()
815 mopn = current->rplm_l1[i].modification_of_pic_nums_idc; in FUNC()
821 current->rplm_l1[i].abs_diff_pic_num_minus1, in FUNC()
822 0, (1 + current->field_pic_flag) * in FUNC()
826 current->rplm_l1[i].long_term_pic_num, in FUNC()
836 H264RawSliceHeader *current) in FUNC()
849 for (i = 0; i <= current->num_ref_idx_l0_active_minus1; i++) { in FUNC()
851 if (current->luma_weight_l0_flag[i]) { in FUNC()
857 if (current->chroma_weight_l0_flag[i]) { in FUNC()
866 if (current->slice_type % 5 == 1) { in FUNC()
867 for (i = 0; i <= current->num_ref_idx_l1_active_minus1; i++) { in FUNC()
869 if (current->luma_weight_l1_flag[i]) { in FUNC()
875 if (current->chroma_weight_l1_flag[i]) { in FUNC()
889 H264RawSliceHeader *current, int idr_pic_flag) in FUNC()
901 if (current->adaptive_ref_pic_marking_mode_flag) { in FUNC()
904 current->mmco[i].memory_management_control_operation, in FUNC()
907 mmco = current->mmco[i].memory_management_control_operation; in FUNC()
913 current->mmco[i].difference_of_pic_nums_minus1, in FUNC()
917 current->mmco[i].long_term_pic_num, in FUNC()
921 current->mmco[i].long_term_frame_idx, in FUNC()
925 current->mmco[i].max_long_term_frame_idx_plus1, in FUNC()
940 H264RawSliceHeader *current) in FUNC()
952 CHECK(FUNC(nal_unit_header)(ctx, rw, ¤t->nal_unit_header, in FUNC()
957 if (current->nal_unit_header.nal_unit_type == H264_NAL_AUXILIARY_SLICE) { in FUNC()
966 idr_pic_flag = current->nal_unit_header.nal_unit_type == H264_NAL_IDR_SLICE; in FUNC()
972 slice_type_i = current->slice_type % 5 == 2; in FUNC()
973 slice_type_p = current->slice_type % 5 == 0; in FUNC()
974 slice_type_b = current->slice_type % 5 == 1; in FUNC()
975 slice_type_si = current->slice_type % 5 == 4; in FUNC()
976 slice_type_sp = current->slice_type % 5 == 3; in FUNC()
980 "for IDR picture.\n", current->slice_type); in FUNC()
986 pps = h264->pps[current->pic_parameter_set_id]; in FUNC()
989 current->pic_parameter_set_id); in FUNC()
1009 if (current->field_pic_flag) in FUNC()
1024 !current->field_pic_flag) in FUNC()
1031 !current->field_pic_flag) in FUNC()
1046 if (current->nal_unit_header.nal_unit_type != H264_NAL_AUXILIARY_SLICE in FUNC()
1047 && !current->redundant_pic_cnt) in FUNC()
1049 current->nal_unit_header.nal_unit_type; in FUNC()
1056 if (current->num_ref_idx_active_override_flag) { in FUNC()
1068 if (current->nal_unit_header.nal_unit_type == 20 || in FUNC()
1069 current->nal_unit_header.nal_unit_type == 21) { in FUNC()
1073 CHECK(FUNC(ref_pic_list_modification)(ctx, rw, current)); in FUNC()
1078 CHECK(FUNC(pred_weight_table)(ctx, rw, current)); in FUNC()
1081 if (current->nal_unit_header.nal_ref_idc != 0) { in FUNC()
1082 CHECK(FUNC(dec_ref_pic_marking)(ctx, rw, current, idr_pic_flag)); in FUNC()
1100 if (current->disable_deblocking_filter_idc != 1) { in FUNC()
1136 H264RawFiller *current) in FUNC()
1142 CHECK(FUNC(nal_unit_header)(ctx, rw, ¤t->nal_unit_header, in FUNC()
1148 ++current->filler_size; in FUNC()
1153 for (i = 0; i < current->filler_size; i++) in FUNC()
1164 H264RawNALUnitHeader *current) in FUNC()
1168 return FUNC(nal_unit_header)(ctx, rw, current, in FUNC()
1173 H264RawNALUnitHeader *current) in FUNC()
1177 return FUNC(nal_unit_header)(ctx, rw, current, in FUNC()