Lines Matching refs:modifierIdx
481 for (size_t modifierIdx = 0; modifierIdx < 4; modifierIdx++) in decodeIndividualOrDifferentialBlock() local
483 const int i1 = intensityModifier[u.idht.mode.idm.cw1][modifierIdx]; in decodeIndividualOrDifferentialBlock()
484 subblockColors0[modifierIdx] = createRGBA(r1 + i1, g1 + i1, b1 + i1); in decodeIndividualOrDifferentialBlock()
486 const int i2 = intensityModifier[u.idht.mode.idm.cw2][modifierIdx]; in decodeIndividualOrDifferentialBlock()
487 subblockColors1[modifierIdx] = createRGBA(r2 + i2, g2 + i2, b2 + i2); in decodeIndividualOrDifferentialBlock()
1164 for (size_t modifierIdx = 0; modifierIdx < 4; modifierIdx++) in transcodeIndividualOrDifferentialBlockToBC1() local
1166 if (nonOpaquePunchThroughAlpha && (modifierIdx == 2)) in transcodeIndividualOrDifferentialBlockToBC1()
1172 subblockColors[modifierIdx] = createRGBA(0, 0, 0, 0); in transcodeIndividualOrDifferentialBlockToBC1()
1173 subblockColors[4 + modifierIdx] = createRGBA(0, 0, 0, 0); in transcodeIndividualOrDifferentialBlockToBC1()
1177 const int i1 = intensityModifier[u.idht.mode.idm.cw1][modifierIdx]; in transcodeIndividualOrDifferentialBlockToBC1()
1178 subblockColors[modifierIdx] = createRGBA(r1 + i1, g1 + i1, b1 + i1); in transcodeIndividualOrDifferentialBlockToBC1()
1180 const int i2 = intensityModifier[u.idht.mode.idm.cw2][modifierIdx]; in transcodeIndividualOrDifferentialBlockToBC1()
1181 subblockColors[4 + modifierIdx] = createRGBA(r2 + i2, g2 + i2, b2 + i2); in transcodeIndividualOrDifferentialBlockToBC1()