Lines Matching defs:bytes
50 /* Tile dimensions. Width and span are in bytes, height is in pixels (i.e.
51 * unitless). A "span" is the most number of bytes we can copy from linear
87 rgba8_copy(void *dst, const void *src, size_t bytes)
92 assert(bytes % 4 == 0);
94 while (bytes >= 4) {
98 bytes -= 4;
163 rgba8_copy_aligned_dst(void *dst, const void *src, size_t bytes)
165 assert(bytes == 0 || !(((uintptr_t)dst) & 0xf));
168 if (bytes == 64) {
176 while (bytes >= 16) {
180 bytes -= 16;
184 rgba8_copy(dst, src, bytes);
193 rgba8_copy_aligned_src(void *dst, const void *src, size_t bytes)
195 assert(bytes == 0 || !(((uintptr_t)src) & 0xf));
198 if (bytes == 64) {
206 while (bytes >= 16) {
210 bytes -= 16;
214 rgba8_copy(dst, src, bytes);
221 * These ranges are in bytes, i.e. pixels * bytes-per-pixel.
303 * (x / column_width) * bytes_per_column // column number * bytes per column
467 * (x / column_width) * bytes_per_column // column number * bytes per column
825 * The X range is in bytes, i.e. pixels * bytes-per-pixel.
916 * The X range is in bytes, i.e. pixels * bytes-per-pixel.