summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-11-27 19:12:45 +0100
committerJanne Grunau <janne-libav@jannau.net>2012-12-07 11:43:28 +0100
commita394959bbee9e41ff121488f251f85e8a8fb3384 (patch)
treed0a8edf093426f8b01e7e2c34cae44314e8fd6c2 /libavcodec/h264.h
parentd7d6efe42b0d2057e67999b96b9a391f533d2333 (diff)
downloadffmpeg-a394959bbee9e41ff121488f251f85e8a8fb3384.tar.gz
h264: add a pointer for weighted prediction temporary buffer
Reusing MpegEncContext's obmc_scratchpad for this becomes a mess with adaptive frame-mt.
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 570ce2ffae..b8ded57fdc 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -578,6 +578,7 @@ typedef struct H264Context {
int initial_cpb_removal_delay[32]; ///< Initial timestamps for CPBs
int cur_chroma_format_idc;
+ uint8_t *bipred_scratchpad;
} H264Context;
extern const uint8_t ff_h264_chroma_qp[3][QP_MAX_NUM + 1]; ///< One chroma qp table for each supported bit depth (8, 9, 10).