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

Function LoadPixel

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

Load a given pixel from the pixel list into a SSE register

Source from the content-addressed store, hash-verified

105
106// Load a given pixel from the pixel list into a SSE register
107inline __m128 LoadPixel(const float * rgbaBuffer, float & inAlpha)
108{
109 inAlpha = rgbaBuffer[3];
110 return _mm_loadu_ps(rgbaBuffer);
111}
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)

Callers 1

applyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected