test/testautomation_pixels.c
changeset 9046 c3ec7c3e6c24
parent 7879 cee8a400dc51
child 13249 0d2519c40e47
     1.1 --- a/test/testautomation_pixels.c	Wed Aug 06 00:28:02 2014 -0700
     1.2 +++ b/test/testautomation_pixels.c	Wed Aug 06 11:34:54 2014 -0700
     1.3 @@ -79,14 +79,16 @@
     1.4    };
     1.5  
     1.6  /* Definition of all Non-RGB formats used to test pixel conversions */
     1.7 -const int _numNonRGBPixelFormats = 5;
     1.8 +const int _numNonRGBPixelFormats = 7;
     1.9  Uint32 _nonRGBPixelFormats[] =
    1.10    {
    1.11      SDL_PIXELFORMAT_YV12,
    1.12      SDL_PIXELFORMAT_IYUV,
    1.13      SDL_PIXELFORMAT_YUY2,
    1.14      SDL_PIXELFORMAT_UYVY,
    1.15 -    SDL_PIXELFORMAT_YVYU
    1.16 +    SDL_PIXELFORMAT_YVYU,
    1.17 +    SDL_PIXELFORMAT_NV12,
    1.18 +    SDL_PIXELFORMAT_NV21
    1.19    };
    1.20  char* _nonRGBPixelFormatsVerbose[] =
    1.21    {
    1.22 @@ -94,7 +96,9 @@
    1.23      "SDL_PIXELFORMAT_IYUV",
    1.24      "SDL_PIXELFORMAT_YUY2",
    1.25      "SDL_PIXELFORMAT_UYVY",
    1.26 -    "SDL_PIXELFORMAT_YVYU"
    1.27 +    "SDL_PIXELFORMAT_YVYU",
    1.28 +    "SDL_PIXELFORMAT_NV12",
    1.29 +    "SDL_PIXELFORMAT_NV21"
    1.30    };
    1.31  
    1.32  /* Definition of some invalid formats for negative tests */