PS2SDK
PS2 Homebrew Libraries
|
#include <libmpeg.h>
Go to the source code of this file.
Data Structures | |
struct | _MPEGMBXY |
struct | _MPEGMacroBlock8 |
struct | _MPEGMotion |
struct | _MPEGMotions |
struct | _MPEGContext |
Functions | |
void | _MPEG_Initialize (_MPEGContext *, int(*)(void *), void *, int *) |
void | _MPEG_Destroy (void) |
int | _MPEG_CSCImage (void *, void *, int) |
void | _MPEG_SetDefQM (int) |
void | _MPEG_SetQM (int) |
int | _MPEG_GetMBAI (void) |
int | _MPEG_GetMBType (void) |
int | _MPEG_GetMotionCode (void) |
int | _MPEG_GetDMVector (void) |
unsigned int | _MPEG_NextStartCode (void) |
void | _MPEG_AlignBits (void) |
unsigned int | _MPEG_GetBits (unsigned int) |
unsigned int | _MPEG_ShowBits (unsigned int) |
void | _MPEG_SetIDCP (void) |
void | _MPEG_SetQSTIVFAS (void) |
void | _MPEG_SetPCT (unsigned int) |
void | _MPEG_BDEC (int, int, int, int, void *) |
int | _MPEG_WaitBDEC (void) |
void | _MPEG_dma_ref_image (_MPEGMacroBlock8 *, _MPEGMotion *, s64, int) |
void | _MPEG_do_mc (_MPEGMotion *) |
void | _MPEG_put_luma (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_put_luma_X (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_put_luma_Y (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_put_luma_XY (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_put_chroma (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_put_chroma_X (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_put_chroma_Y (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_put_chroma_XY (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_avg_luma (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_avg_luma_X (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_avg_luma_Y (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_avg_luma_XY (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_avg_chroma (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_avg_chroma_X (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_avg_chroma_Y (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_avg_chroma_XY (u8 *a1, u16 *a2, int a3, int a4, int var1, int ta) |
void | _MPEG_put_block_fr (_MPEGMotions *) |
void | _MPEG_put_block_fl (_MPEGMotions *) |
void | _MPEG_put_block_il (_MPEGMotions *) |
void | _MPEG_add_block_ilfl (_MPEGMotions *) |
void | _MPEG_add_block_frfr (_MPEGMotions *) |
void | _MPEG_add_block_frfl (_MPEGMotions *) |
void | _MPEG_Suspend (void) |
void | _MPEG_Resume (void) |
MPEG decoding internal functions.
Definition in file libmpeg_internal.h.
struct _MPEGMBXY |
Definition at line 65 of file libmpeg_internal.h.
Data Fields | ||
---|---|---|
unsigned char | m_X | |
unsigned char | m_Y |
struct _MPEGMacroBlock8 |
Definition at line 72 of file libmpeg_internal.h.
Data Fields | ||
---|---|---|
unsigned char | m_Y[16][16] | |
unsigned char | m_Cb[8][8] | |
unsigned char | m_Cr[8][8] |
struct _MPEGMotion |
Definition at line 80 of file libmpeg_internal.h.
struct _MPEGMotions |
Definition at line 96 of file libmpeg_internal.h.
Data Fields | ||
---|---|---|
unsigned char * | m_pMBDstY | |
unsigned char * | m_pMBDstCbCr | |
unsigned char * | m_pSrc | |
unsigned char * | m_pSPRBlk | |
unsigned char * | m_pSPRRes | |
unsigned char * | m_pSPRMC | |
int | m_Stride | |
int | m_nMotions | |
void(*)(struct _MPEGMotions *) | BlockOp | |
_MPEGMotion | m_Motion[7] |
struct _MPEGContext |
Definition at line 111 of file libmpeg_internal.h.
Data Fields | ||
---|---|---|
MPEGSequenceInfo | m_SI | |
s64 | m_FwdPTS | |
s64 | m_BckPTS | |
s64 | m_AuxPTS | |
int | m_MBWidth | |
int | m_MBHeight | |
_MPEGMacroBlock8 * | m_pFwdFrame | |
_MPEGMacroBlock8 * | m_pBckFrame | |
_MPEGMacroBlock8 * | m_pAuxFrame | |
_MPEGMacroBlock8 * | m_pCurFrame | |
_MPEGMBXY * | m_pMBXY | |
unsigned char * | m_pCurFrameY | |
unsigned char * | m_pCurFrameCbCr | |
int | m_FRCode | |
int | m_MBStride | |
int | m_MBCount | |
int | m_fProgSeq | |
int | m_fMPEG2 | |
int | m_fRepFF | |
int | m_fTopFF | |
int | m_fFPFrmDCT | |
int | m_fConsMV | |
int | m_fSecField | |
int | m_fError | |
int | m_fDCRst | |
int | m_QScale | |
int | m_PictStruct | |
int | m_PictCodingType | |
int | m_FPFVector | |
int | m_FwdFCode | |
int | m_FPBVector | |
int | m_BckFCode | |
int | m_FCode[2][2] | |
int | m_CurMC | |
_MPEGMotions | m_MC[2] | |
_MPEGMotions * | m_pCurMotions |
#define _MPEG_PT_I 1 |
Definition at line 21 of file libmpeg_internal.h.
#define _MPEG_PT_P 2 |
Definition at line 22 of file libmpeg_internal.h.
#define _MPEG_PT_B 3 |
Definition at line 23 of file libmpeg_internal.h.
#define _MPEG_PT_D 4 |
Definition at line 24 of file libmpeg_internal.h.
#define _MPEG_PS_TOP_FIELD 1 |
Definition at line 26 of file libmpeg_internal.h.
#define _MPEG_PS_BOTTOM_FIELD 2 |
Definition at line 27 of file libmpeg_internal.h.
#define _MPEG_PS_FRAME 3 |
Definition at line 28 of file libmpeg_internal.h.
#define _MPEG_MBT_INTRA 1 |
Definition at line 30 of file libmpeg_internal.h.
#define _MPEG_MBT_PATTERN 2 |
Definition at line 31 of file libmpeg_internal.h.
#define _MPEG_MBT_MOTION_BACKWARD 4 |
Definition at line 32 of file libmpeg_internal.h.
#define _MPEG_MBT_MOTION_FORWARD 8 |
Definition at line 33 of file libmpeg_internal.h.
#define _MPEG_MBT_QUANT 16 |
Definition at line 34 of file libmpeg_internal.h.
#define _MPEG_MC_FIELD 1 |
Definition at line 36 of file libmpeg_internal.h.
#define _MPEG_MC_FRAME 2 |
Definition at line 37 of file libmpeg_internal.h.
#define _MPEG_MC_16X8 2 |
Definition at line 38 of file libmpeg_internal.h.
#define _MPEG_MC_DMV 3 |
Definition at line 39 of file libmpeg_internal.h.
#define _MPEG_MV_FIELD 0 |
Definition at line 41 of file libmpeg_internal.h.
#define _MPEG_MV_FRAME 1 |
Definition at line 42 of file libmpeg_internal.h.
#define _MPEG_CODE_PIC_START 0x00000100 |
Definition at line 44 of file libmpeg_internal.h.
#define _MPEG_CODE_SLICE_MIN 0x00000101 |
Definition at line 45 of file libmpeg_internal.h.
#define _MPEG_CODE_SLICE_MAX 0x000001AF |
Definition at line 46 of file libmpeg_internal.h.
#define _MPEG_CODE_USER_DATA 0x000001B2 |
Definition at line 47 of file libmpeg_internal.h.
#define _MPEG_CODE_SEQ_HDR 0x000001B3 |
Definition at line 48 of file libmpeg_internal.h.
#define _MPEG_CODE_EXTENSION 0x000001B5 |
Definition at line 49 of file libmpeg_internal.h.
#define _MPEG_CODE_SEQ_END 0x000001B7 |
Definition at line 50 of file libmpeg_internal.h.
#define _MPEG_CODE_GRP_START 0x000001B8 |
Definition at line 51 of file libmpeg_internal.h.
#define _MPEG_XID_0 0 |
Definition at line 53 of file libmpeg_internal.h.
#define _MPEG_XID_SEQUENCE 1 |
Definition at line 54 of file libmpeg_internal.h.
#define _MPEG_XID_DISPLAY 2 |
Definition at line 55 of file libmpeg_internal.h.
#define _MPEG_XID_QMATRIX 3 |
Definition at line 56 of file libmpeg_internal.h.
#define _MPEG_XID_COPYRIGHT 4 |
Definition at line 57 of file libmpeg_internal.h.
#define _MPEG_XID_SCALABLE 5 |
Definition at line 58 of file libmpeg_internal.h.
#define _MPEG_XID_6 6 |
Definition at line 59 of file libmpeg_internal.h.
#define _MPEG_XID_PIC_DSP 7 |
Definition at line 60 of file libmpeg_internal.h.
#define _MPEG_XID_PIC_COD 8 |
Definition at line 61 of file libmpeg_internal.h.
#define _MPEG_XID_PIC_SSC 9 |
Definition at line 62 of file libmpeg_internal.h.
#define _MPEG_XID_PIC_TSC 10 |
Definition at line 63 of file libmpeg_internal.h.
|
extern |
Definition at line 35 of file libmpeg_core_c.c.
|
extern |
Definition at line 62 of file libmpeg_core_c.c.
|
extern |
Definition at line 169 of file libmpeg_core_c.c.
|
extern |
Definition at line 331 of file libmpeg_core_c.c.
|
extern |
Definition at line 377 of file libmpeg_core_c.c.
|
extern |
Definition at line 384 of file libmpeg_core_c.c.
|
extern |
Definition at line 412 of file libmpeg_core_c.c.
|
extern |
Definition at line 426 of file libmpeg_core_c.c.
|
extern |
Definition at line 444 of file libmpeg_core_c.c.
|
extern |
Definition at line 321 of file libmpeg_core_c.c.
|
extern |
Definition at line 316 of file libmpeg_core_c.c.
|
extern |
Definition at line 284 of file libmpeg_core_c.c.
|
extern |
Definition at line 301 of file libmpeg_core_c.c.
|
extern |
Definition at line 455 of file libmpeg_core_c.c.
|
extern |
Definition at line 461 of file libmpeg_core_c.c.
|
extern |
Definition at line 469 of file libmpeg_core_c.c.
|
extern |
Definition at line 481 of file libmpeg_core_c.c.
|
extern |
Definition at line 490 of file libmpeg_core_c.c.
|
extern |
Definition at line 534 of file libmpeg_core_c.c.
|
extern |
Definition at line 1303 of file libmpeg_core_c.c.
|
extern |
Definition at line 1382 of file libmpeg_core_c.c.
|
extern |
Definition at line 1466 of file libmpeg_core_c.c.
|
extern |
Definition at line 1597 of file libmpeg_core_c.c.
|
extern |
Definition at line 1740 of file libmpeg_core_c.c.
|
extern |
Definition at line 1421 of file libmpeg_core_c.c.
|
extern |
Definition at line 1527 of file libmpeg_core_c.c.
|
extern |
Definition at line 1661 of file libmpeg_core_c.c.
|
extern |
Definition at line 1840 of file libmpeg_core_c.c.
|
extern |
Definition at line 1945 of file libmpeg_core_c.c.
|
extern |
Definition at line 2073 of file libmpeg_core_c.c.
|
extern |
Definition at line 2245 of file libmpeg_core_c.c.
|
extern |
Definition at line 2433 of file libmpeg_core_c.c.
|
extern |
Definition at line 2006 of file libmpeg_core_c.c.
|
extern |
Definition at line 2156 of file libmpeg_core_c.c.
|
extern |
Definition at line 2331 of file libmpeg_core_c.c.
|
extern |
Definition at line 2555 of file libmpeg_core_c.c.
|
extern |
Definition at line 580 of file libmpeg_core_c.c.
|
extern |
Definition at line 646 of file libmpeg_core_c.c.
|
extern |
Definition at line 757 of file libmpeg_core_c.c.
|
extern |
Definition at line 973 of file libmpeg_core_c.c.
|
extern |
Definition at line 883 of file libmpeg_core_c.c.
|
extern |
Definition at line 1143 of file libmpeg_core_c.c.
|
extern |
Definition at line 105 of file libmpeg_core_c.c.
|
extern |
Definition at line 132 of file libmpeg_core_c.c.