7 #ifndef _PSP2_CAMERA_H_
8 #define _PSP2_CAMERA_H_
int sceCameraGetEffect(int devnum, int *pMode)
Get active camera effects.
uint16_t height
Definition: camera.h:213
int sceCameraSetEV(int devnum, int level)
Set camera exposure compensation value.
int sceCameraSetNightmode(int devnum, int mode)
Set camera nightmoge mode.
SceCameraSaturation
Enumeration for the camera saturations.
Definition: camera.h:131
uint16_t framerate
Framerate (one of SceCameraFrameRate)
Definition: camera.h:211
int sceCameraGetSharpness(int devnum, int *pLevel)
Get camera sharpness value.
SceSize size
sizeof(SceCameraInfo)
Definition: camera.h:207
int sceCameraGetAntiFlicker(int devnum, int *pMode)
Get camera anti-flickering mode.
int sceCameraSetSharpness(int devnum, int level)
Set camera sharpness value.
int sceCameraGetEV(int devnum, int *pLevel)
Get camera exposure compensation value.
SceCameraReverse
Enumeration for the camera reverse modes.
Definition: camera.h:123
int sceCameraStop(int devnum)
Stop camera streaming.
uint16_t range
Definition: camera.h:214
SceCameraResolution
Enumeration for the camera resolutions.
Definition: camera.h:66
int sceCameraGetDeviceLocation(int devnum, SceFVector3 *pLocation)
Get camera device location.
int sceCameraGetWhiteBalance(int devnum, int *pMode)
Get camera white balance mode.
uint16_t resolution
Resolution (one of SceCameraResolution)
Definition: camera.h:210
int sceCameraGetGain(int devnum, int *pMode)
Get camera gain mode.
SceCameraWhiteBalance
Enumeration for the camera white balance modes.
Definition: camera.h:185
SceCameraFormat
Enumeration for the camera output formats.
Definition: camera.h:55
int sceCameraGetAutoControlHold(int devnum, int *pMode)
Get auto control hold mode.
int sceCameraGetBacklight(int devnum, int *pMode)
Get camera backlight compensation mode.
SceCameraFrameRate
Enumeration for the camera framerates.
Definition: camera.h:78
void * pUBase
Definition: camera.h:238
SceSize size
sizeof(SceCameraRead)
Definition: camera.h:228
int sceCameraGetContrast(int devnum, int *pLevel)
Get camera contrast value.
SceCameraPriority
Enumeration for the camera process priorities.
Definition: camera.h:49
void * pIBase
Definition: camera.h:237
SceCameraNightmode
Enumeration for the camera nightmode modes.
Definition: camera.h:199
SceSize sizeIBase
Definition: camera.h:234
uint16_t format
Output format (One or more SceCameraFormat)
Definition: camera.h:209
SceCameraDevice
Enumeration for the camera device types.
Definition: camera.h:43
int sceCameraSetSaturation(int devnum, int level)
Set camera saturation value.
int status
Definition: camera.h:231
SceCameraErrorCode
Camera error codes.
Definition: camera.h:19
VITASDK_BUILD_ASSERT_EQ(0x30, SceCameraInfo)
SceSize sizeVBase
Definition: camera.h:218
int mode
Definition: camera.h:229
SceCameraExposureCompensation
Enumeration for the camera exposure compensations.
Definition: camera.h:91
void * pIBase
Definition: camera.h:219
int sceCameraGetSaturation(int devnum, int *pLevel)
Get camera saturation value.
int pad
Definition: camera.h:230
uint16_t pad
Structure padding.
Definition: camera.h:215
int sceCameraRead(int devnum, SceCameraRead *pRead)
Read image data from current streaming.
int sceCameraSetSharpnessOff(int devnum, int level)
uint16_t pitch
Definition: camera.h:222
SceCameraSharpness
Enumeration for the camera sharpnesses.
Definition: camera.h:141
uint16_t width
Definition: camera.h:212
int sceCameraGetSharpnessOff(int devnum, int *pLevel)
int sceCameraGetBrightness(int devnum, int *pLevel)
Get camera brightness value.
SceSize sizeUBase
Definition: camera.h:217
int sceCameraSetExposureCeiling(int devnum, int mode)
Set exposure ceiling mode.
SceSize sizeIBase
Definition: camera.h:216
int sceCameraGetExposureCeiling(int devnum, int *pMode)
Get exposure ceiling mode.
int sceCameraSetGain(int devnum, int mode)
Set camera gain mode.
uint16_t priority
Process priority (one of SceCameraPriority)
Definition: camera.h:208
int sceCameraGetNoiseReduction(int devnum, int *pLevel)
SceSize sizeUBase
Definition: camera.h:235
SceSize sizeVBase
Definition: camera.h:236
int sceCameraOpen(int devnum, SceCameraInfo *pInfo)
Open a camera device.
int sceCameraSetAntiFlicker(int devnum, int mode)
Set camera exposure anti-flickering mode.
int sceCameraSetEffect(int devnum, int mode)
Active a camera effect.
uint64_t frame
Definition: camera.h:232
int sceCameraSetReverse(int devnum, int mode)
Set camera reverse mode.
int sceCameraStart(int devnum)
Start camera streaming.
int sceCameraSetContrast(int devnum, int level)
Set camera contrast value.
uint16_t buffer
Definition: camera.h:223
int sceCameraSetISO(int devnum, int mode)
Set camera ISO speed mode.
int sceCameraSetBacklight(int devnum, int mode)
Set camera backlight mode.
int sceCameraSetImageQuality(int devnum, int level)
int sceCameraClose(int devnum)
Close a camera device.
int sceCameraSetWhiteBalance(int devnum, int mode)
Set camera white balance mode.
int sceCameraGetNightmode(int devnum, int *pMode)
Get nightmode mode.
int sceCameraGetReverse(int devnum, int *pMode)
Get camera reverse mode.
int sceCameraGetImageQuality(int devnum, int *pLevel)
int sceCameraIsActive(int devnum)
Check if camera device is active.
void * pUBase
Definition: camera.h:220
int sceCameraSetBrightness(int devnum, int level)
Set camera brightness value.
int sceCameraGetISO(int devnum, int *pMode)
Get camera ISO speed mode.
SceCameraISO
Enumeration for the camera ISO speed modes.
Definition: camera.h:156
int sceCameraGetZoom(int devnum, int *pLevel)
Get camera zoom value.
int sceCameraSetNoiseReduction(int devnum, int level)
SceCameraBacklight
Enumeration for the camera backlight modes.
Definition: camera.h:193
uint64_t timestamp
Definition: camera.h:233
SceCameraAntiFlicker
Enumeration for the camera anti-flickering modes.
Definition: camera.h:149
void * pVBase
Definition: camera.h:239
int sceCameraSetZoom(int devnum, int level)
Set camera zoom value.
SceCameraEffect
Enumeration for the camera effects.
Definition: camera.h:112
void * pVBase
Definition: camera.h:221
int sceCameraSetAutoControlHold(int devnum, int mode)
Set auto control hold mode.
SceCameraGain
Enumeration for the camera gain modes.
Definition: camera.h:164
@ SCE_CAMERA_SATURATION_10
1.0
Definition: camera.h:134
@ SCE_CAMERA_SATURATION_40
4.0
Definition: camera.h:137
@ SCE_CAMERA_SATURATION_20
2.0
Definition: camera.h:135
@ SCE_CAMERA_SATURATION_30
3.0
Definition: camera.h:136
@ SCE_CAMERA_SATURATION_0
0.0
Definition: camera.h:132
@ SCE_CAMERA_SATURATION_5
0.5
Definition: camera.h:133
@ SCE_CAMERA_REVERSE_MIRROR_FLIP
Mirror + Flip mode.
Definition: camera.h:127
@ SCE_CAMERA_REVERSE_OFF
Reverse mode off.
Definition: camera.h:124
@ SCE_CAMERA_REVERSE_MIRROR
Mirror mode.
Definition: camera.h:125
@ SCE_CAMERA_REVERSE_FLIP
Flip mode.
Definition: camera.h:126
@ SCE_CAMERA_RESOLUTION_352_288
CIF resolution.
Definition: camera.h:71
@ SCE_CAMERA_RESOLUTION_480_272
PSP resolution.
Definition: camera.h:73
@ SCE_CAMERA_RESOLUTION_0_0
Invalid resolution.
Definition: camera.h:67
@ SCE_CAMERA_RESOLUTION_320_240
QVGA resolution.
Definition: camera.h:69
@ SCE_CAMERA_RESOLUTION_640_360
NGP resolution.
Definition: camera.h:74
@ SCE_CAMERA_RESOLUTION_160_120
QQVGA resolution.
Definition: camera.h:70
@ SCE_CAMERA_RESOLUTION_176_144
QCIF resolution.
Definition: camera.h:72
@ SCE_CAMERA_RESOLUTION_640_480
VGA resolution.
Definition: camera.h:68
@ SCE_CAMERA_WB_SLSA
Standard Light Source A mode.
Definition: camera.h:189
@ SCE_CAMERA_WB_AUTO
Automatic mode.
Definition: camera.h:186
@ SCE_CAMERA_WB_CWF
Cool White Fluorescent mode.
Definition: camera.h:188
@ SCE_CAMERA_WB_DAY
Daylight mode.
Definition: camera.h:187
@ SCE_CAMERA_FORMAT_INVALID
Invalid format.
Definition: camera.h:56
@ SCE_CAMERA_FORMAT_ABGR
ABGR pixels.
Definition: camera.h:61
@ SCE_CAMERA_FORMAT_YUV420_PLANE
YUV420 planes.
Definition: camera.h:59
@ SCE_CAMERA_FORMAT_ARGB
ARGB pixels.
Definition: camera.h:60
@ SCE_CAMERA_FORMAT_RAW8
8 bit raw data
Definition: camera.h:62
@ SCE_CAMERA_FORMAT_YUV422_PACKED
YUV422 pixels packed.
Definition: camera.h:58
@ SCE_CAMERA_FORMAT_YUV422_PLANE
YUV422 planes.
Definition: camera.h:57
@ SCE_CAMERA_FRAMERATE_5_FPS
5 fps
Definition: camera.h:80
@ SCE_CAMERA_FRAMERATE_20_FPS
20 fps
Definition: camera.h:84
@ SCE_CAMERA_FRAMERATE_10_FPS
10 fps
Definition: camera.h:82
@ SCE_CAMERA_FRAMERATE_60_FPS
60 fps
Definition: camera.h:86
@ SCE_CAMERA_FRAMERATE_7_FPS
7.5 fps
Definition: camera.h:81
@ SCE_CAMERA_FRAMERATE_120_FPS
120 fps (
Definition: camera.h:87
@ SCE_CAMERA_FRAMERATE_3_FPS
3.75 fps
Definition: camera.h:79
@ SCE_CAMERA_FRAMERATE_15_FPS
15 fps
Definition: camera.h:83
@ SCE_CAMERA_FRAMERATE_30_FPS
30 fps
Definition: camera.h:85
@ SCE_CAMERA_PRIORITY_SHARE
Share mode.
Definition: camera.h:50
@ SCE_CAMERA_PRIORITY_EXCLUSIVE
Exclusive mode.
Definition: camera.h:51
@ SCE_CAMERA_NIGHTMODE_LESS100
100 lux or below
Definition: camera.h:202
@ SCE_CAMERA_NIGHTMODE_OFF
Disabled.
Definition: camera.h:200
@ SCE_CAMERA_NIGHTMODE_OVER100
100 lux or over
Definition: camera.h:203
@ SCE_CAMERA_NIGHTMODE_LESS10
10 lux or below
Definition: camera.h:201
@ SCE_CAMERA_DEVICE_BACK
Retro camera.
Definition: camera.h:45
@ SCE_CAMERA_DEVICE_FRONT
Front camera.
Definition: camera.h:44
@ SCE_CAMERA_ERROR_OTHER_ALREADY_START
Definition: camera.h:38
@ SCE_CAMERA_ERROR_FATAL
Definition: camera.h:39
@ SCE_CAMERA_ERROR_ATTRIBUTE_UNKNOWN
Definition: camera.h:32
@ SCE_CAMERA_ERROR_ALREADY_READ
Definition: camera.h:35
@ SCE_CAMERA_ERROR_NOT_INIT
Definition: camera.h:22
@ SCE_CAMERA_ERROR_MAX_PROCESS
Definition: camera.h:33
@ SCE_CAMERA_ERROR_NOT_MOUNTED
Definition: camera.h:36
@ SCE_CAMERA_ERROR_NOT_ACTIVE
Definition: camera.h:34
@ SCE_CAMERA_ERROR_EXCLUSIVE
Definition: camera.h:31
@ SCE_CAMERA_ERROR_ALREADY_INIT
Definition: camera.h:21
@ SCE_CAMERA_ERROR_RESOLUTION_UNKNOWN
Definition: camera.h:28
@ SCE_CAMERA_ERROR_FORMAT_UNKNOWN
Definition: camera.h:27
@ SCE_CAMERA_ERROR_NOT_START
Definition: camera.h:26
@ SCE_CAMERA_ERROR_NOT_OPEN
Definition: camera.h:24
@ SCE_CAMERA_ERROR_PARAM
Definition: camera.h:20
@ SCE_CAMERA_ERROR_ALREADY_START
Definition: camera.h:25
@ SCE_CAMERA_ERROR_TIMEOUT
Definition: camera.h:30
@ SCE_CAMERA_ERROR_BAD_FRAMERATE
Definition: camera.h:29
@ SCE_CAMERA_ERROR_DATA_RANGE_UNKNOWN
Definition: camera.h:37
@ SCE_CAMERA_ERROR_ALREADY_OPEN
Definition: camera.h:23
@ SCE_CAMERA_EV_NEGATIVE_13
-1.3
Definition: camera.h:95
@ SCE_CAMERA_EV_NEGATIVE_5
-0.5
Definition: camera.h:98
@ SCE_CAMERA_EV_POSITIVE_10
+1.0
Definition: camera.h:104
@ SCE_CAMERA_EV_POSITIVE_5
+0.5
Definition: camera.h:102
@ SCE_CAMERA_EV_POSITIVE_15
+1.5
Definition: camera.h:106
@ SCE_CAMERA_EV_NEGATIVE_20
-2.0
Definition: camera.h:92
@ SCE_CAMERA_EV_NEGATIVE_7
-0.7
Definition: camera.h:97
@ SCE_CAMERA_EV_POSITIVE_0
+0.0
Definition: camera.h:100
@ SCE_CAMERA_EV_NEGATIVE_15
-1.5
Definition: camera.h:94
@ SCE_CAMERA_EV_POSITIVE_17
+1.7
Definition: camera.h:107
@ SCE_CAMERA_EV_POSITIVE_3
+0.3
Definition: camera.h:101
@ SCE_CAMERA_EV_POSITIVE_20
+2.0
Definition: camera.h:108
@ SCE_CAMERA_EV_POSITIVE_13
+1.3
Definition: camera.h:105
@ SCE_CAMERA_EV_NEGATIVE_3
-0.3
Definition: camera.h:99
@ SCE_CAMERA_EV_NEGATIVE_10
-1.0
Definition: camera.h:96
@ SCE_CAMERA_EV_NEGATIVE_17
-1.7
Definition: camera.h:93
@ SCE_CAMERA_EV_POSITIVE_7
+0.7
Definition: camera.h:103
@ SCE_CAMERA_SHARPNESS_200
200%
Definition: camera.h:143
@ SCE_CAMERA_SHARPNESS_400
400%
Definition: camera.h:145
@ SCE_CAMERA_SHARPNESS_100
100%
Definition: camera.h:142
@ SCE_CAMERA_SHARPNESS_300
300%
Definition: camera.h:144
@ SCE_CAMERA_ISO_400
ISO400/27�
Definition: camera.h:160
@ SCE_CAMERA_ISO_200
ISO200/24�
Definition: camera.h:159
@ SCE_CAMERA_ISO_AUTO
Automatic mode.
Definition: camera.h:157
@ SCE_CAMERA_ISO_100
ISO100/21�
Definition: camera.h:158
@ SCE_CAMERA_BACKLIGHT_ON
Enabled.
Definition: camera.h:195
@ SCE_CAMERA_BACKLIGHT_OFF
Disabled.
Definition: camera.h:194
@ SCE_CAMERA_ANTIFLICKER_50HZ
50 Hz mode
Definition: camera.h:151
@ SCE_CAMERA_ANTIFLICKER_AUTO
Automatic mode.
Definition: camera.h:150
@ SCE_CAMERA_ANTIFLICKER_60HZ
50 Hz mode
Definition: camera.h:152
@ SCE_CAMERA_EFFECT_NEGATIVE
Definition: camera.h:114
@ SCE_CAMERA_EFFECT_GREEN
Definition: camera.h:119
@ SCE_CAMERA_EFFECT_BLACKWHITE
Definition: camera.h:115
@ SCE_CAMERA_EFFECT_NORMAL
Definition: camera.h:113
@ SCE_CAMERA_EFFECT_SEPIA
Definition: camera.h:116
@ SCE_CAMERA_EFFECT_BLUE
Definition: camera.h:117
@ SCE_CAMERA_EFFECT_RED
Definition: camera.h:118
@ SCE_CAMERA_GAIN_9
Definition: camera.h:174
@ SCE_CAMERA_GAIN_6
Definition: camera.h:171
@ SCE_CAMERA_GAIN_3
Definition: camera.h:168
@ SCE_CAMERA_GAIN_13
Definition: camera.h:178
@ SCE_CAMERA_GAIN_1
Definition: camera.h:166
@ SCE_CAMERA_GAIN_2
Definition: camera.h:167
@ SCE_CAMERA_GAIN_10
Definition: camera.h:175
@ SCE_CAMERA_GAIN_15
Definition: camera.h:180
@ SCE_CAMERA_GAIN_5
Definition: camera.h:170
@ SCE_CAMERA_GAIN_12
Definition: camera.h:177
@ SCE_CAMERA_GAIN_AUTO
Definition: camera.h:165
@ SCE_CAMERA_GAIN_11
Definition: camera.h:176
@ SCE_CAMERA_GAIN_16
Definition: camera.h:181
@ SCE_CAMERA_GAIN_4
Definition: camera.h:169
@ SCE_CAMERA_GAIN_14
Definition: camera.h:179
@ SCE_CAMERA_GAIN_7
Definition: camera.h:172
@ SCE_CAMERA_GAIN_8
Definition: camera.h:173
unsigned int SceSize
Definition: types.h:56