~ubuntu-branches/debian/experimental/libav/experimental

« back to all changes in this revision

Viewing changes to libswscale/swscale-test.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2014-08-10 09:45:02 UTC
  • mfrom: (1.1.28) (2.1.45 sid)
  • Revision ID: package-import@ubuntu.com-20140810094502-p8pds4kq0zpig5oq
Tags: 6:11~alpha1-1
* New upstream Release v11
  - Fixes Unchecked conversion from double to enum (Closes: #749164)
* Add some post v11_alpha1 patches from upstream
* All SONAMEs bumped because of internal changes, but external API is
  promised to have not changed

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 * Should be removed when a cleaner pixel format system exists. */
38
38
#define isGray(x)                      \
39
39
    ((x) == AV_PIX_FMT_GRAY8       ||     \
40
 
     (x) == AV_PIX_FMT_Y400A       ||     \
 
40
     (x) == AV_PIX_FMT_YA8         ||     \
41
41
     (x) == AV_PIX_FMT_GRAY16BE    ||     \
42
 
     (x) == AV_PIX_FMT_GRAY16LE)
 
42
     (x) == AV_PIX_FMT_GRAY16LE    ||     \
 
43
     (x) == AV_PIX_FMT_YA16BE      ||     \
 
44
     (x) == AV_PIX_FMT_YA16LE)
43
45
#define hasChroma(x)                   \
44
46
    (!(isGray(x)                ||     \
45
47
       (x) == AV_PIX_FMT_MONOBLACK ||     \