Searched refs:bits_to_pack (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeon/
H A Dradeon_vcn_enc.c529 unsigned int bits_to_pack = 0; local in function:radeon_enc_code_fixed_bits
534 bits_to_pack =
537 if (bits_to_pack < num_bits)
538 value_to_pack = value_to_pack >> (num_bits - bits_to_pack);
540 enc->shifter |= value_to_pack << (32 - enc->bits_in_shifter - bits_to_pack);
541 num_bits -= bits_to_pack;
542 enc->bits_in_shifter += bits_to_pack;
H A Dradeon_uvd_enc_1_1.c106 unsigned int bits_to_pack = 0; local in function:radeon_uvd_enc_code_fixed_bits
110 bits_to_pack =
113 if (bits_to_pack < num_bits)
114 value_to_pack = value_to_pack >> (num_bits - bits_to_pack);
116 enc->shifter |= value_to_pack << (32 - enc->bits_in_shifter - bits_to_pack);
117 num_bits -= bits_to_pack;
118 enc->bits_in_shifter += bits_to_pack;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeon/
H A Dradeon_uvd_enc_1_1.c112 unsigned int bits_to_pack = 0; local in function:radeon_uvd_enc_code_fixed_bits
116 bits_to_pack =
120 if (bits_to_pack < num_bits)
121 value_to_pack = value_to_pack >> (num_bits - bits_to_pack);
124 value_to_pack << (32 - enc->bits_in_shifter - bits_to_pack);
125 num_bits -= bits_to_pack;
126 enc->bits_in_shifter += bits_to_pack;
H A Dradeon_vcn_enc_1_2.c101 unsigned int bits_to_pack = 0; local in function:radeon_enc_code_fixed_bits
105 bits_to_pack = num_bits > (32 - enc->bits_in_shifter) ? (32 - enc->bits_in_shifter) : num_bits;
107 if (bits_to_pack < num_bits)
108 value_to_pack = value_to_pack >> (num_bits - bits_to_pack);
110 enc->shifter |= value_to_pack << (32 - enc->bits_in_shifter - bits_to_pack);
111 num_bits -= bits_to_pack;
112 enc->bits_in_shifter += bits_to_pack;

Completed in 6 milliseconds