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

Function stbi__compute_y_16

include/stb/stb_image.h:1803–1806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1801// nothing
1802#else
1803static stbi__uint16 stbi__compute_y_16(int r, int g, int b)
1804{
1805 return (stbi__uint16) (((r*77) + (g*150) + (29*b)) >> 8);
1806}
1807#endif
1808
1809#if defined(STBI_NO_PNG) && defined(STBI_NO_PSD)

Callers 1

stbi__convert_format16Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected