Home
last modified time | relevance | path

Searched refs:destF (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/OpenGL/common/
DImage.cpp661 float *destF = reinterpret_cast<float*>(dest); in TransferRow() local
665 destF[4 * x + 0] = sourceF[x * 3 + 0]; in TransferRow()
666 destF[4 * x + 1] = sourceF[x * 3 + 1]; in TransferRow()
667 destF[4 * x + 2] = sourceF[x * 3 + 2]; in TransferRow()
668 destF[4 * x + 3] = 1.0f; in TransferRow()
753 sw::half *destF = reinterpret_cast<sw::half*>(dest); in TransferRow() local
755 for(int x = 0; x < width; x++, sourceRGB++, destF += 4) in TransferRow()
757 sourceRGB->toRGB16F(destF); in TransferRow()
758 destF[3] = 1.0f; in TransferRow()
766 sw::half *destF = reinterpret_cast<sw::half*>(dest); in TransferRow() local
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blend.c819 GLfloat (*rgbaF)[4], (*destF)[4]; in blend_general() local
822 destF = (GLfloat (*)[4]) malloc(4 * n * sizeof(GLfloat)); in blend_general()
823 if (!rgbaF || !destF) { in blend_general()
825 free(destF); in blend_general()
841 destF[i][RCOMP] = UBYTE_TO_FLOAT(dest[i][RCOMP]); in blend_general()
842 destF[i][GCOMP] = UBYTE_TO_FLOAT(dest[i][GCOMP]); in blend_general()
843 destF[i][BCOMP] = UBYTE_TO_FLOAT(dest[i][BCOMP]); in blend_general()
844 destF[i][ACOMP] = UBYTE_TO_FLOAT(dest[i][ACOMP]); in blend_general()
848 blend_general_float(ctx, n, mask, rgbaF, destF, chanType); in blend_general()
866 destF[i][RCOMP] = USHORT_TO_FLOAT(dest[i][RCOMP]); in blend_general()
[all …]