Home
last modified time | relevance | path

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

/third_party/astc-encoder/Source/
Dstb_image.h4597 int filter_bytes = img_n*bytes; in stbi__create_png_image_raw() local
4624 filter_bytes = 1; in stbi__create_png_image_raw()
4633 for (k=0; k < filter_bytes; ++k) { in stbi__create_png_image_raw()
4653 cur[filter_bytes] = 255; // first pixel top byte in stbi__create_png_image_raw()
4654 cur[filter_bytes+1] = 255; // first pixel bottom byte in stbi__create_png_image_raw()
4656 raw += filter_bytes; in stbi__create_png_image_raw()
4667 int nk = (width - 1)*filter_bytes; in stbi__create_png_image_raw()
4674 … STBI__CASE(STBI__F_sub) { cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); } break; in stbi__create_png_image_raw()
4676 …F_avg) { cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); } break; in stbi__create_png_image_raw()
4677 … { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes in stbi__create_png_image_raw()
[all …]