/[pcsx2_0.9.7]/trunk/pcsx2/IPU/mpeg2lib/Mpeg.h
ViewVC logotype

Diff of /trunk/pcsx2/IPU/mpeg2lib/Mpeg.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/pcsx2/IPU/mpeg2lib/Mpeg.h	2010/09/20 05:35:51	191
+++ trunk/pcsx2/IPU/mpeg2lib/Mpeg.h	2010/11/12 01:10:22	273
@@ -37,7 +37,7 @@
 
 	float (*destxmm)[4] = (float(*)[4])&dest;
 
-#define StoreDestIdx(idx) case idx: _mm_store_ps(&destxmm[idx][0], zeroreg)
+#define StoreDestIdx(idx) case idx: _mm_store_ps(&destxmm[idx-1][0], zeroreg)
 
 	switch( MZFqwc & 0x07 )
 	{
@@ -151,12 +151,7 @@
 	uint ipu0_data;		// amount of data in the output macroblock (in QWC)
 	uint ipu0_idx;
 
-	/* bit parsing stuff */
-	//u32 bitstream_buf;		/* current 32 bit working set */
-	//int bitstream_bits;			/* used bits in working set */
-
-	int quantizer_scale;	/* remove */
-	int dmv_offset;		/* remove */
+	int quantizer_scale;
 
 	/* now non-slice-specific information */
 
@@ -191,8 +186,6 @@
 	int dte;
 	// Output Format
 	int ofm;
-	// Macroblock count
-	int mbc;
 	// Macroblock type
 	int macroblock_modes;
 	// DC Reset
@@ -205,8 +198,6 @@
 	/* the zigzag scan we're supposed to be using, true for alt, false for normal */
 	bool scantype;
 
-	int second_field;
-
 	int mpeg1;
 
 	template< typename T >
@@ -225,12 +216,10 @@
 	
 	void AdvanceIpuDataBy(uint amt)
 	{
-		pxAssumeDev(ipu0_data>=amt, "IPU FIFO Overflow on advance!" );
+		pxAssumeMsg(ipu0_data>=amt, "IPU FIFO Overflow on advance!" );
 		ipu0_idx += amt;
 		ipu0_data -= amt;
 	}
-	
-	__fi bool ReadIpuData(u128* out);
 };
 
 struct mpeg2_scan_pack
@@ -248,9 +237,6 @@
 extern void mpeg2_idct_copy(s16 * block, u8* dest, int stride);
 extern void mpeg2_idct_add(int last, s16 * block, s16* dest, int stride);
 
-#define IDEC	0
-#define BDEC	1
-
 extern bool mpeg2sliceIDEC();
 extern bool mpeg2_slice();
 extern int get_macroblock_address_increment();

 

  ViewVC Help
Powered by ViewVC 1.1.22