![]() |
vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
Functions | |
VITASDK_BUILD_ASSERT_EQ (0x30, SceCameraInfo) | |
VITASDK_BUILD_ASSERT_EQ (0x38, SceCameraRead) | |
int | sceCameraOpen (int devnum, SceCameraInfo *pInfo) |
Open a camera device. More... | |
int | sceCameraClose (int devnum) |
Close a camera device. More... | |
int | sceCameraStart (int devnum) |
Start camera streaming. More... | |
int | sceCameraStop (int devnum) |
Stop camera streaming. More... | |
int | sceCameraRead (int devnum, SceCameraRead *pRead) |
Read image data from current streaming. More... | |
int | sceCameraIsActive (int devnum) |
Check if camera device is active. More... | |
int | sceCameraGetSaturation (int devnum, int *pLevel) |
Get camera saturation value. More... | |
int | sceCameraSetSaturation (int devnum, int level) |
Set camera saturation value. More... | |
int | sceCameraGetBrightness (int devnum, int *pLevel) |
Get camera brightness value. More... | |
int | sceCameraSetBrightness (int devnum, int level) |
Set camera brightness value. More... | |
int | sceCameraGetContrast (int devnum, int *pLevel) |
Get camera contrast value. More... | |
int | sceCameraSetContrast (int devnum, int level) |
Set camera contrast value. More... | |
int | sceCameraGetSharpness (int devnum, int *pLevel) |
Get camera sharpness value. More... | |
int | sceCameraSetSharpness (int devnum, int level) |
Set camera sharpness value. More... | |
int | sceCameraGetReverse (int devnum, int *pMode) |
Get camera reverse mode. More... | |
int | sceCameraSetReverse (int devnum, int mode) |
Set camera reverse mode. More... | |
int | sceCameraGetEffect (int devnum, int *pMode) |
Get active camera effects. More... | |
int | sceCameraSetEffect (int devnum, int mode) |
Active a camera effect. More... | |
int | sceCameraGetEV (int devnum, int *pLevel) |
Get camera exposure compensation value. More... | |
int | sceCameraSetEV (int devnum, int level) |
Set camera exposure compensation value. More... | |
int | sceCameraGetZoom (int devnum, int *pLevel) |
Get camera zoom value. More... | |
int | sceCameraSetZoom (int devnum, int level) |
Set camera zoom value. More... | |
int | sceCameraGetAntiFlicker (int devnum, int *pMode) |
Get camera anti-flickering mode. More... | |
int | sceCameraSetAntiFlicker (int devnum, int mode) |
Set camera exposure anti-flickering mode. More... | |
int | sceCameraGetISO (int devnum, int *pMode) |
Get camera ISO speed mode. More... | |
int | sceCameraSetISO (int devnum, int mode) |
Set camera ISO speed mode. More... | |
int | sceCameraGetGain (int devnum, int *pMode) |
Get camera gain mode. More... | |
int | sceCameraSetGain (int devnum, int mode) |
Set camera gain mode. More... | |
int | sceCameraGetWhiteBalance (int devnum, int *pMode) |
Get camera white balance mode. More... | |
int | sceCameraSetWhiteBalance (int devnum, int mode) |
Set camera white balance mode. More... | |
int | sceCameraGetBacklight (int devnum, int *pMode) |
Get camera backlight compensation mode. More... | |
int | sceCameraSetBacklight (int devnum, int mode) |
Set camera backlight mode. More... | |
int | sceCameraGetNightmode (int devnum, int *pMode) |
Get nightmode mode. More... | |
int | sceCameraSetNightmode (int devnum, int mode) |
Set camera nightmoge mode. More... | |
int | sceCameraGetExposureCeiling (int devnum, int *pMode) |
Get exposure ceiling mode. More... | |
int | sceCameraSetExposureCeiling (int devnum, int mode) |
Set exposure ceiling mode. More... | |
int | sceCameraGetAutoControlHold (int devnum, int *pMode) |
Get auto control hold mode. More... | |
int | sceCameraSetAutoControlHold (int devnum, int mode) |
Set auto control hold mode. More... | |
int | sceCameraGetDeviceLocation (int devnum, SceFVector3 *pLocation) |
Get camera device location. More... | |
int | sceCameraGetImageQuality (int devnum, int *pLevel) |
int | sceCameraSetImageQuality (int devnum, int level) |
int | sceCameraGetNoiseReduction (int devnum, int *pLevel) |
int | sceCameraSetNoiseReduction (int devnum, int level) |
int | sceCameraGetSharpnessOff (int devnum, int *pLevel) |
int | sceCameraSetSharpnessOff (int devnum, int level) |
struct SceCameraInfo |
Data Fields | ||
---|---|---|
SceSize | size | sizeof(SceCameraInfo) |
uint16_t | priority | Process priority (one of SceCameraPriority) |
uint16_t | format | Output format (One or more SceCameraFormat) |
uint16_t | resolution | Resolution (one of SceCameraResolution) |
uint16_t | framerate | Framerate (one of SceCameraFrameRate) |
uint16_t | width | |
uint16_t | height | |
uint16_t | range | |
uint16_t | pad | Structure padding. |
SceSize | sizeIBase | |
SceSize | sizeUBase | |
SceSize | sizeVBase | |
void * | pIBase | |
void * | pUBase | |
void * | pVBase | |
uint16_t | pitch | |
uint16_t | buffer |
struct SceCameraRead |
enum SceCameraErrorCode |
Camera error codes.
enum SceCameraDevice |
enum SceCameraPriority |
enum SceCameraFormat |
Enumeration for the camera output formats.
enum SceCameraResolution |
Enumeration for the camera resolutions.
enum SceCameraFrameRate |
Enumeration for the camera framerates.
Enumeration for the camera exposure compensations.
enum SceCameraEffect |
enum SceCameraReverse |
enum SceCameraSaturation |
enum SceCameraSharpness |
enum SceCameraAntiFlicker |
enum SceCameraISO |
enum SceCameraGain |
Enumeration for the camera gain modes.
enum SceCameraBacklight |
enum SceCameraNightmode |
VITASDK_BUILD_ASSERT_EQ | ( | 0x30 | , |
SceCameraInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x38 | , |
SceCameraRead | |||
) |
int sceCameraOpen | ( | int | devnum, |
SceCameraInfo * | pInfo | ||
) |
Open a camera device.
[in] | devnum | - One of SceCameraDevice. |
[in] | pInfo | - Pointer to an already set SceCameraInfo struct. |
int sceCameraClose | ( | int | devnum | ) |
int sceCameraStart | ( | int | devnum | ) |
int sceCameraStop | ( | int | devnum | ) |
int sceCameraRead | ( | int | devnum, |
SceCameraRead * | pRead | ||
) |
Read image data from current streaming.
[in] | devnum | - One of SceCameraDevice. |
[in] | pRead | - Pointer to an already set SceCameraRead. |
int sceCameraIsActive | ( | int | devnum | ) |
Check if camera device is active.
[in] | devnum | - One of SceCameraDevice. |
int sceCameraGetSaturation | ( | int | devnum, |
int * | pLevel | ||
) |
Get camera saturation value.
[in] | devnum | - One of SceCameraDevice. |
[out] | pLevel | - Pointer to a variable where to save the result. (See SceCameraSaturation) |
int sceCameraSetSaturation | ( | int | devnum, |
int | level | ||
) |
Set camera saturation value.
[in] | devnum | - One of SceCameraDevice. |
[in] | level | - One of SceCameraSaturation. |
int sceCameraGetBrightness | ( | int | devnum, |
int * | pLevel | ||
) |
Get camera brightness value.
[in] | devnum | - One of SceCameraDevice. |
[out] | pLevel | - Pointer to a variable where to save the result. |
int sceCameraSetBrightness | ( | int | devnum, |
int | level | ||
) |
Set camera brightness value.
[in] | devnum | - One of SceCameraDevice. |
[in] | level | - Brightness value. |
int sceCameraGetContrast | ( | int | devnum, |
int * | pLevel | ||
) |
Get camera contrast value.
[in] | devnum | - One of SceCameraDevice. |
[out] | pLevel | - Pointer to a variable where to save the result. |
int sceCameraSetContrast | ( | int | devnum, |
int | level | ||
) |
Set camera contrast value.
[in] | devnum | - One of SceCameraDevice. |
[in] | level | - Contrast value. |
int sceCameraGetSharpness | ( | int | devnum, |
int * | pLevel | ||
) |
Get camera sharpness value.
[in] | devnum | - One of SceCameraDevice. |
[out] | pLevel | - Pointer to a variable where to save the result. (See SceCameraSharpness) |
int sceCameraSetSharpness | ( | int | devnum, |
int | level | ||
) |
Set camera sharpness value.
[in] | devnum | - One of SceCameraDevice. |
[in] | level | - One of SceCameraSharpness. |
int sceCameraGetReverse | ( | int | devnum, |
int * | pMode | ||
) |
Get camera reverse mode.
[in] | devnum | - One of SceCameraDevice. |
[out] | pMode | - Pointer to a variable where to save the result. (See SceCameraReverse) |
int sceCameraSetReverse | ( | int | devnum, |
int | mode | ||
) |
Set camera reverse mode.
[in] | devnum | - One of SceCameraDevice. |
[in] | mode | - One of SceCameraReverse. |
int sceCameraGetEffect | ( | int | devnum, |
int * | pMode | ||
) |
Get active camera effects.
[in] | devnum | - One of SceCameraDevice. |
[out] | pMode | - Pointer to a variable where to save the result. |
int sceCameraSetEffect | ( | int | devnum, |
int | mode | ||
) |
Active a camera effect.
[in] | devnum | - One of SceCameraDevice. |
[in] | mode | - One of SceCameraEffect. |
int sceCameraGetEV | ( | int | devnum, |
int * | pLevel | ||
) |
Get camera exposure compensation value.
[in] | devnum | - One of SceCameraDevice. |
[out] | pLevel | - Pointer to a variable where to save the result (See SceCameraExposureCompensation). |
int sceCameraSetEV | ( | int | devnum, |
int | level | ||
) |
Set camera exposure compensation value.
[in] | devnum | - One of SceCameraDevice. |
[in] | level | - One of SceCameraExposureCompensation. |
int sceCameraGetZoom | ( | int | devnum, |
int * | pLevel | ||
) |
Get camera zoom value.
[in] | devnum | - One of SceCameraDevice. |
[out] | pLevel | - Pointer to a variable where to save the result. |
int sceCameraSetZoom | ( | int | devnum, |
int | level | ||
) |
Set camera zoom value.
[in] | devnum | - One of SceCameraDevice. |
[in] | level | - Camera zoom value. |
int sceCameraGetAntiFlicker | ( | int | devnum, |
int * | pMode | ||
) |
Get camera anti-flickering mode.
[in] | devnum | - One of SceCameraDevice. |
[out] | pMode | - Pointer to a variable where to save the result. (See SceCameraAntiFlicker) |
int sceCameraSetAntiFlicker | ( | int | devnum, |
int | mode | ||
) |
Set camera exposure anti-flickering mode.
[in] | devnum | - One of SceCameraDevice. |
[in] | mode | - One of SceCameraAntiFlicker. |
int sceCameraGetISO | ( | int | devnum, |
int * | pMode | ||
) |
Get camera ISO speed mode.
[in] | devnum | - One of SceCameraDevice. |
[out] | pMode | - Pointer to a variable where to save the result. (See SceCameraISO) |
int sceCameraSetISO | ( | int | devnum, |
int | mode | ||
) |
Set camera ISO speed mode.
[in] | devnum | - One of SceCameraDevice. |
[in] | mode | - One of SceCameraISO. |
int sceCameraGetGain | ( | int | devnum, |
int * | pMode | ||
) |
Get camera gain mode.
[in] | devnum | - One of SceCameraDevice. |
[out] | pMode | - Pointer to a variable where to save the result. (See SceCameraGain) |
int sceCameraSetGain | ( | int | devnum, |
int | mode | ||
) |
Set camera gain mode.
[in] | devnum | - One of SceCameraDevice. |
[in] | mode | - One of SceCameraGain. |
int sceCameraGetWhiteBalance | ( | int | devnum, |
int * | pMode | ||
) |
Get camera white balance mode.
[in] | devnum | - One of SceCameraDevice. |
[out] | pMode | - Pointer to a variable where to save the result. (See SceCameraWhiteBalance) |
int sceCameraSetWhiteBalance | ( | int | devnum, |
int | mode | ||
) |
Set camera white balance mode.
[in] | devnum | - One of SceCameraDevice. |
[in] | mode | - One of SceCameraWhiteBalance. |
int sceCameraGetBacklight | ( | int | devnum, |
int * | pMode | ||
) |
Get camera backlight compensation mode.
[in] | devnum | - One of SceCameraDevice. |
[out] | pMode | - Pointer to a variable where to save the result. (See SceCameraBacklight) |
int sceCameraSetBacklight | ( | int | devnum, |
int | mode | ||
) |
Set camera backlight mode.
[in] | devnum | - One of SceCameraDevice. |
[in] | mode | - One of SceCameraBacklight. |
int sceCameraGetNightmode | ( | int | devnum, |
int * | pMode | ||
) |
Get nightmode mode.
[in] | devnum | - One of SceCameraDevice. |
[out] | pMode | - Pointer to a variable where to save the result. (See SceCameraNightmode) |
int sceCameraSetNightmode | ( | int | devnum, |
int | mode | ||
) |
Set camera nightmoge mode.
[in] | devnum | - One of SceCameraDevice. |
[in] | mode | - One of SceCameraNightmode. |
int sceCameraGetExposureCeiling | ( | int | devnum, |
int * | pMode | ||
) |
Get exposure ceiling mode.
(?)
[in] | devnum | - One of SceCameraDevice. |
[out] | pMode | - Pointer to a variable where to save the result. |
int sceCameraSetExposureCeiling | ( | int | devnum, |
int | mode | ||
) |
Set exposure ceiling mode.
(?)
[in] | devnum | - One of SceCameraDevice. |
[in] | mode | - Exposure ceiling mode value. (?) |
int sceCameraGetAutoControlHold | ( | int | devnum, |
int * | pMode | ||
) |
Get auto control hold mode.
(?)
[in] | devnum | - One of SceCameraDevice. |
[out] | pMode | - Pointer to a variable where to save the result. |
int sceCameraSetAutoControlHold | ( | int | devnum, |
int | mode | ||
) |
Set auto control hold mode.
(?)
[in] | devnum | - One of SceCameraDevice. |
[in] | mode | - Auto control hold mode value. (?) |
int sceCameraGetDeviceLocation | ( | int | devnum, |
SceFVector3 * | pLocation | ||
) |
Get camera device location.
(?)
[in] | devnum | - One of SceCameraDevice. |
[out] | pLocation | - Pointer to a variable where to save the result. |
int sceCameraGetImageQuality | ( | int | devnum, |
int * | pLevel | ||
) |
int sceCameraSetImageQuality | ( | int | devnum, |
int | level | ||
) |
int sceCameraGetNoiseReduction | ( | int | devnum, |
int * | pLevel | ||
) |
int sceCameraSetNoiseReduction | ( | int | devnum, |
int | level | ||
) |
int sceCameraGetSharpnessOff | ( | int | devnum, |
int * | pLevel | ||
) |
int sceCameraSetSharpnessOff | ( | int | devnum, |
int | level | ||
) |