Lines Matching refs:gb
376 BitReadCtx_t gb_cxt, *gb; in hal_h265d_slice_output_rps() local
403 gb = &gb_cxt; in hal_h265d_slice_output_rps()
405 READ_ONEBIT(gb, &value); in hal_h265d_slice_output_rps()
410 READ_BITS(gb, 6, &nal_type); in hal_h265d_slice_output_rps()
416 SKIP_BITS(gb, 9); in hal_h265d_slice_output_rps()
418 READ_ONEBIT(gb, &sh.first_slice_in_pic_flag); in hal_h265d_slice_output_rps()
421 READ_ONEBIT(gb, &sh.no_output_of_prior_pics_flag); in hal_h265d_slice_output_rps()
423 READ_UE(gb, &sh.pps_id); in hal_h265d_slice_output_rps()
444 READ_ONEBIT(gb, &sh.dependent_slice_segment_flag); in hal_h265d_slice_output_rps()
448 READ_BITS(gb, slice_address_length, &sh.slice_segment_addr); in hal_h265d_slice_output_rps()
468 SKIP_BITS(gb, 1); in hal_h265d_slice_output_rps()
470 READ_UE(gb, &sh.slice_type); in hal_h265d_slice_output_rps()
484 READ_ONEBIT(gb, &sh.pic_output_flag); in hal_h265d_slice_output_rps()
487 READ_BITS(gb, 2, &sh.colour_plane_id ); in hal_h265d_slice_output_rps()
492 … READ_BITS(gb, (dxva_cxt->pp.log2_max_pic_order_cnt_lsb_minus4 + 4), &sh.pic_order_cnt_lsb); in hal_h265d_slice_output_rps()
494 READ_ONEBIT(gb, &short_term_ref_pic_set_sps_flag); in hal_h265d_slice_output_rps()
496 bit_begin = gb->used_bits; in hal_h265d_slice_output_rps()
499 SKIP_BITS(gb, dxva_cxt->pp.wNumBitsForShortTermRPSInSlice); in hal_h265d_slice_output_rps()
509 READ_BITS(gb, numbits, &rps_idx); in hal_h265d_slice_output_rps()
512 rps_bit_offset_st[slice_idx] = gb->used_bits - bit_begin; in hal_h265d_slice_output_rps()
519 bit_begin = gb->used_bits; in hal_h265d_slice_output_rps()
521 READ_UE(gb, &nb_sps); in hal_h265d_slice_output_rps()
523 READ_UE(gb, &nb_sh); in hal_h265d_slice_output_rps()
534 … READ_BITS(gb, mpp_ceil_log2(dxva_cxt->pp.num_long_term_ref_pics_sps), <_idx_sps); in hal_h265d_slice_output_rps()
536 SKIP_BITS(gb, (dxva_cxt->pp.log2_max_pic_order_cnt_lsb_minus4 + 4)); in hal_h265d_slice_output_rps()
537 SKIP_BITS(gb, 1); in hal_h265d_slice_output_rps()
540 READ_ONEBIT(gb, &delta_poc_msb_present); in hal_h265d_slice_output_rps()
543 READ_UE(gb, &delta); in hal_h265d_slice_output_rps()
546 rps_bit_offset[slice_idx] += (gb->used_bits - bit_begin); in hal_h265d_slice_output_rps()
551 READ_ONEBIT(gb, &sh.slice_temporal_mvp_enabled_flag); in hal_h265d_slice_output_rps()
559 READ_ONEBIT(gb, &sh.slice_sample_adaptive_offset_flag[0]); in hal_h265d_slice_output_rps()
560 READ_ONEBIT(gb, &sh.slice_sample_adaptive_offset_flag[1]); in hal_h265d_slice_output_rps()
576 READ_ONEBIT(gb, &value); in hal_h265d_slice_output_rps()
579 READ_UE(gb, &sh.nb_refs[L0]); in hal_h265d_slice_output_rps()
582 READ_UE(gb, &sh.nb_refs[L1]); in hal_h265d_slice_output_rps()
608 READ_ONEBIT(gb, &sh.rpl_modification_flag[0]); in hal_h265d_slice_output_rps()
611 READ_BITS(gb, mpp_ceil_log2(nb_refs), &sh.list_entry_lx[0][i]); in hal_h265d_slice_output_rps()
615 READ_ONEBIT(gb, &sh.rpl_modification_flag[1]); in hal_h265d_slice_output_rps()
618 READ_BITS(gb, mpp_ceil_log2(nb_refs), &sh.list_entry_lx[1][i]); in hal_h265d_slice_output_rps()