mpeg2 qscale flag

a few bugfixes for the C pp code
minor optimization

Originally committed as revision 1786 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2003-04-18 12:45:34 +00:00
parent 22cf045590
commit 0426af3111
6 changed files with 60 additions and 25 deletions

View File

@@ -137,6 +137,7 @@ typedef struct PPContext{
uint64_t __attribute__((aligned(8))) mmxDcOffset[32];
uint64_t __attribute__((aligned(8))) mmxDcThreshold[32];
QP_STORE_T *stdQPTable; ///< used to fix MPEG2 style qscale
QP_STORE_T *nonBQPTable;
QP_STORE_T *forcedQPTable;
@@ -147,7 +148,8 @@ typedef struct PPContext{
int cpuCaps;
int stride; ///<size of some buffers (needed to realloc them if needed)
int qpStride; ///<size of qp buffers (needed to realloc them if needed)
int stride; ///<size of some buffers (needed to realloc them if needed)
int hChromaSubSample;
int vChromaSubSample;
@@ -155,3 +157,4 @@ typedef struct PPContext{
PPMode ppMode;
} PPContext;