pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
pspmpegbase.h
Go to the documentation of this file.
1
/*
2
* PSP Software Development Kit - http://www.pspdev.org
3
* -----------------------------------------------------------------------
4
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5
*
6
* pspmpegbase.h - Prototypes for the sceMpegbase library
7
*
8
* Copyright (c) 2006 Sorin P. C. <magik@hypermagik.com>
9
* Copyright (c) 2007 cooleyes
10
* Copyright (c) 2007 Alexander Berl <raphael@fx-world.org>
11
*
12
* $Id: pspmpegbase.h 2341 2007-12-06 20:05:52Z raphael $
13
*/
14
15
#ifndef __SCELIBMPEGBASE_H__
16
#define __SCELIBMPEGBASE_H__
17
18
19
#include <
psptypes.h
>
20
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
27
typedef
struct
SceMpegLLI
28
{
29
ScePVoid
pSrc
;
30
ScePVoid
pDst
;
31
ScePVoid
Next
;
32
SceInt32
iSize
;
33
}
__attribute__
((aligned(64)))
SceMpegLLI
;
34
35
36
37
typedef struct
SceMpegYCrCbBuffer
38
{
39
SceInt32
iFrameBufferHeight16
;
40
SceInt32
iFrameBufferWidth16
;
41
SceInt32
iUnknown
;
// Set to 0
42
SceInt32
iUnknown2
;
// Set to 1
43
ScePVoid
pYBuffer
;
// pointer to YBuffer (in VME EDRAM?)
44
ScePVoid
pYBuffer2
;
// pointer to YBuffer + framebufferwidth*(frameheight/32)
45
ScePVoid
pCrBuffer
;
// pointer to CrBuffer (in VME EDRAM?)
46
ScePVoid
pCbBuffer
;
// pointer to CbBuffer (in VME EDRAM?)
47
ScePVoid
pCrBuffer2
;
// pointer to CrBuffer + (framebufferwidth/2)*(frameheight/64)
48
ScePVoid
pCbBuffer2
;
// pointer to CbBuffer + (framebufferwidth/2)*(frameheight/64)
49
SceInt32
iFrameHeight
;
50
SceInt32
iFrameWidth
;
51
SceInt32
iFrameBufferWidth
;
52
SceInt32
iUnknown3
[11];
53
}
__attribute__
((aligned(64)))
SceMpegYCrCbBuffer
;
54
55
56
SceInt32
sceMpegBaseYCrCbCopyVme
(
ScePVoid
YUVBuffer,
SceInt32
*Buffer,
SceInt32
Type);
57
SceInt32
sceMpegBaseCscInit
(
SceInt32
width);
58
SceInt32
sceMpegBaseCscVme
(
ScePVoid
pRGBbuffer,
ScePVoid
pRGBbuffer2,
SceInt32
width,
SceMpegYCrCbBuffer
* pYCrCbBuffer);
59
60
SceInt32
sceMpegbase_BEA18F91
(
SceMpegLLI
*pLLI);
61
62
#ifdef __cplusplus
63
}
64
#endif
65
66
#endif
src
mpeg
pspmpegbase.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2