mirror of https://github.com/PCSX2/pcsx2.git
Mpeg.cpp/h indentation
This commit is contained in:
parent
3119e0a2e7
commit
be1c97a18b
|
@ -74,7 +74,7 @@ int get_macroblock_modes()
|
||||||
macroblock_modes = tab->modes;
|
macroblock_modes = tab->modes;
|
||||||
|
|
||||||
if ((!(decoder.frame_pred_frame_dct)) &&
|
if ((!(decoder.frame_pred_frame_dct)) &&
|
||||||
(decoder.picture_structure == FRAME_PICTURE))
|
(decoder.picture_structure == FRAME_PICTURE))
|
||||||
{
|
{
|
||||||
macroblock_modes |= GETBITS(1) * DCT_TYPE_INTERLACED;
|
macroblock_modes |= GETBITS(1) * DCT_TYPE_INTERLACED;
|
||||||
}
|
}
|
||||||
|
@ -308,20 +308,20 @@ static __fi int get_chroma_dc_dct_diff()
|
||||||
int dc_diff;
|
int dc_diff;
|
||||||
u16 code = UBITS(5);
|
u16 code = UBITS(5);
|
||||||
|
|
||||||
if (code<31)
|
if (code<31)
|
||||||
{
|
{
|
||||||
size = DCtable.chrom0[code].size;
|
size = DCtable.chrom0[code].size;
|
||||||
DUMPBITS(DCtable.chrom0[code].len);
|
DUMPBITS(DCtable.chrom0[code].len);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
code = UBITS(10) - 0x3e0;
|
code = UBITS(10) - 0x3e0;
|
||||||
size = DCtable.chrom1[code].size;
|
size = DCtable.chrom1[code].size;
|
||||||
DUMPBITS(DCtable.chrom1[code].len);
|
DUMPBITS(DCtable.chrom1[code].len);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (size==0)
|
if (size==0)
|
||||||
dc_diff = 0;
|
dc_diff = 0;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dc_diff = GETBITS(size);
|
dc_diff = GETBITS(size);
|
||||||
|
@ -507,9 +507,9 @@ static bool get_non_intra_block(int * last)
|
||||||
s16 * dest = decoder.DCTblock;
|
s16 * dest = decoder.DCTblock;
|
||||||
u16 code;
|
u16 code;
|
||||||
|
|
||||||
/* decode AC coefficients */
|
/* decode AC coefficients */
|
||||||
for (i= ipu_cmd.pos[4] ; ; i++)
|
for (i= ipu_cmd.pos[4] ; ; i++)
|
||||||
{
|
{
|
||||||
switch (ipu_cmd.pos[5])
|
switch (ipu_cmd.pos[5])
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
|
|
@ -59,7 +59,7 @@ enum picture_structure
|
||||||
/* picture coding type */
|
/* picture coding type */
|
||||||
enum picture_coding_type
|
enum picture_coding_type
|
||||||
{
|
{
|
||||||
I_TYPE =1,
|
I_TYPE = 1,
|
||||||
P_TYPE = 2,
|
P_TYPE = 2,
|
||||||
B_TYPE = 3,
|
B_TYPE = 3,
|
||||||
D_TYPE = 4
|
D_TYPE = 4
|
||||||
|
|
Loading…
Reference in New Issue