Revision 4744f896

View differences:

libavcodec/imgconvert.c
602 602
    case PIX_FMT_BGR4:
603 603
    case PIX_FMT_MONOWHITE:
604 604
    case PIX_FMT_MONOBLACK:
605
    case PIX_FMT_Y400A:
605 606
        picture->data[0] = ptr;
606 607
        picture->data[1] = NULL;
607 608
        picture->data[2] = NULL;
libavutil/pixdesc.c
779 779
        .log2_chroma_h = 1,
780 780
        .flags = PIX_FMT_HWACCEL,
781 781
    },
782
    [PIX_FMT_Y400A] = {
783
        .name = "y400a",
784
        .nb_components= 2,
785
        .comp = {
786
            {0,1,1,0,7},        /* Y */
787
            {0,1,2,0,7},        /* A */
788
        },
789
    },
782 790
};
783 791

  
784 792
static enum PixelFormat get_pix_fmt_internal(const char *name)
libavutil/pixfmt.h
132 132
    PIX_FMT_RGB444LE,  ///< packed RGB 4:4:4, 16bpp, (msb)4A 4R 4G 4B(lsb), little-endian, most significant bits to 0
133 133
    PIX_FMT_BGR444BE,  ///< packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), big-endian, most significant bits to 1
134 134
    PIX_FMT_BGR444LE,  ///< packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), little-endian, most significant bits to 1
135
    PIX_FMT_Y400A,     ///< 8bit gray, 8bit alpha
135 136
    PIX_FMT_NB,        ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions
136 137
};
137 138

  

Also available in: Unified diff