[vlc-devel] Patch for Grayscale support

Michael Benjamin neuroptik at gmail.com
Fri Aug 25 21:14:18 CEST 2006

Attached is a patch for grayscale support.

The V4L access module maps VIDEO_PALETTE_GREY and the ffmpeg codec module
maps PIX_FMT_GRAY8 to fourcc GREY. But no FOURCC_GREY definition existed in
src/video_output/vout_pictures.h and no FOURCC_GREY cases were present in
src/video_output/vout_pictures.c (InitFormat/InitPicture) and
modules/codec/rawvideo.c (OpenDecoder).

Also I added a FOURCC GREY case in blend.c but more work may be needed to
fully implement blending.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060825/756543bc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc-trunk_grayscale.patch
Type: text/x-patch
Size: 3040 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060825/756543bc/attachment.bin>

More information about the vlc-devel mailing list