creating a new video out module

Bram Stolk bram at
Wed Sep 4 17:00:02 CEST 2002


Thanks again.

On Wed, 4 Sep 2002 16:06:36 +0200
Samuel Hocevar <sam at> wrote:

>    You probably want to use the --dummy-chroma or even force the output
> chroma in the source code. See the Init() function in dummy/vout.c for
> how RV16 is forced. For a list of picture formats internally used by
> vlc, you can see src/video_output/vout_pictures.h.

The comments in the formats list confuse me.
I think you've got the masks swapped.

/* Packed RGB 15bpp, 0x1f, 0x7e0, 0xf800 */
#define FOURCC_RV15         VLC_FOURCC('R','V','1','5')

I assume the hex nrs are R G and B bitmasks.
But this means: 5 bits, 6 bits, 5 bits == 16 bit mask, not 15

/* Packed RGB 16bpp, 0x1f, 0x3e0, 0x7c00 */
#define FOURCC_RV16         VLC_FOURCC('R','V','1','6')

These masks are 5 bits, 5 bits, 5 bits == 15 bit mask, not 16

 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram at   Phone +31-20-5923059  Fax +31-20-6683167

 "I heard if you play the NT-4.0-CD backwards, you get a satanic message."
 "Thats nothing, if you play it forward, it installs NT-4.0"
This is the vlc-devel mailing-list, see
To unsubscribe, please read
If you are in trouble, please contact <postmaster at>

More information about the vlc-devel mailing list