sws/tests/pixdesc_query: sort pixel formats
authorClément Bœsch <u@pkh.me>
Thu, 23 Mar 2017 22:32:35 +0000 (23:32 +0100)
committerClément Bœsch <u@pkh.me>
Sun, 30 Jul 2017 14:04:36 +0000 (16:04 +0200)
libswscale/tests/pixdesc_query.c
tests/ref/fate/sws-pixdesc-query

index 34b33c6..a0c8437 100644 (file)
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <stdlib.h>
+
 #include "libavutil/mem.h"
 #include "libswscale/swscale_internal.h"
 
@@ -44,6 +46,13 @@ static const struct {
     {"usePal",      usePal},
 };
 
+static int cmp_str(const void *a, const void *b)
+{
+    const char *s1 = *(const char **)a;
+    const char *s2 = *(const char **)b;
+    return strcmp(s1, s2);
+}
+
 int main(void)
 {
     int i, j;
@@ -60,6 +69,8 @@ int main(void)
         }
 
         if (pix_fmts) {
+            qsort(pix_fmts, nb_pix_fmts, sizeof(*pix_fmts), cmp_str);
+
             printf("%s:\n", query_tab[i].class);
             for (j = 0; j < nb_pix_fmts; j++)
                 printf("  %s\n", pix_fmts[j]);
index e262a0c..b014afc 100644 (file)
 is16BPS:
+  ayuv64be
+  ayuv64le
+  bgr48be
+  bgr48le
+  bgra64be
+  bgra64le
+  gbrap16be
+  gbrap16le
+  gbrp16be
+  gbrp16le
   gray16be
   gray16le
+  p016be
+  p016le
   rgb48be
   rgb48le
-  yuv420p16le
+  rgba64be
+  rgba64le
+  ya16be
+  ya16le
   yuv420p16be
-  yuv422p16le
+  yuv420p16le
   yuv422p16be
-  yuv444p16le
+  yuv422p16le
   yuv444p16be
-  bgr48be
-  bgr48le
-  gbrp16be
-  gbrp16le
+  yuv444p16le
   yuva420p16be
   yuva420p16le
   yuva422p16be
   yuva422p16le
   yuva444p16be
   yuva444p16le
-  rgba64be
-  rgba64le
-  bgra64be
-  bgra64le
-  ya16be
-  ya16le
-  gbrap16be
-  gbrap16le
-  ayuv64le
-  ayuv64be
-  p016le
-  p016be
 
 isNBPS:
-  yuv420p9be
-  yuv420p9le
-  yuv420p10be
-  yuv420p10le
-  yuv422p10be
-  yuv422p10le
-  yuv444p9be
-  yuv444p9le
-  yuv444p10be
-  yuv444p10le
-  yuv422p9be
-  yuv422p9le
-  gbrp9be
-  gbrp9le
+  gbrap10be
+  gbrap10le
+  gbrap12be
+  gbrap12le
   gbrp10be
   gbrp10le
-  yuva420p9be
-  yuva420p9le
-  yuva422p9be
-  yuva422p9le
-  yuva444p9be
-  yuva444p9le
-  yuva420p10be
-  yuva420p10le
-  yuva422p10be
-  yuva422p10le
-  yuva444p10be
-  yuva444p10le
-  xyz12le
-  xyz12be
-  nv20le
+  gbrp12be
+  gbrp12le
+  gbrp14be
+  gbrp14le
+  gbrp9be
+  gbrp9le
+  gray10be
+  gray10le
+  gray12be
+  gray12le
   nv20be
+  nv20le
+  p010be
+  p010le
+  xyz12be
+  xyz12le
+  yuv420p10be
+  yuv420p10le
   yuv420p12be
   yuv420p12le
   yuv420p14be
   yuv420p14le
+  yuv420p9be
+  yuv420p9le
+  yuv422p10be
+  yuv422p10le
   yuv422p12be
   yuv422p12le
   yuv422p14be
   yuv422p14le
+  yuv422p9be
+  yuv422p9le
+  yuv440p10be
+  yuv440p10le
+  yuv440p12be
+  yuv440p12le
+  yuv444p10be
+  yuv444p10le
   yuv444p12be
   yuv444p12le
   yuv444p14be
   yuv444p14le
+  yuv444p9be
+  yuv444p9le
+  yuva420p10be
+  yuva420p10le
+  yuva420p9be
+  yuva420p9le
+  yuva422p10be
+  yuva422p10le
+  yuva422p9be
+  yuva422p9le
+  yuva444p10be
+  yuva444p10le
+  yuva444p9be
+  yuva444p9le
+
+isBE:
+  ayuv64be
+  bayer_bggr16be
+  bayer_gbrg16be
+  bayer_grbg16be
+  bayer_rggb16be
+  bgr444be
+  bgr48be
+  bgr555be
+  bgr565be
+  bgra64be
+  gbrap10be
+  gbrap12be
+  gbrap16be
+  gbrp10be
   gbrp12be
-  gbrp12le
   gbrp14be
-  gbrp14le
-  yuv440p10le
-  yuv440p10be
-  yuv440p12le
-  yuv440p12be
-  p010le
-  p010be
-  gbrap12be
-  gbrap12le
-  gbrap10be
-  gbrap10le
-  gray12be
-  gray12le
+  gbrp16be
+  gbrp9be
   gray10be
-  gray10le
-
-isBE:
+  gray12be
   gray16be
+  nv20be
+  p010be
+  p016be
+  rgb444be
   rgb48be
-  rgb565be
   rgb555be
-  bgr565be
-  bgr555be
+  rgb565be
+  rgba64be
+  xyz12be
+  ya16be
+  yuv420p10be
+  yuv420p12be
+  yuv420p14be
   yuv420p16be
-  yuv422p16be
-  yuv444p16be
-  rgb444be
-  bgr444be
-  bgr48be
   yuv420p9be
-  yuv420p10be
   yuv422p10be
-  yuv444p9be
-  yuv444p10be
+  yuv422p12be
+  yuv422p14be
+  yuv422p16be
   yuv422p9be
-  gbrp9be
-  gbrp10be
-  gbrp16be
-  yuva420p9be
-  yuva422p9be
-  yuva444p9be
+  yuv440p10be
+  yuv440p12be
+  yuv444p10be
+  yuv444p12be
+  yuv444p14be
+  yuv444p16be
+  yuv444p9be
   yuva420p10be
-  yuva422p10be
-  yuva444p10be
   yuva420p16be
+  yuva420p9be
+  yuva422p10be
   yuva422p16be
+  yuva422p9be
+  yuva444p10be
   yuva444p16be
-  xyz12be
+  yuva444p9be
+
+isYUV:
+  ayuv64be
+  ayuv64le
+  nv12
+  nv16
   nv20be
-  rgba64be
-  bgra64be
+  nv20le
+  nv21
+  p010be
+  p010le
+  p016be
+  p016le
+  uyvy422
+  uyyvyy411
+  xyz12be
+  xyz12le
   ya16be
-  gbrap16be
+  ya16le
+  ya8
+  yuv410p
+  yuv411p
+  yuv420p
+  yuv420p10be
+  yuv420p10le
   yuv420p12be
+  yuv420p12le
   yuv420p14be
+  yuv420p14le
+  yuv420p16be
+  yuv420p16le
+  yuv420p9be
+  yuv420p9le
+  yuv422p
+  yuv422p10be
+  yuv422p10le
   yuv422p12be
+  yuv422p12le
   yuv422p14be
-  yuv444p12be
-  yuv444p14be
-  gbrp12be
-  gbrp14be
-  bayer_bggr16be
-  bayer_rggb16be
-  bayer_gbrg16be
-  bayer_grbg16be
+  yuv422p14le
+  yuv422p16be
+  yuv422p16le
+  yuv422p9be
+  yuv422p9le
+  yuv440p
   yuv440p10be
+  yuv440p10le
   yuv440p12be
-  ayuv64be
-  p010be
-  gbrap12be
-  gbrap10be
-  gray12be
-  gray10be
-  p016be
-
-isYUV:
-  yuv420p
-  yuyv422
-  yuv422p
+  yuv440p12le
   yuv444p
-  yuv410p
-  yuv411p
-  yuvj420p
-  yuvj422p
-  yuvj444p
-  uyvy422
-  uyyvyy411
-  nv12
-  nv21
-  yuv440p
-  yuvj440p
-  yuva420p
-  yuv420p16le
-  yuv420p16be
-  yuv422p16le
-  yuv422p16be
-  yuv444p16le
+  yuv444p10be
+  yuv444p10le
+  yuv444p12be
+  yuv444p12le
+  yuv444p14be
+  yuv444p14le
   yuv444p16be
-  ya8
-  yuv420p9be
-  yuv420p9le
-  yuv420p10be
-  yuv420p10le
-  yuv422p10be
-  yuv422p10le
+  yuv444p16le
   yuv444p9be
   yuv444p9le
-  yuv444p10be
-  yuv444p10le
-  yuv422p9be
-  yuv422p9le
-  yuva422p
-  yuva444p
-  yuva420p9be
-  yuva420p9le
-  yuva422p9be
-  yuva422p9le
-  yuva444p9be
-  yuva444p9le
+  yuva420p
   yuva420p10be
   yuva420p10le
-  yuva422p10be
-  yuva422p10le
-  yuva444p10be
-  yuva444p10le
   yuva420p16be
   yuva420p16le
+  yuva420p9be
+  yuva420p9le
+  yuva422p
+  yuva422p10be
+  yuva422p10le
   yuva422p16be
   yuva422p16le
+  yuva422p9be
+  yuva422p9le
+  yuva444p
+  yuva444p10be
+  yuva444p10le
   yuva444p16be
   yuva444p16le
-  xyz12le
-  xyz12be
+  yuva444p9be
+  yuva444p9le
+  yuvj411p
+  yuvj420p
+  yuvj422p
+  yuvj440p
+  yuvj444p
+  yuyv422
+  yvyu422
+
+isPlanarYUV:
+  nv12
   nv16
-  nv20le
   nv20be
-  yvyu422
-  ya16be
-  ya16le
+  nv20le
+  nv21
+  p010be
+  p010le
+  p016be
+  p016le
+  yuv410p
+  yuv411p
+  yuv420p
+  yuv420p10be
+  yuv420p10le
   yuv420p12be
   yuv420p12le
   yuv420p14be
   yuv420p14le
+  yuv420p16be
+  yuv420p16le
+  yuv420p9be
+  yuv420p9le
+  yuv422p
+  yuv422p10be
+  yuv422p10le
   yuv422p12be
   yuv422p12le
   yuv422p14be
   yuv422p14le
+  yuv422p16be
+  yuv422p16le
+  yuv422p9be
+  yuv422p9le
+  yuv440p
+  yuv440p10be
+  yuv440p10le
+  yuv440p12be
+  yuv440p12le
+  yuv444p
+  yuv444p10be
+  yuv444p10le
   yuv444p12be
   yuv444p12le
   yuv444p14be
   yuv444p14le
-  yuvj411p
-  yuv440p10le
-  yuv440p10be
-  yuv440p12le
-  yuv440p12be
-  ayuv64le
-  ayuv64be
-  p010le
-  p010be
-  p016le
-  p016be
-
-isPlanarYUV:
-  yuv420p
-  yuv422p
-  yuv444p
-  yuv410p
-  yuv411p
-  yuvj420p
-  yuvj422p
-  yuvj444p
-  nv12
-  nv21
-  yuv440p
-  yuvj440p
-  yuva420p
-  yuv420p16le
-  yuv420p16be
-  yuv422p16le
-  yuv422p16be
-  yuv444p16le
   yuv444p16be
-  yuv420p9be
-  yuv420p9le
-  yuv420p10be
-  yuv420p10le
-  yuv422p10be
-  yuv422p10le
+  yuv444p16le
   yuv444p9be
   yuv444p9le
-  yuv444p10be
-  yuv444p10le
-  yuv422p9be
-  yuv422p9le
-  yuva422p
-  yuva444p
-  yuva420p9be
-  yuva420p9le
-  yuva422p9be
-  yuva422p9le
-  yuva444p9be
-  yuva444p9le
+  yuva420p
   yuva420p10be
   yuva420p10le
-  yuva422p10be
-  yuva422p10le
-  yuva444p10be
-  yuva444p10le
   yuva420p16be
   yuva420p16le
+  yuva420p9be
+  yuva420p9le
+  yuva422p
+  yuva422p10be
+  yuva422p10le
   yuva422p16be
   yuva422p16le
+  yuva422p9be
+  yuva422p9le
+  yuva444p
+  yuva444p10be
+  yuva444p10le
   yuva444p16be
   yuva444p16le
-  nv16
-  nv20le
-  nv20be
-  yuv420p12be
-  yuv420p12le
-  yuv420p14be
-  yuv420p14le
-  yuv422p12be
-  yuv422p12le
-  yuv422p14be
-  yuv422p14le
-  yuv444p12be
-  yuv444p12le
-  yuv444p14be
-  yuv444p14le
+  yuva444p9be
+  yuva444p9le
   yuvj411p
-  yuv440p10le
-  yuv440p10be
-  yuv440p12le
-  yuv440p12be
-  p010le
-  p010be
-  p016le
-  p016be
+  yuvj420p
+  yuvj422p
+  yuvj440p
+  yuvj444p
 
 isRGB:
-  rgb24
+  0bgr
+  0rgb
+  abgr
+  argb
+  bayer_bggr16be
+  bayer_bggr16le
+  bayer_bggr8
+  bayer_gbrg16be
+  bayer_gbrg16le
+  bayer_gbrg8
+  bayer_grbg16be
+  bayer_grbg16le
+  bayer_grbg8
+  bayer_rggb16be
+  bayer_rggb16le
+  bayer_rggb8
+  bgr0
   bgr24
-  bgr8
   bgr4
-  bgr4_byte
-  rgb8
-  rgb4
-  rgb4_byte
-  argb
-  rgba
-  abgr
-  bgra
-  rgb48be
-  rgb48le
-  rgb565be
-  rgb565le
-  rgb555be
-  rgb555le
-  bgr565be
-  bgr565le
-  bgr555be
-  bgr555le
-  rgb444le
-  rgb444be
-  bgr444le
   bgr444be
+  bgr444le
   bgr48be
   bgr48le
-  gbrp
-  gbrp9be
-  gbrp9le
-  gbrp10be
-  gbrp10le
-  gbrp16be
-  gbrp16le
-  rgba64be
-  rgba64le
-  bgra64be
-  bgra64le
+  bgr4_byte
+  bgr555be
+  bgr555le
+  bgr565be
+  bgr565le
+  bgr8
+  bgra
+  bgra64be
+  bgra64le
   gbrap
+  gbrap10be
+  gbrap10le
+  gbrap12be
+  gbrap12le
   gbrap16be
   gbrap16le
-  0rgb
-  rgb0
-  0bgr
-  bgr0
+  gbrp
+  gbrp10be
+  gbrp10le
   gbrp12be
   gbrp12le
   gbrp14be
   gbrp14le
-  bayer_bggr8
-  bayer_rggb8
-  bayer_gbrg8
-  bayer_grbg8
-  bayer_bggr16le
-  bayer_bggr16be
-  bayer_rggb16le
-  bayer_rggb16be
-  bayer_gbrg16le
-  bayer_gbrg16be
-  bayer_grbg16le
-  bayer_grbg16be
-  gbrap12be
-  gbrap12le
-  gbrap10be
-  gbrap10le
+  gbrp16be
+  gbrp16le
+  gbrp9be
+  gbrp9le
+  rgb0
+  rgb24
+  rgb4
+  rgb444be
+  rgb444le
+  rgb48be
+  rgb48le
+  rgb4_byte
+  rgb555be
+  rgb555le
+  rgb565be
+  rgb565le
+  rgb8
+  rgba
+  rgba64be
+  rgba64le
 
 Gray:
   gray
+  gray10be
+  gray10le
+  gray12be
+  gray12le
   gray16be
   gray16le
-  ya8
   ya16be
   ya16le
-  gray12be
-  gray12le
-  gray10be
-  gray10le
+  ya8
 
 RGBinInt:
-  rgb24
-  monow
-  monob
-  rgb8
-  rgb4
-  rgb4_byte
   abgr
   bgra
+  monob
+  monow
+  rgb24
+  rgb4
+  rgb444be
+  rgb444le
   rgb48be
   rgb48le
-  rgb565be
-  rgb565le
+  rgb4_byte
   rgb555be
   rgb555le
-  rgb444le
-  rgb444be
+  rgb565be
+  rgb565le
+  rgb8
   rgba64be
   rgba64le
 
 BGRinInt:
+  argb
   bgr24
-  monow
-  monob
-  bgr8
   bgr4
-  bgr4_byte
-  argb
-  rgba
-  bgr565be
-  bgr565le
-  bgr555be
-  bgr555le
-  bgr444le
   bgr444be
+  bgr444le
   bgr48be
   bgr48le
+  bgr4_byte
+  bgr555be
+  bgr555le
+  bgr565be
+  bgr565le
+  bgr8
   bgra64be
   bgra64le
+  monob
+  monow
+  rgba
 
 Bayer:
+  bayer_bggr16be
+  bayer_bggr16le
   bayer_bggr8
-  bayer_rggb8
+  bayer_gbrg16be
+  bayer_gbrg16le
   bayer_gbrg8
+  bayer_grbg16be
+  bayer_grbg16le
   bayer_grbg8
-  bayer_bggr16le
-  bayer_bggr16be
-  bayer_rggb16le
   bayer_rggb16be
-  bayer_gbrg16le
-  bayer_gbrg16be
-  bayer_grbg16le
-  bayer_grbg16be
+  bayer_rggb16le
+  bayer_rggb8
 
 AnyRGB:
-  rgb24
+  0bgr
+  0rgb
+  abgr
+  argb
+  bayer_bggr16be
+  bayer_bggr16le
+  bayer_bggr8
+  bayer_gbrg16be
+  bayer_gbrg16le
+  bayer_gbrg8
+  bayer_grbg16be
+  bayer_grbg16le
+  bayer_grbg8
+  bayer_rggb16be
+  bayer_rggb16le
+  bayer_rggb8
+  bgr0
   bgr24
-  monow
-  monob
-  bgr8
   bgr4
-  bgr4_byte
-  rgb8
-  rgb4
-  rgb4_byte
-  argb
-  rgba
-  abgr
-  bgra
-  rgb48be
-  rgb48le
-  rgb565be
-  rgb565le
-  rgb555be
-  rgb555le
-  bgr565be
-  bgr565le
-  bgr555be
-  bgr555le
-  rgb444le
-  rgb444be
-  bgr444le
   bgr444be
+  bgr444le
   bgr48be
   bgr48le
+  bgr4_byte
+  bgr555be
+  bgr555le
+  bgr565be
+  bgr565le
+  bgr8
+  bgra
+  bgra64be
+  bgra64le
+  gbrap
+  gbrap10be
+  gbrap10le
+  gbrap12be
+  gbrap12le
+  gbrap16be
+  gbrap16le
   gbrp
-  gbrp9be
-  gbrp9le
   gbrp10be
   gbrp10le
+  gbrp12be
+  gbrp12le
+  gbrp14be
+  gbrp14le
   gbrp16be
   gbrp16le
+  gbrp9be
+  gbrp9le
+  monob
+  monow
+  rgb0
+  rgb24
+  rgb4
+  rgb444be
+  rgb444le
+  rgb48be
+  rgb48le
+  rgb4_byte
+  rgb555be
+  rgb555le
+  rgb565be
+  rgb565le
+  rgb8
+  rgba
   rgba64be
   rgba64le
+
+ALPHA:
+  abgr
+  argb
+  ayuv64be
+  ayuv64le
+  bgra
   bgra64be
   bgra64le
   gbrap
-  gbrap16be
-  gbrap16le
-  0rgb
-  rgb0
-  0bgr
-  bgr0
-  gbrp12be
-  gbrp12le
-  gbrp14be
-  gbrp14le
-  bayer_bggr8
-  bayer_rggb8
-  bayer_gbrg8
-  bayer_grbg8
-  bayer_bggr16le
-  bayer_bggr16be
-  bayer_rggb16le
-  bayer_rggb16be
-  bayer_gbrg16le
-  bayer_gbrg16be
-  bayer_grbg16le
-  bayer_grbg16be
-  gbrap12be
-  gbrap12le
   gbrap10be
   gbrap10le
-
-ALPHA:
+  gbrap12be
+  gbrap12le
+  gbrap16be
+  gbrap16le
   pal8
-  argb
   rgba
-  abgr
-  bgra
-  yuva420p
+  rgba64be
+  rgba64le
+  ya16be
+  ya16le
   ya8
-  yuva422p
-  yuva444p
-  yuva420p9be
-  yuva420p9le
-  yuva422p9be
-  yuva422p9le
-  yuva444p9be
-  yuva444p9le
+  yuva420p
   yuva420p10be
   yuva420p10le
-  yuva422p10be
-  yuva422p10le
-  yuva444p10be
-  yuva444p10le
   yuva420p16be
   yuva420p16le
+  yuva420p9be
+  yuva420p9le
+  yuva422p
+  yuva422p10be
+  yuva422p10le
   yuva422p16be
   yuva422p16le
+  yuva422p9be
+  yuva422p9le
+  yuva444p
+  yuva444p10be
+  yuva444p10le
   yuva444p16be
   yuva444p16le
-  rgba64be
-  rgba64le
-  bgra64be
-  bgra64le
-  ya16be
-  ya16le
-  gbrap
-  gbrap16be
-  gbrap16le
-  ayuv64le
-  ayuv64be
-  gbrap12be
-  gbrap12le
-  gbrap10be
-  gbrap10le
+  yuva444p9be
+  yuva444p9le
 
 Packed:
-  yuyv422
-  rgb24
+  0bgr
+  0rgb
+  abgr
+  argb
+  ayuv64be
+  ayuv64le
+  bayer_bggr16be
+  bayer_bggr16le
+  bayer_bggr8
+  bayer_gbrg16be
+  bayer_gbrg16le
+  bayer_gbrg8
+  bayer_grbg16be
+  bayer_grbg16le
+  bayer_grbg8
+  bayer_rggb16be
+  bayer_rggb16le
+  bayer_rggb8
+  bgr0
   bgr24
-  monow
-  monob
-  pal8
-  uyvy422
-  uyyvyy411
-  bgr8
   bgr4
+  bgr444be
+  bgr444le
+  bgr48be
+  bgr48le
   bgr4_byte
-  rgb8
-  rgb4
-  rgb4_byte
-  argb
-  rgba
-  abgr
+  bgr555be
+  bgr555le
+  bgr565be
+  bgr565le
+  bgr8
   bgra
+  bgra64be
+  bgra64le
+  monob
+  monow
+  pal8
+  rgb0
+  rgb24
+  rgb4
+  rgb444be
+  rgb444le
   rgb48be
   rgb48le
-  rgb565be
-  rgb565le
+  rgb4_byte
   rgb555be
   rgb555le
-  bgr565be
-  bgr565le
-  bgr555be
-  bgr555le
-  rgb444le
-  rgb444be
-  bgr444le
-  bgr444be
-  ya8
-  bgr48be
-  bgr48le
-  xyz12le
-  xyz12be
+  rgb565be
+  rgb565le
+  rgb8
+  rgba
   rgba64be
   rgba64le
-  bgra64be
-  bgra64le
-  yvyu422
-  ya16be
-  ya16le
-  0rgb
-  rgb0
-  0bgr
-  bgr0
-  bayer_bggr8
-  bayer_rggb8
-  bayer_gbrg8
-  bayer_grbg8
-  bayer_bggr16le
-  bayer_bggr16be
-  bayer_rggb16le
-  bayer_rggb16be
-  bayer_gbrg16le
-  bayer_gbrg16be
-  bayer_grbg16le
-  bayer_grbg16be
-  ayuv64le
-  ayuv64be
+  uyvy422
+  uyyvyy411
+  xyz12be
+  xyz12le
+  ya16be
+  ya16le
+  ya8
+  yuyv422
+  yvyu422
 
 Planar:
-  yuv420p
-  yuv422p
-  yuv444p
-  yuv410p
-  yuv411p
-  yuvj420p
-  yuvj422p
-  yuvj444p
-  nv12
-  nv21
-  yuv440p
-  yuvj440p
-  yuva420p
-  yuv420p16le
-  yuv420p16be
-  yuv422p16le
-  yuv422p16be
-  yuv444p16le
-  yuv444p16be
-  yuv420p9be
-  yuv420p9le
-  yuv420p10be
-  yuv420p10le
-  yuv422p10be
-  yuv422p10le
-  yuv444p9be
-  yuv444p9le
-  yuv444p10be
-  yuv444p10le
-  yuv422p9be
-  yuv422p9le
+  gbrap
+  gbrap10be
+  gbrap10le
+  gbrap12be
+  gbrap12le
+  gbrap16be
+  gbrap16le
   gbrp
-  gbrp9be
-  gbrp9le
   gbrp10be
   gbrp10le
+  gbrp12be
+  gbrp12le
+  gbrp14be
+  gbrp14le
   gbrp16be
   gbrp16le
-  yuva422p
-  yuva444p
-  yuva420p9be
-  yuva420p9le
-  yuva422p9be
-  yuva422p9le
-  yuva444p9be
-  yuva444p9le
-  yuva420p10be
-  yuva420p10le
-  yuva422p10be
-  yuva422p10le
-  yuva444p10be
-  yuva444p10le
-  yuva420p16be
-  yuva420p16le
-  yuva422p16be
-  yuva422p16le
-  yuva444p16be
-  yuva444p16le
+  gbrp9be
+  gbrp9le
+  nv12
   nv16
-  nv20le
   nv20be
-  gbrap
-  gbrap16be
-  gbrap16le
+  nv20le
+  nv21
+  p010be
+  p010le
+  p016be
+  p016le
+  yuv410p
+  yuv411p
+  yuv420p
+  yuv420p10be
+  yuv420p10le
   yuv420p12be
   yuv420p12le
   yuv420p14be
   yuv420p14le
+  yuv420p16be
+  yuv420p16le
+  yuv420p9be
+  yuv420p9le
+  yuv422p
+  yuv422p10be
+  yuv422p10le
   yuv422p12be
   yuv422p12le
   yuv422p14be
   yuv422p14le
+  yuv422p16be
+  yuv422p16le
+  yuv422p9be
+  yuv422p9le
+  yuv440p
+  yuv440p10be
+  yuv440p10le
+  yuv440p12be
+  yuv440p12le
+  yuv444p
+  yuv444p10be
+  yuv444p10le
   yuv444p12be
   yuv444p12le
   yuv444p14be
   yuv444p14le
-  gbrp12be
-  gbrp12le
-  gbrp14be
-  gbrp14le
+  yuv444p16be
+  yuv444p16le
+  yuv444p9be
+  yuv444p9le
+  yuva420p
+  yuva420p10be
+  yuva420p10le
+  yuva420p16be
+  yuva420p16le
+  yuva420p9be
+  yuva420p9le
+  yuva422p
+  yuva422p10be
+  yuva422p10le
+  yuva422p16be
+  yuva422p16le
+  yuva422p9be
+  yuva422p9le
+  yuva444p
+  yuva444p10be
+  yuva444p10le
+  yuva444p16be
+  yuva444p16le
+  yuva444p9be
+  yuva444p9le
   yuvj411p
-  yuv440p10le
-  yuv440p10be
-  yuv440p12le
-  yuv440p12be
-  p010le
-  p010be
-  gbrap12be
-  gbrap12le
-  gbrap10be
-  gbrap10le
-  p016le
-  p016be
+  yuvj420p
+  yuvj422p
+  yuvj440p
+  yuvj444p
 
 PackedRGB:
-  rgb24
+  0bgr
+  0rgb
+  abgr
+  argb
+  bayer_bggr16be
+  bayer_bggr16le
+  bayer_bggr8
+  bayer_gbrg16be
+  bayer_gbrg16le
+  bayer_gbrg8
+  bayer_grbg16be
+  bayer_grbg16le
+  bayer_grbg8
+  bayer_rggb16be
+  bayer_rggb16le
+  bayer_rggb8
+  bgr0
   bgr24
-  bgr8
   bgr4
+  bgr444be
+  bgr444le
+  bgr48be
+  bgr48le
   bgr4_byte
-  rgb8
-  rgb4
-  rgb4_byte
-  argb
-  rgba
-  abgr
+  bgr555be
+  bgr555le
+  bgr565be
+  bgr565le
+  bgr8
   bgra
+  bgra64be
+  bgra64le
+  rgb0
+  rgb24
+  rgb4
+  rgb444be
+  rgb444le
   rgb48be
   rgb48le
-  rgb565be
-  rgb565le
+  rgb4_byte
   rgb555be
   rgb555le
-  bgr565be
-  bgr565le
-  bgr555be
-  bgr555le
-  rgb444le
-  rgb444be
-  bgr444le
-  bgr444be
-  bgr48be
-  bgr48le
+  rgb565be
+  rgb565le
+  rgb8
+  rgba
   rgba64be
   rgba64le
-  bgra64be
-  bgra64le
-  0rgb
-  rgb0
-  0bgr
-  bgr0
-  bayer_bggr8
-  bayer_rggb8
-  bayer_gbrg8
-  bayer_grbg8
-  bayer_bggr16le
-  bayer_bggr16be
-  bayer_rggb16le
-  bayer_rggb16be
-  bayer_gbrg16le
-  bayer_gbrg16be
-  bayer_grbg16le
-  bayer_grbg16be
 
 PlanarRGB:
-  gbrp
-  gbrp9be
-  gbrp9le
-  gbrp10be
-  gbrp10le
-  gbrp16be
-  gbrp16le
   gbrap
+  gbrap10be
+  gbrap10le
+  gbrap12be
+  gbrap12le
   gbrap16be
   gbrap16le
+  gbrp
+  gbrp10be
+  gbrp10le
   gbrp12be
   gbrp12le
   gbrp14be
   gbrp14le
-  gbrap12be
-  gbrap12le
-  gbrap10be
-  gbrap10le
+  gbrp16be
+  gbrp16le
+  gbrp9be
+  gbrp9le
 
 usePal:
+  bgr4_byte
+  bgr8
   gray
   pal8
-  bgr8
-  bgr4_byte
-  rgb8
   rgb4_byte
+  rgb8