Searched refs:bit_buf (Results 1 – 5 of 5) sorted by relevance
625 #define TINFL_NEED_BITS(state_index, n) do { mz_uint c; TINFL_GET_BYTE(state_index, c); bit_buf |= …626 …) do { if (num_bits < (mz_uint)(n)) { TINFL_NEED_BITS(state_index, n); } bit_buf >>= (n); num_bits…627 …s < (mz_uint)(n)) { TINFL_NEED_BITS(state_index, n); } b = bit_buf & ((1 << (n)) - 1); bit_buf >>=…635 temp = (pHuff)->m_look_up[bit_buf & (TINFL_FAST_LOOKUP_SIZE - 1)]; \643 temp = (pHuff)->m_tree[~temp + ((bit_buf >> code_len++) & 1)]; \645 … } TINFL_GET_BYTE(state_index, c); bit_buf |= (((tinfl_bit_buf_t)c) << num_bits); num_bits += 8; \658 …bit_buf |= (((tinfl_bit_buf_t)pIn_buf_cur[0]) << num_bits) | (((tinfl_bit_buf_t)pIn_buf_cur[1]) <<…661 if ((temp = (pHuff)->m_look_up[bit_buf & (TINFL_FAST_LOOKUP_SIZE - 1)]) >= 0) \664 …code_len = TINFL_FAST_LOOKUP_BITS; do { temp = (pHuff)->m_tree[~temp + ((bit_buf >> code_len++) & …665 } sym = temp; bit_buf >>= code_len; num_bits -= code_len; } MZ_MACRO_END[all …]
793 enc->enc_pic.bit_buf.mode = RENC_UVD_SWIZZLE_MODE_LINEAR; in radeon_uvd_enc_bitstream()794 enc->enc_pic.bit_buf.video_bitstream_buffer_size = enc->bs_size; in radeon_uvd_enc_bitstream()795 enc->enc_pic.bit_buf.video_bitstream_data_offset = 0; in radeon_uvd_enc_bitstream()798 RADEON_ENC_CS(enc->enc_pic.bit_buf.mode); in radeon_uvd_enc_bitstream()800 RADEON_ENC_CS(enc->enc_pic.bit_buf.video_bitstream_buffer_size); in radeon_uvd_enc_bitstream()801 RADEON_ENC_CS(enc->enc_pic.bit_buf.video_bitstream_data_offset); in radeon_uvd_enc_bitstream()
908 enc->enc_pic.bit_buf.mode = RENCODE_REC_SWIZZLE_MODE_LINEAR; in radeon_enc_bitstream()909 enc->enc_pic.bit_buf.video_bitstream_buffer_size = enc->bs_size; in radeon_enc_bitstream()910 enc->enc_pic.bit_buf.video_bitstream_data_offset = 0; in radeon_enc_bitstream()913 RADEON_ENC_CS(enc->enc_pic.bit_buf.mode); in radeon_enc_bitstream()915 RADEON_ENC_CS(enc->enc_pic.bit_buf.video_bitstream_buffer_size); in radeon_enc_bitstream()916 RADEON_ENC_CS(enc->enc_pic.bit_buf.video_bitstream_data_offset); in radeon_enc_bitstream()
381 ruvd_enc_video_bitstream_buffer_t bit_buf; member
464 rvcn_enc_video_bitstream_buffer_t bit_buf; member