Home
last modified time | relevance | path

Searched refs:bit_offset (Results 1 – 7 of 7) sorted by relevance

/hardware/google/gchips/videoapi/
DVendorVideoAPI.cpp30 #define CHECK_BOUNDARY(bit_offset, size) { \ argument
31 if ((bit_offset) > (size) * 8) { \
33 __func__, __LINE__, (bit_offset), (size) * 8); \
55 int bit_offset = 0; in Exynos_parsing_user_data_registered_itu_t_t35() local
79 CHECK_BOUNDARY(bit_offset + 8, size); in Exynos_parsing_user_data_registered_itu_t_t35()
83 data |= (*((char *)src + (bit_offset / 8) + i) & (1 << j)); in Exynos_parsing_user_data_registered_itu_t_t35()
86 bit_offset += 8; in Exynos_parsing_user_data_registered_itu_t_t35()
90 CHECK_BOUNDARY(bit_offset + 16, size); in Exynos_parsing_user_data_registered_itu_t_t35()
94 data |= (*((char *)src + (bit_offset / 8) + i) & (1 << j)); in Exynos_parsing_user_data_registered_itu_t_t35()
97 bit_offset += 16; in Exynos_parsing_user_data_registered_itu_t_t35()
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_integer_sequence.cpp504 unsigned int bit_offset in encode_ise() argument
535 write_bits(pack, bits + 2, bit_offset, output_data); in encode_ise()
536 bit_offset += bits + 2; in encode_ise()
540 write_bits(pack, bits + 2, bit_offset, output_data); in encode_ise()
541 bit_offset += bits + 2; in encode_ise()
545 write_bits(pack, bits + 1, bit_offset, output_data); in encode_ise()
546 bit_offset += bits + 1; in encode_ise()
550 write_bits(pack, bits + 2, bit_offset, output_data); in encode_ise()
551 bit_offset += bits + 2; in encode_ise()
555 write_bits(pack, bits + 1, bit_offset, output_data); in encode_ise()
[all …]
Dastcenc_internal.h1366 unsigned int bit_offset);
1385 unsigned int bit_offset);
Dstb_image.h5532 int bit_offset = 7, v = stbi__get8(s); in stbi__bmp_load() local
5534 int color = (v>>bit_offset)&0x1; in stbi__bmp_load()
5540 if((--bit_offset) < 0) { in stbi__bmp_load()
5541 bit_offset = 7; in stbi__bmp_load()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Dtexcompress_bptc_tmp.h357 int bit_offset, in extract_unorm_endpoints() argument
371 extract_bits(block, bit_offset, mode->n_color_bits); in extract_unorm_endpoints()
372 bit_offset += mode->n_color_bits; in extract_unorm_endpoints()
382 extract_bits(block, bit_offset, mode->n_alpha_bits); in extract_unorm_endpoints()
383 bit_offset += mode->n_alpha_bits; in extract_unorm_endpoints()
400 pbit = extract_bits(block, bit_offset, 1); in extract_unorm_endpoints()
401 bit_offset += 1; in extract_unorm_endpoints()
411 pbit = extract_bits(block, bit_offset, 1); in extract_unorm_endpoints()
412 bit_offset += 1; in extract_unorm_endpoints()
444 return bit_offset; in extract_unorm_endpoints()
[all …]
/hardware/google/aemu/host-common/include/host-common/
DVpxFrameParser.h38 size_t bit_offset = 0; variable
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image.h5539 int bit_offset = 7, v = stbi__get8(s); in stbi__bmp_load() local
5541 int color = (v>>bit_offset)&0x1; in stbi__bmp_load()
5547 if((--bit_offset) < 0) { in stbi__bmp_load()
5548 bit_offset = 7; in stbi__bmp_load()