Home
last modified time | relevance | path

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

/dports/graphics/jogamp-jogl/jogl/src/nativewindow/classes/com/jogamp/nativewindow/util/
H A DPixelFormat.java525 private final int[] compBitShift; field in PixelFormat.PackedComposition
546 this.compBitShift = new int[componentCount]; in PackedComposition()
551 this.compBitShift[i] = bpc * i; in PackedComposition()
572 this.compBitShift = componentBitShift; in PackedComposition()
658 return ( c1NormI8 & compMask[0] ) << compBitShift[0] | in encode3CompI8()
659 ( c2NormI8 & compMask[1] ) << compBitShift[1] | in encode3CompI8()
681 return shiftResult ? v << compBitShift[cIdx] : v; in fromFloat()
688 return shiftResult ? v << compBitShift[cIdx] : v; in defaultValue()
704 for(int i=compBitShift.length-1; i>=0; i--) { in hashCodeImpl()
705 hash = ((hash << 5) - hash) + compBitShift[i]; in hashCodeImpl()
[all …]
/dports/graphics/jogamp-jogl/jogl/src/test/com/jogamp/opengl/test/junit/jogl/util/texture/
H A DTestPixelFormatUtil00NEWT.java95 final int compBitShift = 15; in testConversion00() local
97 final int v_alpha = ( c4NormI8_alpha & compMask ) << compBitShift ; in testConversion00()
98 final int v_undef = ( c4NormI8_undef & compMask ) << compBitShift ; in testConversion00()