psl1ght
A free SDK for Sony's PS3 console
Data Fields
_gcmTransferScale Struct Reference

Specify scaled image blit geometry and format for rsxSetTransferScaleSurface(). More...

#include <gcm_sys.h>

Data Fields

u32 conversion
 Conversion to perform when converting pixels to lower bit precision. More...
 
u32 format
 Format of source image pixels. More...
 
u32 operation
 Blit operation. More...
 
s16 clipX
 X origin of clipping rectangle, within the destination surface.
 
s16 clipY
 Y origin of clipping rectangle, within the destination surface.
 
u16 clipW
 Width of clipping rectangle, within the destination surface.
 
u16 clipH
 Height of clipping rectangle, within the destination surface.
 
s16 outX
 X origin of destination rectangle.
 
s16 outY
 Y origin of destination rectangle.
 
u16 outW
 Width of the destination rectangle.
 
u16 outH
 Height of the destination rectangle.
 
s32 ratioX
 Ratio in X direction of the source rectangle size to the destination rectangle size, encoded as a 32-bit signed fixed-point number. Such a value can be obtained from a floating point number by rsxGetFixedSint32().
 
s32 ratioY
 Ratio in Y direction of the source rectangle size to the destination rectangle size, encoded as a 32-bit signed fixed-point number. Such a value can be obtained from a floating point number by rsxGetFixedSint32().
 
u16 inW
 Width of the source rectangle.
 
u16 inH
 Height of the source rectangle.
 
u16 pitch
 Pitch size, in bytes, of the source image data (width multiplied by the number of bytes in each pixel).
 
u8 origin
 How the origin of each pixel is determined. More...
 
u8 interp
 Sampling for scaled blits. More...
 
u32 offset
 Image data offset, e.g., a value returned by gcmAddressToOffset() or gcmMapMainMemory().
 
u16 inX
 X origin of the blit rectangle in the source image. Format is 16-bit fixed point, see rsxGetFixedUint16().
 
u16 inY
 Y origin of the blit rectangle in the source image. Format is 16-bit fixed point, see rsxGetFixedUint16().
 

Detailed Description

Specify scaled image blit geometry and format for rsxSetTransferScaleSurface().

Field Documentation

◆ conversion

u32 _gcmTransferScale::conversion

Conversion to perform when converting pixels to lower bit precision.

Possible values:

◆ format

u32 _gcmTransferScale::format

◆ interp

u8 _gcmTransferScale::interp

Sampling for scaled blits.

Possible values:

◆ operation

u32 _gcmTransferScale::operation

◆ origin

u8 _gcmTransferScale::origin

How the origin of each pixel is determined.

Possible values:


The documentation for this struct was generated from the following file: