Home
last modified time | relevance | path

Searched refs:n_bits (Results 1 – 12 of 12) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/tests/
Dfast_idiv_by_const_test.cpp273 unsigned n_bits = bounded ? util_logbase2_64(MAX2(n, 1)) + 1 : bits; in random_udiv_add_sat_test() local
276 util_compute_fast_udiv_info(d, n_bits, bits); in random_udiv_add_sat_test()
290 unsigned n_bits = bounded ? util_logbase2_64(MAX2(n, 1)) + 1: bits; in random_udiv_mul_add_test() local
293 util_compute_fast_udiv_info(d, n_bits, bits); in random_udiv_mul_add_test()
321 for (unsigned n_bits = 1; n_bits <= 8; n_bits++) { in TEST() local
323 util_compute_fast_udiv_info(d, n_bits, 8); in TEST()
325 for (unsigned n = 0; n < (1u << n_bits); n++) in TEST()
335 for (unsigned n_bits = 1; n_bits <= 8; n_bits++) { in TEST() local
337 util_compute_fast_udiv_info(d, n_bits, 8); in TEST()
339 for (unsigned n = 0; n < (1u << n_bits); n++) in TEST()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Dtexcompress_bptc_tmp.h57 uint8_t n_bits; member
320 int n_bits) in extract_bits() argument
324 int n_bits_in_byte = MIN2(n_bits, 8 - bit_index); in extract_bits()
332 n_bits -= n_bits_in_byte; in extract_bits()
334 if (n_bits <= 0) in extract_bits()
340 n_bits_in_byte = MIN2(n_bits, 8); in extract_bits()
346 int n_bits) in expand_component() argument
351 return byte << (8 - n_bits) | (byte >> (2 * n_bits - 8)); in expand_component()
885 value = extract_bits(block, bit_offset, bitfield->n_bits); in extract_float_endpoints()
886 bit_offset += bitfield->n_bits; in extract_float_endpoints()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dh264_utils.cpp1125 OMX_S32 h264_stream_parser::iv(OMX_U32 n_bits) in iv() argument
1127 OMX_U32 code_num = extract_bits(n_bits); in iv()
1128 …OMX_S32 ret = (code_num >> (n_bits - 1))? (-1)*(~(code_num & ~(0x1 << (n_bits - 1))) + 1) : code_n… in iv()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dh264_utils.cpp1125 OMX_S32 h264_stream_parser::iv(OMX_U32 n_bits) in iv() argument
1127 OMX_U32 code_num = extract_bits(n_bits); in iv()
1128 …OMX_S32 ret = (code_num >> (n_bits - 1))? (-1)*(~(code_num & ~(0x1 << (n_bits - 1))) + 1) : code_n… in iv()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dh264_utils.cpp1125 OMX_S32 h264_stream_parser::iv(OMX_U32 n_bits) in iv() argument
1127 OMX_U32 code_num = extract_bits(n_bits); in iv()
1128 …OMX_S32 ret = (code_num >> (n_bits - 1))? (-1)*(~(code_num & ~(0x1 << (n_bits - 1))) + 1) : code_n… in iv()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dh264_utils.cpp1207 OMX_S32 h264_stream_parser::iv(OMX_U32 n_bits) in iv() argument
1209 OMX_U32 code_num = extract_bits(n_bits); in iv()
1210 …OMX_S32 ret = (code_num >> (n_bits - 1))? (-1)*(~(code_num & ~(0x1 << (n_bits - 1))) + 1) : code_n… in iv()
/hardware/qcom/sm8150/media/libarbitrarybytes/src/
Dh264_utils.cpp1116 OMX_S32 h264_stream_parser::iv(OMX_U32 n_bits) in iv() argument
1118 OMX_U32 code_num = extract_bits(n_bits); in iv()
1119 …OMX_S32 ret = (code_num >> (n_bits - 1))? (-1)*(~(code_num & ~(0x1 << (n_bits - 1))) + 1) : code_n… in iv()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dh264_utils.h439 OMX_S32 iv(OMX_U32 n_bits);
/hardware/qcom/sm8150/media/libarbitrarybytes/inc/
Dh264_utils.h394 OMX_S32 iv(OMX_U32 n_bits);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dh264_utils.h439 OMX_S32 iv(OMX_U32 n_bits);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dh264_utils.h439 OMX_S32 iv(OMX_U32 n_bits);
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dh264_utils.h439 OMX_S32 iv(OMX_U32 n_bits);