MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / stbi__copyval

Function stbi__copyval

include/stb/stb_image.h:6381–6388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

stbi__pic_load_coreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected