diff options
author | Mans Rullgard <mans@mansr.com> | 2011-12-18 20:41:42 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-12-18 22:14:33 +0000 |
commit | 8400b126acb153329c418433c377d96afd1d1e02 (patch) | |
tree | f793e22dc029484f1105e2c80448195364f22542 /libavcodec/mpegvideo.h | |
parent | bc78ceec2be6613c265387017221c7ceda15aa7d (diff) | |
download | ffmpeg-8400b126acb153329c418433c377d96afd1d1e02.tar.gz |
avcodec: deprecate AVFrame.age
This was intended as an optimisation for skipped blocks in MPEG2
P-frames and never used elsewhere. Removing this "optimisation"
speeds up MPEG2 decoding by 1-2% (ARM Cortex-A9).
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 38bbd123ee..6483893c1a 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -309,8 +309,6 @@ typedef struct MpegEncContext { uint8_t *coded_block; ///< used for coded block pattern prediction (msmpeg4v3, wmv1) int16_t (*ac_val_base)[16]; int16_t (*ac_val[3])[16]; ///< used for for mpeg4 AC prediction, all 3 arrays must be continuous - uint8_t *prev_pict_types; ///< previous picture types in bitstream order, used for mb skip -#define PREV_PICT_TYPES_BUFFER_SIZE 256 int mb_skipped; ///< MUST BE SET only during DECODING uint8_t *mbskip_table; /**< used to avoid copy if macroblock skipped (for black regions for example) and used for b-frame encoding & decoding (contains skip table of next P Frame) */ |