MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / stbi__copyval

Function stbi__copyval

Source/Utils/stb_image.h:6378–6385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6376}
6377
6378static void stbi__copyval(int channel,stbi_uc *dest,const stbi_uc *src)
6379{
6380 int mask=0x80,i;
6381
6382 for (i=0;i<4; ++i, mask>>=1)
6383 if (channel&mask)
6384 dest[i]=src[i];
6385}
6386
6387static stbi_uc *stbi__pic_load_core(stbi__context *s,int width,int height,int *comp, stbi_uc *result)
6388{

Callers 1

stbi__pic_load_coreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected