MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / StorePixel

Function StorePixel

src/OpenColorIO/ops/cdl/CDLOpCPU.cpp:114–118  ·  view source on GitHub ↗

Store the pixel's values into a given pixel list's position

Source from the content-addressed store, hash-verified

112
113// Store the pixel's values into a given pixel list's position
114inline void StorePixel(float * rgbaBuffer, const __m128 pix, const float outAlpha)
115{
116 _mm_storeu_ps(rgbaBuffer, pix);
117 rgbaBuffer[3] = outAlpha;
118}
119
120// Conditionally clamp the pixel's values to the range [0, 1]
121// When the template argument is true, the clamp mode is used,

Callers 1

applyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected