search for: oggplayvideoyuvdata

Displaying 2 results from an estimated 2 matches for "oggplayvideoyuvdata".

2008 Aug 20
0
liboggplay and overlay video
...e pointers' approach, but I find frame->data[2] hard to read. Having the alpha channel be a separate plane and optionally NULL in the YUV and RGB types would work though. typedef struct { unsigned char *y; unsigned char *u; unsigned char *v; unsigned char *mask; /* may be NULL */ } OggPlayVideoYUVData; typedef struct { unsigned char *data; /* may be RGB or RGBA */ unsigned char *mask; /* may be NULL if RGBA */ } OggPlayVideoRGBData; That sort of thing. -r
2008 Aug 20
2
liboggplay and overlay video
> I think adding an RGB/RGBA frame type to liboggplay should *also* > happen. yuv2rgb is tedious at best and hard to get right at worst, so I'd added an RGBA type, but if this is going to also carry video, it might be better to merge this with the existing video type, and have a 'type' enum, or just several pointers, only one set being non NULL (makes client code simpler). Would