Important: The information in this document is obsolete and should not be used for new development.
Transfer Omit Byte Masks and Shifts
ThegxOmitTransferMask1enumeration defines which bits in an omit byte correspond to the data compression opcode for the field descriptors in thegxTransferModestructure. The sequence of data is also defined. The omit byte and its related data sequence is given in the section "Transfer Mode Data" beginning on page 7-44.
enum gxOmitTransferMask1 { gxOmitTransferSpaceMask = 0xC0, gxOmitTransferSetMask = 0x30, gxOmitTransferProfileMask = 0x0C };Constant descriptions
Once one of the
- gxOmitTransferSpaceMask
- The mask used to select the data compression bits for the
spacefield descriptor.- gxOmitTransferSetMask
- The mask used to select the data compression bits for the
setfield descriptor.- gxOmitTransferProfileMask
- The mask used to select the data compression bits for the
profilefield descriptor.gxOmitTransferMask1enumeration masks has been used to select a data compression opcode for a field descriptor in thegxTransferModestructure, the corresponding bit shift from the gxOmitTransferShift1 enumeration can be applied to the selected bits. The selected bits must be moved to the right by the indicated number of bits to isolate the data compression opcode so that it can be compared to other values.
enum gxOmitTransferShift1 { gxOmitTransferSpaceShift = 6, gxOmitTransferSetShift = 4, gxOmitTransferProfileShift = 2 };Constant descriptions
The
- gxOmitTransferSpaceShift
- The bit shift required to isolate the compression bits for the
spacefield descriptor.- gxOmitTransferSetShift
- The bit shift required to isolate the compression bits for the
setfield descriptor.- gxOmitTransferProfileShift
- The bit shift required to isolate the compression bits for the
profilefield descriptor.gxOmitTransferMask2enumeration defines which bits in a second omit byte correspond to the data compression opcode for additional field descriptors in thegxTransferModestructure. The sequence of data is also defined. The omit byte and its related data sequence is given in the section "Transfer Mode Data" beginning on page 7-44.
enum gxOmitTransferMask2 { gxOmitTransferSourceMatrixMask= 0xC0, gxOmitTransferDeviceMatrixMask= 0x30, gxOmitTransferResultMatrixMask= 0x0C, gxOmitTransferFlagsMask = 0x03 };Constant descriptions
Once one of the
- gxOmitTransferSourceMatrixMask
- The mask used to select the data compression bits for the
sourceMatrixfield descriptor.- gxOmitTransferDeviceMatrixMask
- The mask used to select the data compression bits for the
deviceMatrixfield descriptor.- gxOmitTransferResultMatrixMask
- The mask used to select the data compression bits for the
resultMatrixfield descriptor.- gxOmitTransferFlagsMask
- The mask used to select the data compression bits for the
flagsfield descriptor.gxOmitTransferMask2enumeration masks has been used to select a data compression opcode for a field descriptor in thegxTransferModestructure, the corresponding bit shift from the gxOmitTransferShift2 enumeration can be applied to the selected bits. The selected bits must be moved to the right by the indicated number of bits to isolate the data compression opcode so that it can be compared to other values.
enum gxOmitTransferShift2 { gxOmitTransferSourceMatrixShift = 6, gxOmitTransferDeviceMatrixShift = 4, gxOmitTransferResultMatrixShift = 2, gxOmitTransferFlagsShift = 0 };Constant descriptions
- gxOmitTransferSourceMatrixShift
- The bit shift required to isolate the compression bits for the
sourceMatrixfield descriptor.- gxOmitTransferDeviceMatrixShift
- The bit shift required to isolate the compression bits for the
deviceMatrixfield descriptor.- gxOmitTransferResultMatrixShift
- The bit shift required to isolate the compression bits for the
resultMatrixfield descriptor.- gxOmitTransferFlagsShift
- The bit shift required to isolate the compression bits for the
flagsfield descriptor.