Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_enc.c407 enc->bits_in_shifter = 0; in radeon_create_encoder()
527 num_bits > (32 - enc->bits_in_shifter) ? (32 - enc->bits_in_shifter) : num_bits; in radeon_enc_code_fixed_bits()
532 enc->shifter |= value_to_pack << (32 - enc->bits_in_shifter - bits_to_pack); in radeon_enc_code_fixed_bits()
534 enc->bits_in_shifter += bits_to_pack; in radeon_enc_code_fixed_bits()
536 while (enc->bits_in_shifter >= 8) { in radeon_enc_code_fixed_bits()
541 enc->bits_in_shifter -= 8; in radeon_enc_code_fixed_bits()
551 enc->bits_in_shifter = 0; in radeon_enc_reset()
559 unsigned int num_padding_zeros = (32 - enc->bits_in_shifter) % 8; in radeon_enc_byte_align()
567 if (enc->bits_in_shifter != 0) { in radeon_enc_flush_headers()
571 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_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.h534 unsigned bits_in_shifter; member