psl1ght
A free SDK for Sony's PS3 console
Loading...
Searching...
No Matches
_gcmTransferScale Struct Reference

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

#include <gcm_sys.h>

Data Fields

u32 conversion
 Not sure what this dones. Possible values:
 
u32 format
 Format of image data. Possible values:
 
u32 operation
 Blit operation. Possible values:
 
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. Possible values:
 
u8 interp
 Sampling for scaled blits. Possible values:
 
u32 offset
 Image data offset, e.g., a value returned by gcmAddressToOffset() or gcmMapMainMemory().
 
u16 inX
 X origin of destination rectangle.
 
u16 inY
 Y origin of destination rectangle.
 

Detailed Description

Specify scaled image blit geometry and format for rsxSetTransferImage()

Definition at line 966 of file gcm_sys.h.

Field Documentation

◆ clipH

u16 _gcmTransferScale::clipH

Height of clipping rectangle, within the destination surface.

Definition at line 1012 of file gcm_sys.h.

◆ clipW

u16 _gcmTransferScale::clipW

Width of clipping rectangle, within the destination surface.

Definition at line 1009 of file gcm_sys.h.

◆ clipX

s16 _gcmTransferScale::clipX

X origin of clipping rectangle, within the destination surface.

Definition at line 1003 of file gcm_sys.h.

◆ clipY

s16 _gcmTransferScale::clipY

Y origin of clipping rectangle, within the destination surface.

Definition at line 1006 of file gcm_sys.h.

◆ conversion

u32 _gcmTransferScale::conversion

Not sure what this dones. Possible values:

Definition at line 973 of file gcm_sys.h.

◆ format

◆ inH

u16 _gcmTransferScale::inH

Height of the source rectangle.

Definition at line 1036 of file gcm_sys.h.

◆ interp

u8 _gcmTransferScale::interp

Sampling for scaled blits. Possible values:

  • GCM_TRANSFER_INTERPOLATOR_NEAREST: no interpolation
  • GCM_TRANSFER_INTERPOLATOR_LINEAR: bilinear interpolation

Definition at line 1051 of file gcm_sys.h.

◆ inW

u16 _gcmTransferScale::inW

Width of the source rectangle.

Definition at line 1033 of file gcm_sys.h.

◆ inX

u16 _gcmTransferScale::inX

X origin of destination rectangle.

Definition at line 1057 of file gcm_sys.h.

◆ inY

u16 _gcmTransferScale::inY

Y origin of destination rectangle.

Definition at line 1060 of file gcm_sys.h.

◆ offset

u32 _gcmTransferScale::offset

Image data offset, e.g., a value returned by gcmAddressToOffset() or gcmMapMainMemory().

Definition at line 1054 of file gcm_sys.h.

◆ operation

◆ origin

u8 _gcmTransferScale::origin

How the origin of each pixel is determined. Possible values:

Definition at line 1045 of file gcm_sys.h.

◆ outH

u16 _gcmTransferScale::outH

Height of the destination rectangle.

Definition at line 1024 of file gcm_sys.h.

◆ outW

u16 _gcmTransferScale::outW

Width of the destination rectangle.

Definition at line 1021 of file gcm_sys.h.

◆ outX

s16 _gcmTransferScale::outX

X origin of destination rectangle.

Definition at line 1015 of file gcm_sys.h.

◆ outY

s16 _gcmTransferScale::outY

Y origin of destination rectangle.

Definition at line 1018 of file gcm_sys.h.

◆ pitch

u16 _gcmTransferScale::pitch

Pitch size, in bytes, of the source image data (width multiplied by the number of bytes in each pixel).

Definition at line 1039 of file gcm_sys.h.

◆ ratioX

s32 _gcmTransferScale::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().

Definition at line 1027 of file gcm_sys.h.

◆ ratioY

s32 _gcmTransferScale::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().

Definition at line 1030 of file gcm_sys.h.


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