summaryrefslogtreecommitdiff
path: root/include/kernel/lowio
diff options
context:
space:
mode:
authorReiko Asakura2020-04-09 11:34:03 -0400
committerReiko Asakura2020-04-09 11:34:03 -0400
commit4e3d0c7fd656bc65187264870f800bfc2469e70b (patch)
treeb3d39e24cf3804383ed3decbc60a16ef625056ac /include/kernel/lowio
parentAdd prototype ksceDisplaySetScaleConf (diff)
downloadvds-libraries-4e3d0c7fd656bc65187264870f800bfc2469e70b.tar.gz
Corrections to SceIftuPlaneState
Diffstat (limited to 'include/kernel/lowio')
-rw-r--r--include/kernel/lowio/iftu.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/kernel/lowio/iftu.h b/include/kernel/lowio/iftu.h
index 29b233f..a03d221 100644
--- a/include/kernel/lowio/iftu.h
+++ b/include/kernel/lowio/iftu.h
@@ -69,19 +69,19 @@ typedef struct SceIftuFrameBuf {
typedef struct SceIftuPlaneState {
SceIftuFrameBuf fb;
- unsigned int unk20;
- unsigned int src_x; /* In (0x10000 / 960) multiples */
- unsigned int src_y; /* in (0x10000 / 544) multiples */
- unsigned int src_w; /* in (0x10000 / 960) multiples */
- unsigned int src_h; /* in (0x10000 / 544) multiples */
- unsigned int dst_x;
- unsigned int dst_y;
- unsigned int dst_w;
- unsigned int dst_h;
- unsigned int vtop_padding;
- unsigned int vbot_padding; /* h - aligned_h */
- unsigned int hleft_padding;
- unsigned int hright_padding; /* w - aligned_w */
+ unsigned int unk20; /* not observed to be non-zero */
+ unsigned int unk24; /* not observed to be non-zero */
+ unsigned int unk28; /* not observed to be non-zero */
+ unsigned int src_w; /* inverse scaling factor in 16.16 fixed point, greater than or equal to 0.25 */
+ unsigned int src_h; /* inverse scaling factor in 16.16 fixed point, greater than or equal to 0.25 */
+ unsigned int dst_x; /* offset into the destination buffer */
+ unsigned int dst_y; /* offset into the destination buffer */
+ unsigned int src_x; /* offset into the source buffer in 8.8 fixed point, strictly less than 4.0 */
+ unsigned int src_y; /* offset into the source buffer in 8.8 fixed point, strictly less than 4.0 */
+ unsigned int crop_top;
+ unsigned int crop_bot;
+ unsigned int crop_left;
+ unsigned int crop_right;
} SceIftuPlaneState;
int sceIftuCsc(SceIftuFrameBuf *dst, SceIftuPlaneState *src, SceIftuConvParams *params);