mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-22 17:58:38 +00:00
Unbreak Linux. (I'll wait on actually adding the new features.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1497 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
43f8746906
commit
c27e1328c6
@ -14,6 +14,6 @@ noinst_LIBRARIES = libps2_cdvd.a
|
|||||||
libps2_cdvd_a_SOURCES = \
|
libps2_cdvd_a_SOURCES = \
|
||||||
CDVD.cpp IsoFStools.cpp IsoFSdrv.cpp CdRom.cpp \
|
CDVD.cpp IsoFStools.cpp IsoFSdrv.cpp CdRom.cpp \
|
||||||
CDVD.h CDVD_internal.h IsoFStools.h IsoFSdrv.h IsoFScdvd.h CdRom.h \
|
CDVD.h CDVD_internal.h IsoFStools.h IsoFSdrv.h IsoFScdvd.h CdRom.h \
|
||||||
CDVDisoReader.cpp CDVDisoReader.h
|
CDVDisoReader.cpp CDVDisoReader.h CDVDaccess.cpp CDVDaccess.h
|
||||||
|
|
||||||
#SUBDIRS =
|
#SUBDIRS =
|
||||||
|
@ -25,32 +25,43 @@
|
|||||||
#ifndef __MPEG_H__
|
#ifndef __MPEG_H__
|
||||||
#define __MPEG_H__
|
#define __MPEG_H__
|
||||||
|
|
||||||
/* macroblock modes */
|
enum macroblock_modes
|
||||||
#define MACROBLOCK_INTRA 1
|
{
|
||||||
#define MACROBLOCK_PATTERN 2
|
MACROBLOCK_INTRA = 1,
|
||||||
#define MACROBLOCK_MOTION_BACKWARD 4
|
MACROBLOCK_PATTERN = 2,
|
||||||
#define MACROBLOCK_MOTION_FORWARD 8
|
MACROBLOCK_MOTION_BACKWARD = 4,
|
||||||
#define MACROBLOCK_QUANT 16
|
MACROBLOCK_MOTION_FORWARD = 8,
|
||||||
#define DCT_TYPE_INTERLACED 32
|
MACROBLOCK_QUANT = 16,
|
||||||
/* motion_type */
|
DCT_TYPE_INTERLACED = 32
|
||||||
#define MOTION_TYPE_SHIFT 6
|
};
|
||||||
#define MOTION_TYPE_MASK (3*64)
|
|
||||||
#define MOTION_TYPE_BASE 64
|
enum motion_type
|
||||||
#define MC_FIELD (1*64)
|
{
|
||||||
#define MC_FRAME (2*64)
|
MOTION_TYPE_SHIFT = 6,
|
||||||
#define MC_16X8 (2*64)
|
MOTION_TYPE_MASK = (3*64),
|
||||||
#define MC_DMV (3*64)
|
MOTION_TYPE_BASE = 64,
|
||||||
|
MC_FIELD = (1*64),
|
||||||
|
MC_FRAME = (2*64),
|
||||||
|
MC_16X8 = (2*64),
|
||||||
|
MC_DMV = (3*64)
|
||||||
|
};
|
||||||
|
|
||||||
/* picture structure */
|
/* picture structure */
|
||||||
#define TOP_FIELD 1
|
enum picture_structure
|
||||||
#define BOTTOM_FIELD 2
|
{
|
||||||
#define FRAME_PICTURE 3
|
TOP_FIELD = 1,
|
||||||
|
BOTTOM_FIELD = 2,
|
||||||
|
FRAME_PICTURE = 3
|
||||||
|
};
|
||||||
|
|
||||||
/* picture coding type */
|
/* picture coding type */
|
||||||
#define I_TYPE 1
|
enum picture_coding_type
|
||||||
#define P_TYPE 2
|
{
|
||||||
#define B_TYPE 3
|
I_TYPE =1,
|
||||||
#define D_TYPE 4
|
P_TYPE = 2,
|
||||||
|
B_TYPE = 3,
|
||||||
|
D_TYPE = 4
|
||||||
|
};
|
||||||
|
|
||||||
struct macroblock_8{
|
struct macroblock_8{
|
||||||
unsigned char Y[16][16]; //0
|
unsigned char Y[16][16]; //0
|
||||||
|
Loading…
Reference in New Issue
Block a user