Home
last modified time | relevance | path

Searched refs:bitpos (Results 1 – 14 of 14) sorted by relevance

/rockchip-linux_mpp/mpp/base/
H A Dmpp_bitput.c25 bp->bitpos = 0; in mpp_set_bitput_ctx()
43 bp->bvalue |= invalue << bp->bitpos; // high bits value in mpp_put_bits()
44 if ((bp->bitpos + lbits) >= 64) { in mpp_put_bits()
46 bp->bvalue = invalue >> (64 - bp->bitpos); // low bits value in mpp_put_bits()
54 bp->bitpos = (bp->bitpos + lbits) & 63; in mpp_put_bits()
63 len = (align_bits - (word_offset + (bp->bitpos % align_bits))) % align_bits; in mpp_put_align()
/rockchip-linux_mpp/mpp/base/inc/
H A Dmpp_bitput.h30 RK_U8 bitpos; //!< bit pos in 64bit member
/rockchip-linux_mpp/mpp/hal/rkenc/jpege/
H A Dhal_jpege_vepu540c.c151 RK_S32 bitpos; in hal_jpege_v540c_gen_regs() local
173 bitpos = jpege_bits_get_bitpos(bits); in hal_jpege_v540c_gen_regs()
174 task->length = (bitpos + 7) >> 3; in hal_jpege_v540c_gen_regs()
H A Dhal_jpege_vpu720.c383 RK_S32 bitpos; in hal_jpege_vpu720_gen_regs() local
406 bitpos = jpege_bits_get_bitpos(bits); in hal_jpege_vpu720_gen_regs()
407 task->length = (bitpos + 7) >> 3; in hal_jpege_vpu720_gen_regs()
H A Dhal_jpege_vepu511.c368 RK_S32 bitpos; in hal_jpege_vepu511_gen_regs() local
390 bitpos = jpege_bits_get_bitpos(bits); in hal_jpege_vepu511_gen_regs()
391 task->length = (bitpos + 7) >> 3; in hal_jpege_vepu511_gen_regs()
/rockchip-linux_mpp/mpp/hal/vpu/jpege/
H A Dhal_jpege_vepu1_v2.c189 RK_S32 bitpos; in hal_jpege_vepu1_gen_regs() local
248 bitpos = jpege_bits_get_bitpos(bits); in hal_jpege_vepu1_gen_regs()
249 bytepos = (bitpos + 7) >> 3; in hal_jpege_vepu1_gen_regs()
252 ctx->sw_bit = bitpos; in hal_jpege_vepu1_gen_regs()
H A Dhal_jpege_vepu2_v2.c384 RK_S32 bitpos; in hal_jpege_vepu2_gen_regs() local
445 bitpos = jpege_bits_get_bitpos(bits); in hal_jpege_vepu2_gen_regs()
446 bytepos = (bitpos + 7) >> 3; in hal_jpege_vepu2_gen_regs()
449 ctx->sw_bit = bitpos; in hal_jpege_vepu2_gen_regs()
/rockchip-linux_mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_vdpu383.c517 bp.bitpos = 41; in hal_h265d_v345_output_pps_packet()
518 bp.bvalue = bp.pbuf[bp.index] & MPP_GENMASK(bp.bitpos - 1, 0); in hal_h265d_v345_output_pps_packet()
642 dump_data_to_file(dump_cur_fname_path, (void *)bp.pbuf, 64 * bp.index + bp.bitpos, 128, 0); in hal_h265d_v345_output_pps_packet()
831 dump_data_to_file(dump_cur_fname_path, (void *)bp.pbuf, 64 * bp.index + bp.bitpos, 128, 0); in hal_h265d_vdpu383_rps()
H A Dhal_h265d_vdpu384a.c485 bp.bitpos = 41; in hal_h265d_v345_output_pps_packet()
486 bp.bvalue = bp.pbuf[bp.index] & MPP_GENMASK(bp.bitpos - 1, 0); in hal_h265d_v345_output_pps_packet()
/rockchip-linux_mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_vdpu383.c168 bp.bitpos = 24; in prepare_spspps()
281 dump_data_to_file(dump_cur_fname_path, (void *)bp.pbuf, 64 * bp.index + bp.bitpos, 64, 0); in prepare_spspps()
359 dump_data_to_file(dump_cur_fname_path, (void *)bp.pbuf, 64 * bp.index + bp.bitpos, 64, 0); in prepare_framerps()
H A Dhal_h264d_vdpu384a.c155 bp.bitpos = 24; in prepare_spspps()
295 dump_data_to_file(dump_cur_fname_path, (void *)bp.pbuf, 64 * bp.index + bp.bitpos, 128, 0); in prepare_spspps()
H A Dhal_h264d_vdpu34x.c362 bp.bitpos = (VDPU34X_SPS_PPS_LEN & 0x7) << 3; in prepare_spspps()
H A Dhal_h264d_vdpu382.c368 bp.bitpos = (VDPU382_SPS_PPS_LEN & 0x7) << 3; in prepare_spspps()
/rockchip-linux_mpp/mpp/hal/rkdec/vp9d/
H A Dhal_vp9d_vdpu383.c676 … dump_data_to_file(dump_cur_fname_path, (void *)bp.pbuf, 64 * (bp.index - 1) + bp.bitpos, 64, 0); in prepare_uncompress_header()