forked from len0rd/rockbox
libmpeg2: Change a couple style points for consistency and some spacing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16094 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0c7f2372d5
commit
0ae0e1d271
2 changed files with 8 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
#ifndef MPEG2DEC_CONFIG_H
|
#ifndef MPEG2DEC_CONFIG_H
|
||||||
#define MPEG2DEC_CONFIG_H
|
#define MPEG2DEC_CONFIG_H
|
||||||
|
|
||||||
|
|
|
@ -860,22 +860,16 @@ static void get_mpeg1_intra_block (mpeg2_decoder_t * const decoder)
|
||||||
|
|
||||||
static int get_mpeg1_non_intra_block (mpeg2_decoder_t * const decoder)
|
static int get_mpeg1_non_intra_block (mpeg2_decoder_t * const decoder)
|
||||||
{
|
{
|
||||||
int i;
|
uint32_t bit_buf = decoder->bitstream_buf;
|
||||||
int j;
|
int bits = decoder->bitstream_bits;
|
||||||
int val;
|
const uint8_t * bit_ptr = decoder->bitstream_ptr;
|
||||||
const uint8_t * const scan = decoder->scan;
|
const uint8_t * const scan = decoder->scan;
|
||||||
const uint16_t * const quant_matrix = decoder->quantizer_matrix[1];
|
const uint16_t * const quant_matrix = decoder->quantizer_matrix[1];
|
||||||
const DCTtab * tab;
|
|
||||||
uint32_t bit_buf;
|
|
||||||
int bits;
|
|
||||||
const uint8_t * bit_ptr;
|
|
||||||
int16_t * const dest = decoder->DCTblock;
|
int16_t * const dest = decoder->DCTblock;
|
||||||
|
int i = -1;
|
||||||
i = -1;
|
int j;
|
||||||
|
int val;
|
||||||
bit_buf = decoder->bitstream_buf;
|
const DCTtab * tab;
|
||||||
bits = decoder->bitstream_bits;
|
|
||||||
bit_ptr = decoder->bitstream_ptr;
|
|
||||||
|
|
||||||
NEEDBITS (bit_buf, bits, bit_ptr);
|
NEEDBITS (bit_buf, bits, bit_ptr);
|
||||||
if (bit_buf >= 0x28000000)
|
if (bit_buf >= 0x28000000)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue