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/radeon/
Dradeon_vcn_enc.c419 enc->bits_in_shifter = 0; in radeon_create_encoder()
535 num_bits > (32 - enc->bits_in_shifter) ? (32 - enc->bits_in_shifter) : num_bits; in radeon_enc_code_fixed_bits()
540 enc->shifter |= value_to_pack << (32 - enc->bits_in_shifter - bits_to_pack); in radeon_enc_code_fixed_bits()
542 enc->bits_in_shifter += bits_to_pack; in radeon_enc_code_fixed_bits()
544 while (enc->bits_in_shifter >= 8) { in radeon_enc_code_fixed_bits()
549 enc->bits_in_shifter -= 8; in radeon_enc_code_fixed_bits()
559 enc->bits_in_shifter = 0; in radeon_enc_reset()
568 unsigned int num_padding_zeros = (32 - enc->bits_in_shifter) % 8; in radeon_enc_byte_align()
576 if (enc->bits_in_shifter != 0) { in radeon_enc_flush_headers()
580 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.c539 unsigned bits_in_shifter = enc->bits_in_shifter; in radeon_enc_nalu_sei() local
582 unsigned aligned = (32 - enc->bits_in_shifter) % 8; in radeon_enc_nalu_sei()
593 unsigned bits_in_shifter2 = enc->bits_in_shifter; in radeon_enc_nalu_sei()
601 enc->bits_in_shifter = bits_in_shifter; in radeon_enc_nalu_sei()
613 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.h544 unsigned bits_in_shifter; member