Home
last modified time | relevance | path

Searched refs:dst_size (Results 1 – 6 of 6) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/format/
Dformat_utils.h150 _mesa_unsigned_to_unsigned(unsigned src, unsigned dst_size) in _mesa_unsigned_to_unsigned() argument
152 return MIN2(src, u_uintN_max(dst_size)); in _mesa_unsigned_to_unsigned()
156 _mesa_unsigned_to_signed(unsigned src, unsigned dst_size) in _mesa_unsigned_to_signed() argument
158 return MIN2(src, (unsigned)u_intN_max(dst_size)); in _mesa_unsigned_to_signed()
162 _mesa_signed_to_signed(int src, unsigned dst_size) in _mesa_signed_to_signed() argument
164 return CLAMP(src, u_intN_min(dst_size), u_intN_max(dst_size)); in _mesa_signed_to_signed()
168 _mesa_signed_to_unsigned(int src, unsigned dst_size) in _mesa_signed_to_unsigned() argument
170 return CLAMP(src, 0, u_uintN_max(dst_size)); in _mesa_signed_to_unsigned()
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidUtils.cpp22 void copyBits(const void *src, void *dst, size_t dst_size, in copyBits() argument
32 if ((static_cast<size_t>(dst_bit_offset) > (8 * dst_size)) || in copyBits()
33 (static_cast<size_t>(bit_count) > (8 * dst_size)) || in copyBits()
34 (static_cast<size_t>(dst_bit_offset + bit_count) > (8 * dst_size))) { in copyBits()
DHidUtils.h23 void copyBits(const void *src, void *dst, size_t dst_size,
/hardware/google/gfxstream/guest/mesa/src/util/
Dvl_vlc.h65 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src,… in vl_vlc_init_table() argument
67 unsigned i, bits = util_logbase2(dst_size); in vl_vlc_init_table()
69 assert(dst && dst_size); in vl_vlc_init_table()
72 for (i=0;i<dst_size;++i) { in vl_vlc_init_table()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp1958 int dst_size = SWVENC_BUFFER_SIZE(COLOR_FMT_NV12_ZSL, d_width, d_height); in swvenc_do_rotate() local
1998 dst_size, in swvenc_do_rotate()
1999 dst_size); in swvenc_do_rotate()
2008 ipbuffer.size = dst_size; in swvenc_do_rotate()
2009 ipbuffer.filled_length = dst_size; in swvenc_do_rotate()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp1902 int dst_size = SWVENC_BUFFER_SIZE(COLOR_FMT_NV12_ZSL, d_width, d_height); in swvenc_do_rotate() local
1942 dst_size, in swvenc_do_rotate()
1943 dst_size); in swvenc_do_rotate()
1952 ipbuffer.size = dst_size; in swvenc_do_rotate()
1953 ipbuffer.filled_length = dst_size; in swvenc_do_rotate()