Home
last modified time | relevance | path

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

/third_party/astc-encoder/Source/
H A Dstb_image.h4660 int filter_bytes = img_n*bytes; in stbi__create_png_image_raw() local
4687 filter_bytes = 1; in stbi__create_png_image_raw()
4696 for (k=0; k < filter_bytes; ++k) { in stbi__create_png_image_raw()
4716 cur[filter_bytes] = 255; // first pixel top byte in stbi__create_png_image_raw()
4717 cur[filter_bytes+1] = 255; // first pixel bottom byte in stbi__create_png_image_raw()
4719 raw += filter_bytes; in stbi__create_png_image_raw()
4730 int nk = (width - 1)*filter_bytes; in stbi__create_png_image_raw()
4737 STBI__CASE(STBI__F_sub) { cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); } break; in stbi__create_png_image_raw()
4739 STBI__CASE(STBI__F_avg) { cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); } break; in stbi__create_png_image_raw()
4740 STBI__CASE(STBI__F_paeth) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prio in stbi__create_png_image_raw()
[all...]

Completed in 9 milliseconds