Displaying 2 results from an estimated 2 matches for "oggplayvideodata".
2008 Aug 20
0
liboggplay and overlay video
...n Wed, Aug 20, 2008 at 2:27 AM, ogg.k.ogg.k at googlemail.com
<ogg.k.ogg.k at googlemail.com> wrote:
> 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,
Right now, OggPlayVideoData is just a struct with three arbitrarily
named pointers; it doesn't even know its own dimensions. I think
having several collections of arbitrary pointer sets which may be null
depending on a type field might be confusing. You could do something
fancy with unions, but since RGB/RGBA is generally...
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