summaryrefslogtreecommitdiff
path: root/libavcodec/libpostproc/postprocess_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-04-18 12:45:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-04-18 12:45:34 +0000
commit0426af31117b1bc50b3abb2b4265c38b8c02e7a5 (patch)
tree4490f5d425e3bf7ec2f2bdc607a0c8591790efd7 /libavcodec/libpostproc/postprocess_internal.h
parent22cf0455900adb1499763f12e8339987d85fe8c5 (diff)
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
Diffstat (limited to 'libavcodec/libpostproc/postprocess_internal.h')
-rw-r--r--libavcodec/libpostproc/postprocess_internal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/libpostproc/postprocess_internal.h b/libavcodec/libpostproc/postprocess_internal.h
index febea18188..13b3e38312 100644
--- a/libavcodec/libpostproc/postprocess_internal.h
+++ b/libavcodec/libpostproc/postprocess_internal.h
@@ -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;
+