Lines Matching refs:rowBytes
278 int width, int height, size_t rowBytes, in compress_4x4_a8_to_64bit() argument
294 memcpy(block + k*4, src + k*rowBytes + 4*x, 4); in compress_4x4_a8_to_64bit()
301 src += 4 * rowBytes; in compress_4x4_a8_to_64bit()
424 static uint64_t compress_r11eac_block_fast(const uint8_t* src, size_t rowBytes) { in compress_r11eac_block_fast() argument
427 const uint32_t alphaRow2 = *(reinterpret_cast<const uint32_t*>(src + rowBytes)); in compress_r11eac_block_fast()
428 const uint32_t alphaRow3 = *(reinterpret_cast<const uint32_t*>(src + 2*rowBytes)); in compress_r11eac_block_fast()
429 const uint32_t alphaRow4 = *(reinterpret_cast<const uint32_t*>(src + 3*rowBytes)); in compress_r11eac_block_fast()
465 int width, int height, size_t rowBytes) { in compress_a8_to_r11eac_fast() argument
478 *encPtr = compress_r11eac_block_fast(src + 4*x, rowBytes); in compress_a8_to_r11eac_fast()
481 src += 4 * rowBytes; in compress_a8_to_r11eac_fast()
622 bool CompressA8ToR11EAC(uint8_t* dst, const uint8_t* src, int width, int height, size_t rowBytes) { in CompressA8ToR11EAC() argument
626 return compress_4x4_a8_to_64bit(dst, src, width, height, rowBytes, compress_r11eac_block); in CompressA8ToR11EAC()
630 return compress_a8_to_r11eac_fast(dst, src, width, height, rowBytes); in CompressA8ToR11EAC()