vitasdk
Documentation of the vitasdk

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceIftuForDriver_stub



Functions

 VITASDK_BUILD_ASSERT_EQ (0x3C, SceIftuCscParams)
 
 VITASDK_BUILD_ASSERT_EQ (0x28, SceIftuConvParams)
 
 VITASDK_BUILD_ASSERT_EQ (0x20, SceIftuFrameBuf)
 
 VITASDK_BUILD_ASSERT_EQ (0x54, SceIftuPlaneState)
 
int ksceIftuCsc (SceIftuFrameBuf *dst, SceIftuPlaneState *src, SceIftuConvParams *params)
 

Data Structure Documentation

◆ SceIftuCscParams

struct SceIftuCscParams
Data Fields
unsigned int post_add_0
unsigned int post_add_1_2
unsigned int post_clamp_max_0
unsigned int post_clamp_min_0
unsigned int post_clamp_max_1_2
unsigned int post_clamp_min_1_2
unsigned int ctm[3][3]

◆ SceIftuConvParams

struct SceIftuConvParams
Data Fields
unsigned int size
unsigned int unk04
SceIftuCscParams * csc_params1
SceIftuCscParams * csc_params2
unsigned int csc_control
unsigned int unk14
unsigned int unk18
unsigned int unk1C
unsigned int alpha
unsigned int unk24

◆ SceIftuFrameBuf

struct SceIftuFrameBuf
Data Fields
unsigned int pixelformat
unsigned int width
unsigned int height
unsigned int leftover_stride
unsigned int leftover_align
unsigned int paddr0
unsigned int paddr1
unsigned int paddr2

◆ SceIftuPlaneState

struct SceIftuPlaneState
Data Fields
SceIftuFrameBuf fb
unsigned int unk20
unsigned int src_x
unsigned int src_y
unsigned int src_w
unsigned int src_h
unsigned int dst_x
unsigned int dst_y
unsigned int dst_w
unsigned int dst_h
unsigned int vtop_padding
unsigned int vbot_padding
unsigned int hleft_padding
unsigned int hright_padding

Enumeration Type Documentation

◆ SceIftuErrorCode

Enumerator
SCE_IFTU_ERROR_INVALID_PLANE 
SCE_IFTU_ERROR_INVALID_PARAM 
SCE_IFTU_ERROR_INVALID_PIXELFORMAT 
SCE_IFTU_ERROR_PLANE_BUSY 

◆ SceIftuPixelformat

Enumerator
SCE_IFTU_PIXELFORMAT_BGR565 
SCE_IFTU_PIXELFORMAT_RGB565 
SCE_IFTU_PIXELFORMAT_BGRA5551 
SCE_IFTU_PIXELFORMAT_RGBA5551 
SCE_IFTU_PIXELFORMAT_BGRX8888 
SCE_IFTU_PIXELFORMAT_RGBX8888 
SCE_IFTU_PIXELFORMAT_BGRA1010102 
SCE_IFTU_PIXELFORMAT_RGBA1010102 
SCE_IFTU_PIXELFORMAT_BGRP 
SCE_IFTU_PIXELFORMAT_RGBX8888_MULT 
SCE_IFTU_PIXELFORMAT_BGRX8888_MULT 
SCE_IFTU_PIXELFORMAT_RGBA1010102_MULT 
SCE_IFTU_PIXELFORMAT_BGRA1010102_MULT 
SCE_IFTU_PIXELFORMAT_NV12 
SCE_IFTU_PIXELFORMAT_YUV420 
SCE_IFTU_PIXELFORMAT_YUV422 

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ() [1/4]

VITASDK_BUILD_ASSERT_EQ ( 0x3C  ,
SceIftuCscParams   
)

◆ VITASDK_BUILD_ASSERT_EQ() [2/4]

VITASDK_BUILD_ASSERT_EQ ( 0x28  ,
SceIftuConvParams   
)

◆ VITASDK_BUILD_ASSERT_EQ() [3/4]

VITASDK_BUILD_ASSERT_EQ ( 0x20  ,
SceIftuFrameBuf   
)

◆ VITASDK_BUILD_ASSERT_EQ() [4/4]

VITASDK_BUILD_ASSERT_EQ ( 0x54  ,
SceIftuPlaneState   
)

◆ ksceIftuCsc()

int ksceIftuCsc ( SceIftuFrameBuf dst,
SceIftuPlaneState src,
SceIftuConvParams params 
)