diff options
author | Mans Rullgard <mans@mansr.com> | 2012-04-12 13:55:49 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-04-21 18:56:19 +0100 |
commit | 2bcbd98459915baefc15043d02f4a942ebcd33da (patch) | |
tree | 8dc1411f9bab944622c785efbd9c5dc4959b00ee /libavcodec/avcodec.h | |
parent | 95510be8c35753da8f48062b28b65e7acdab965f (diff) | |
download | ffmpeg-2bcbd98459915baefc15043d02f4a942ebcd33da.tar.gz |
Remove lowres video decoding
This feature is complex, of questionable utility, and slows down
normal decoding.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 9e937d31b1..0fda1cb26d 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1394,7 +1394,7 @@ typedef struct AVCodecContext { int width, height; /** - * Bitstream width / height, may be different from width/height if lowres enabled. + * Bitstream width / height, may be different from width/height. * - encoding: unused * - decoding: Set by user before init if known. Codec should override / dynamically change if needed. */ @@ -2586,7 +2586,7 @@ typedef struct AVCodecContext { * - encoding: unused * - decoding: Set by user. */ - int lowres; + attribute_deprecated int lowres; /** * the picture in the bitstream @@ -2847,7 +2847,7 @@ typedef struct AVCodec { const int *supported_samplerates; ///< array of supported audio samplerates, or NULL if unknown, array is terminated by 0 const enum AVSampleFormat *sample_fmts; ///< array of supported sample formats, or NULL if unknown, array is terminated by -1 const uint64_t *channel_layouts; ///< array of support channel layouts, or NULL if unknown. array is terminated by 0 - uint8_t max_lowres; ///< maximum value for lowres supported by the decoder + attribute_deprecated uint8_t max_lowres; ///< maximum value for lowres supported by the decoder const AVClass *priv_class; ///< AVClass for the private context const AVProfile *profiles; ///< array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN} |