From 90efe7cf4865ed615b2932dee5d8b795a3c43290 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 24 Feb 2013 16:51:29 +0100 Subject: demux_mf: support .xbm And support the PIX_FMT_MONOWHITE pixel format. (This is really weird: unlike PIX_FMT_MONOBLACK, it uses white pixels. I have no idea why libavcodec doesn't just convert the pixel format on the fly, instead of bothering everyone with really special pixel formats.) --- video/img_format.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/img_format.h') diff --git a/video/img_format.h b/video/img_format.h index f09c3f55d7..0d77872123 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -197,6 +197,7 @@ enum mp_imgfmt { IMGFMT_RGB4, // r1 g2 b1, bit-packed IMGFMT_BGR4, IMGFMT_MONO, // 1 bit per pixel, bit-packed + IMGFMT_MONO_W, // like IMGFMT_MONO, but inverted (white pixels) // Accessed with bit-shifts after endian-swapping the uint16_t pixel IMGFMT_RGB12_LE, // 4r 4g 4b 4a (LSB to MSB) -- cgit v1.2.3