diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-19 23:36:29 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-20 08:02:30 +0100 |
commit | d6635daded80d68b0cda767a8a19af4b6a41701f (patch) | |
tree | 0a35a90402e9f79b6e7e35468226c212047cdec4 /libswscale/swscale_internal.h | |
parent | ff6bc16c5ad94704615b2cc9cb7f238e61bbe12d (diff) |
swscale: remove unused is{RGB,BGR}inBytes
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index ea5df26a27..d5674227ed 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -741,25 +741,6 @@ static av_always_inline int isGray(enum AVPixelFormat pix_fmt) (x) == AV_PIX_FMT_MONOWHITE \ ) -#define isRGBinBytes(x) ( \ - (x) == AV_PIX_FMT_RGB48BE \ - || (x) == AV_PIX_FMT_RGB48LE \ - || (x) == AV_PIX_FMT_RGBA64BE \ - || (x) == AV_PIX_FMT_RGBA64LE \ - || (x) == AV_PIX_FMT_RGBA \ - || (x) == AV_PIX_FMT_ARGB \ - || (x) == AV_PIX_FMT_RGB24 \ - ) -#define isBGRinBytes(x) ( \ - (x) == AV_PIX_FMT_BGR48BE \ - || (x) == AV_PIX_FMT_BGR48LE \ - || (x) == AV_PIX_FMT_BGRA64BE \ - || (x) == AV_PIX_FMT_BGRA64LE \ - || (x) == AV_PIX_FMT_BGRA \ - || (x) == AV_PIX_FMT_ABGR \ - || (x) == AV_PIX_FMT_BGR24 \ - ) - static av_always_inline int isBayer(enum AVPixelFormat pix_fmt) { const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_fmt); |