[FFmpeg-soc] [soc]: r3623 - mlp/mlpenc.c
ramiro
subversion at mplayerhq.hu
Tue Aug 26 04:09:56 CEST 2008
Author: ramiro
Date: Tue Aug 26 04:09:55 2008
New Revision: 3623
Log:
Move typedef BestOffset up so it may be used in the context.
Modified:
mlp/mlpenc.c
Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c (original)
+++ mlp/mlpenc.c Tue Aug 26 04:09:55 2008
@@ -76,6 +76,14 @@ typedef struct {
} DecodingParams;
+typedef struct BestOffset {
+ int16_t offset;
+ int bitcount;
+ int lsb_bits;
+ int16_t min;
+ int16_t max;
+} BestOffset;
+
#define HUFF_OFFSET_MIN -16384
#define HUFF_OFFSET_MAX 16383
@@ -1367,14 +1375,6 @@ static int codebook_extremes[3][2] = {
{-9, 8}, {-8, 7}, {-15, 14},
};
-typedef struct BestOffset {
- int16_t offset;
- int bitcount;
- int lsb_bits;
- int16_t min;
- int16_t max;
-} BestOffset;
-
/** Determines the least amount of bits needed to encode the samples using no
* codebooks.
*/
More information about the FFmpeg-soc
mailing list