blob: 1522b376db7ed6fead7f40a4ee2ae0f22281c5ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/*
Vita Development Suite Libraries
*/
#ifndef _VDSUITE_USER_VIDEOEXPORT_H
#define _VDSUITE_USER_VIDEOEXPORT_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct VideoExportInputParam {
char path[1024]; //!< Path of file to be exported
char reserved[64]; //!< Reserved data
} VideoExportInputParam;
typedef struct VideoExportOutputParam {
char path[1024]; //!< Path of exported file
char reserved[8]; //!< Reserved data
} VideoExportOutputParam;
/**
* Export video file
*
* @param[in] in_param - Input param
* @param[in] unk - Unknown, pass 1
* @param[in] workingMemory - Working memory
* @param[in] cancelCb - Cancel callback
* @param[in] progress - Progress callback
* @param[in] user - User data passed to the callbacks
* @param[in] unk2 - Unknown, pass 0
* @param[out] out_param - Output param
*
* @return 0 on success, < 0 on error.
*/
int sceVideoExportFromFile(const VideoExportInputParam* in_param, int unk, void* workingMemory, void* cancelCb, void (*progress)(void*, int), void* user, int unk2, VideoExportOutputParam* out_param);
#ifdef __cplusplus
}
#endif
#endif /* _VDSUITE_USER_VIDEOEXPORT_H */
|