Lines Matching refs:channelNdx
1437 for (int channelNdx = 0; channelNdx < 4; channelNdx++) in setTexelColors() local
1439 …if (!isHDREndpoint[colorEndpointNdx] || (channelNdx == 3 && colorEndpointModes[colorEndpointNdx] =… in setTexelColors()
1441 const deUint32 c0 = (e0[channelNdx] << 8) | (isSRGB ? 0x80 : e0[channelNdx]); in setTexelColors()
1442 const deUint32 c1 = (e1[channelNdx] << 8) | (isSRGB ? 0x80 : e1[channelNdx]); in setTexelColors()
1443 const deUint32 w = weight.w[ccs == channelNdx ? 1 : 0]; in setTexelColors()
1447 ((deUint8*)dst)[texelNdx*4 + channelNdx] = (deUint8)((c & 0xff00) >> 8); in setTexelColors()
1449 ((float*)dst)[texelNdx*4 + channelNdx] = c == 65535 ? 1.0f : (float)c / 65536.0f; in setTexelColors()
1454 const deUint32 c0 = e0[channelNdx] << 4; in setTexelColors()
1455 const deUint32 c1 = e1[channelNdx] << 4; in setTexelColors()
1456 const deUint32 w = weight.w[ccs == channelNdx ? 1 : 0]; in setTexelColors()
1465 ((float*)dst)[texelNdx*4 + channelNdx] = deFloat16To32(isFloat16InfOrNan(cf) ? 0x7bff : cf); in setTexelColors()