Home
last modified time | relevance | path

Searched refs:subcommandLength (Results 1 – 6 of 6) sorted by relevance

/dports/java/java3d/java3d-1.5.2/j3d-core-utils/src/classes/share/com/sun/j3d/utils/compression/
H A DCompressionStreamColor.java225 int subcommandLength = t.tagLength + (3 * componentLength) ; in outputColor() local
237 if (subcommandLength < 6) { in outputColor()
240 header |= (int)(colorSubcommand << (6 - subcommandLength)) ; in outputColor()
241 subcommandLength = 0 ; in outputColor()
245 header |= (int)(colorSubcommand >>> (subcommandLength - 6)) ; in outputColor()
246 subcommandLength -= 6 ; in outputColor()
253 subcommandLength += componentLength ; in outputColor()
258 colorSubcommand, subcommandLength) ; in outputColor()
H A DCompressionStreamVertex.java268 int subcommandLength = t.tagLength + (3 * componentLength) ; in outputCommand() local
280 if (subcommandLength < 6) { in outputCommand()
283 command |= (int)(positionSubcommand << (6 - subcommandLength)) ; in outputCommand()
284 subcommandLength = 0 ; in outputCommand()
288 command |= (int)(positionSubcommand >>> (subcommandLength - 6)) ; in outputCommand()
289 subcommandLength -= 6 ; in outputCommand()
294 (((long)stripFlag) << (subcommandLength + 1)) | in outputCommand()
295 (((long)meshFlag) << (subcommandLength + 0)) | in outputCommand()
296 (positionSubcommand & lengthMask[subcommandLength]) ; in outputCommand()
299 outputBuffer.addCommand(command, 8, body, subcommandLength + 3) ; in outputCommand()
H A DCompressionStreamNormal.java607 int subcommandLength = 0 ; in outputNormal() local
612 subcommandLength = t.tagLength + 6 ; in outputNormal()
624 subcommandLength = t.tagLength ; in outputNormal()
629 subcommandLength += (2 * componentLength) ; in outputNormal()
639 if (subcommandLength < 6) { in outputNormal()
642 header |= (int)(normalSubcommand << (6 - subcommandLength)) ; in outputNormal()
643 subcommandLength = 0 ; in outputNormal()
647 header |= (int)(normalSubcommand >>> (subcommandLength - 6)) ; in outputNormal()
648 subcommandLength -= 6 ; in outputNormal()
653 normalSubcommand, subcommandLength) ; in outputNormal()
/dports/java/java3d/java3d-1.5.2/j3d-core-utils/src/classes/share/com/sun/j3d/utils/geometry/compression/
H A DCompressionStreamColor.java225 int subcommandLength = t.tagLength + (3 * componentLength) ; in outputColor() local
237 if (subcommandLength < 6) { in outputColor()
240 header |= (int)(colorSubcommand << (6 - subcommandLength)) ; in outputColor()
241 subcommandLength = 0 ; in outputColor()
245 header |= (int)(colorSubcommand >>> (subcommandLength - 6)) ; in outputColor()
246 subcommandLength -= 6 ; in outputColor()
253 subcommandLength += componentLength ; in outputColor()
258 colorSubcommand, subcommandLength) ; in outputColor()
H A DCompressionStreamVertex.java268 int subcommandLength = t.tagLength + (3 * componentLength) ; in outputCommand() local
280 if (subcommandLength < 6) { in outputCommand()
283 command |= (int)(positionSubcommand << (6 - subcommandLength)) ; in outputCommand()
284 subcommandLength = 0 ; in outputCommand()
288 command |= (int)(positionSubcommand >>> (subcommandLength - 6)) ; in outputCommand()
289 subcommandLength -= 6 ; in outputCommand()
294 (((long)stripFlag) << (subcommandLength + 1)) | in outputCommand()
295 (((long)meshFlag) << (subcommandLength + 0)) | in outputCommand()
296 (positionSubcommand & lengthMask[subcommandLength]) ; in outputCommand()
299 outputBuffer.addCommand(command, 8, body, subcommandLength + 3) ; in outputCommand()
H A DCompressionStreamNormal.java607 int subcommandLength = 0 ; in outputNormal() local
612 subcommandLength = t.tagLength + 6 ; in outputNormal()
624 subcommandLength = t.tagLength ; in outputNormal()
629 subcommandLength += (2 * componentLength) ; in outputNormal()
639 if (subcommandLength < 6) { in outputNormal()
642 header |= (int)(normalSubcommand << (6 - subcommandLength)) ; in outputNormal()
643 subcommandLength = 0 ; in outputNormal()
647 header |= (int)(normalSubcommand >>> (subcommandLength - 6)) ; in outputNormal()
648 subcommandLength -= 6 ; in outputNormal()
653 normalSubcommand, subcommandLength) ; in outputNormal()