aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-01-16 11:55:35 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-01-16 11:55:35 +0000
commit2e36c931f0e8d9fe812badd4dee90fdd352c05be (patch)
treec6c0e6656c3df4dc7dbd42b5601a85eacf2e5370 /libavcodec/h264.h
parent3e906f4cfb15738b4c0cb56bad64531620af4818 (diff)
downloadffmpeg-2e36c931f0e8d9fe812badd4dee90fdd352c05be.tar.gz
Avoid wasting 4 cpu cycles per MB in redundantly calculating qp_thresh.
Originally committed as revision 21243 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index eb5cecc87e..6d18af431a 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -273,6 +273,8 @@ typedef struct H264Context{
int chroma_qp[2]; //QPc
+ int qp_thresh; ///< QP threshold to skip loopfilter
+
int prev_mb_skipped;
int next_mb_skipped;