diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-12-05 14:24:57 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-23 10:09:12 +0100 |
commit | bc143ce1ac3f8cd851a7e6be69d9a1fbe6b633b6 (patch) | |
tree | 40313984a046f58f6a6e94c61b0695420288de87 /libavcodec/imgconvert.c | |
parent | 63fe79a3368cc53e6faf7fa265a9a1a8bec46a88 (diff) | |
download | ffmpeg-bc143ce1ac3f8cd851a7e6be69d9a1fbe6b633b6.tar.gz |
lavc: Drop deprecated chroma subsample function
Deprecated in 11/2012.
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 4667a4fb52..9c8fab59a3 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -33,15 +33,6 @@ #include "libavutil/internal.h" #include "libavutil/imgutils.h" -#if FF_API_GETCHROMA -void avcodec_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift) -{ - const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_fmt); - *h_shift = desc->log2_chroma_w; - *v_shift = desc->log2_chroma_h; -} -#endif - static int is_gray(const AVPixFmtDescriptor *desc) { return desc->nb_components - (desc->flags & AV_PIX_FMT_FLAG_ALPHA) == 1; |