![]() |
vitasdk
Documentation of the vitasdk
|
Go to the source code of this file.
Data Structures | |
| struct | SceMp4RecRecorder |
| struct | SceMp4RecInitParam |
| struct | SceMp4RecFrame |
| struct | SceMp4RecTermParam |
Macros | |
| #define | SCE_MP4REC_COMMON_DENOM_TIMESCALE 240000 |
| Common denominator timescale between audio and video. | |
| #define | SCE_MP4REC_VIDEO_TIMESCALE 30000 |
| Video timescale in hz. | |
| #define | SCE_MP4REC_AUDIO_TIMESCALE 48000 |
| Audio timescale in hz. | |
| #define | SCE_MP4REC_VIDEO_SAMPLE_DURATION 1001 |
| Duration of a single video sample in ms. | |
| #define | SCE_MP4REC_AUDIO_SAMPLE_DURATION 1024 |
| Duration of a single audio sample in ms. | |
| #define | SCE_MP4REC_AUDIO_BUFFER_SIZE 4096 |
| Size in bytes of the audio buffer used during recording. | |
Enumerations | |
| enum | SceMp4RecPixelFormat { SCE_MP4REC_PIXELFORMAT_A8B8G8R8 = 0x00000000 , SCE_MP4REC_PIXELFORMAT_YUV420_PACKED = 0x00000020 } |
| enum | SceMp4RecMode { SCE_MP4REC_MODE_640_368_2MBPS , SCE_MP4REC_MODE_640_368_1MBPS , SCE_MP4REC_MODE_480_272_2MBPS , SCE_MP4REC_MODE_480_272_1MBPS , SCE_MP4REC_MODE_368_208_2MBPS , SCE_MP4REC_MODE_368_208_1MBPS } |
Functions | |
| int | sceMp4RecCreateRecorder (SceMp4RecRecorder *rec) |
| Create a new MP4 video recorder. | |
| int | sceMp4RecDeleteRecorder (SceMp4RecRecorder *rec) |
| Delete an existing MP4 video recorder. | |
| int | sceMp4RecQueryPhysicalMemSize (SceMp4RecRecorder *rec, int mode, uint32_t *encoder_size, uint32_t *av_size) |
| Queries the required memory size for video and audio encoding. | |
| int | sceMp4RecInit (SceMp4RecRecorder *rec, SceMp4RecInitParam *params) |
| Init a new video recording session. | |
| int | sceMp4RecTerm (SceMp4RecRecorder *rec, SceMp4RecTermParam *params) |
| Terminate an ongoing recording session. | |
| int | sceMp4RecCsc (SceMp4RecFrame *dst, SceMp4RecFrame *src) |
| Perform hardware accelerated rescaling and colorspace conversion. | |
| int | sceMp4RecAddVideoSample (SceMp4RecRecorder *rec, void *buffer, int size) |
| Add a new video sample to the ongoing recording recording session. | |
| int | sceMp4RecAddAudioSample (SceMp4RecRecorder *rec, void *buffer, int size) |
| Add a new audio sample to the ongoing recording recording session. | |