Home
last modified time | relevance | path

Searched refs:bits_in_shifter (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_vcn_enc.c475 enc->bits_in_shifter = 0; in radeon_create_encoder()
595 num_bits > (32 - enc->bits_in_shifter) ? (32 - enc->bits_in_shifter) : num_bits; in radeon_enc_code_fixed_bits()
600 enc->shifter |= value_to_pack << (32 - enc->bits_in_shifter - bits_to_pack); in radeon_enc_code_fixed_bits()
602 enc->bits_in_shifter += bits_to_pack; in radeon_enc_code_fixed_bits()
604 while (enc->bits_in_shifter >= 8) { in radeon_enc_code_fixed_bits()
609 enc->bits_in_shifter -= 8; in radeon_enc_code_fixed_bits()
619 enc->bits_in_shifter = 0; in radeon_enc_reset()
628 unsigned int num_padding_zeros = (32 - enc->bits_in_shifter) % 8; in radeon_enc_byte_align()
636 if (enc->bits_in_shifter != 0) { in radeon_enc_flush_headers()
640 enc->bits_output += enc->bits_in_shifter; in radeon_enc_flush_headers()
[all …]
Dradeon_uvd_enc_1_1.c111 num_bits > (32 - enc->bits_in_shifter) ? (32 - enc->bits_in_shifter) : num_bits; in radeon_uvd_enc_code_fixed_bits()
116 enc->shifter |= value_to_pack << (32 - enc->bits_in_shifter - bits_to_pack); in radeon_uvd_enc_code_fixed_bits()
118 enc->bits_in_shifter += bits_to_pack; in radeon_uvd_enc_code_fixed_bits()
120 while (enc->bits_in_shifter >= 8) { in radeon_uvd_enc_code_fixed_bits()
125 enc->bits_in_shifter -= 8; in radeon_uvd_enc_code_fixed_bits()
135 enc->bits_in_shifter = 0; in radeon_uvd_enc_reset()
143 unsigned int num_padding_zeros = (32 - enc->bits_in_shifter) % 8; in radeon_uvd_enc_byte_align()
151 if (enc->bits_in_shifter != 0) { in radeon_uvd_enc_flush_headers()
155 enc->bits_output += enc->bits_in_shifter; in radeon_uvd_enc_flush_headers()
157 enc->bits_in_shifter = 0; in radeon_uvd_enc_flush_headers()
Dradeon_vcn_enc_1_2.c522 unsigned bits_in_shifter = enc->bits_in_shifter; in radeon_enc_nalu_sei() local
565 unsigned aligned = (32 - enc->bits_in_shifter) % 8; in radeon_enc_nalu_sei()
576 unsigned bits_in_shifter2 = enc->bits_in_shifter; in radeon_enc_nalu_sei()
584 enc->bits_in_shifter = bits_in_shifter; in radeon_enc_nalu_sei()
596 enc->bits_in_shifter = bits_in_shifter2; in radeon_enc_nalu_sei()
Dradeon_uvd_enc.h417 unsigned bits_in_shifter; member
Dradeon_uvd_enc.c294 enc->bits_in_shifter = 0; in radeon_uvd_create_encoder()
Dradeon_vcn_enc.h572 unsigned bits_in_shifter; member