Home
last modified time | relevance | path

Searched refs:kBlockSize (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
Drgtc.cpp29 static constexpr int kBlockSize = 4; variable
107 uint8_t pixels[kBlockSize * kBlockSize * 2]; in rgtc_decode_image()
108 for (uint32_t y = 0; y < height; y += kBlockSize) { in rgtc_decode_image()
110 if (yEnd > kBlockSize) { in rgtc_decode_image()
111 yEnd = kBlockSize; in rgtc_decode_image()
113 for (uint32_t x = 0; x < width; x += kBlockSize) { in rgtc_decode_image()
115 if (xEnd > kBlockSize) { in rgtc_decode_image()
116 xEnd = kBlockSize; in rgtc_decode_image()
137 std::memcpy(data_out, pixels + kBlockSize * texel_size * cy, texel_size * xEnd); in rgtc_decode_image()
146 uint32_t w = (width + kBlockSize - 1) / kBlockSize; in rgtc_get_encoded_image_size()
[all …]
/hardware/libhardware/modules/camera/3_4/arc/
Djpeg_compressor.cpp54 buffer.resize(kBlockSize); in InitDestination()
63 buffer.resize(oldsize + kBlockSize); in EmptyOutputBuffer()
65 dest->mgr.free_in_buffer = kBlockSize; in EmptyOutputBuffer()
Djpeg_compressor.h62 static const int kBlockSize = 16384; variable