[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [livid-dev] mpeg2dec/libvo integration into OMS



* Bruno R. Barreyra <bruno.r.barreyra@intel.com> [20010216 13:10]:
> I just had a good idea on how to deal with integrating everything.
> 
> Although OMS needs extra functionality from the video out plugins,
> mpeg2dec needs the same amount of funcionality that every other video
> codec would ever need. So, OMS could have a struct just with the
> functions used by the video codec inside its main struct. Or just put
> them on top so the offset is the same.
> 

I think you are suggesting something that's been thrown around before.
Use mpeg2decish libvo everywhere and just have OMS 'subclass' them and
add its own functionality.  That's probably the way things will have to
go if we want to share code.  I'm assuming it will require some hooks or
callbacks in the base mpeg2dec libvo.

Sure it's doable.  Just needs someone to do it. ;)


> About integrating the sources, maybe we could put the OMS support
> functions in a separate file, and just compile them in if needed.
> 

I doubt this will work.  The reason we have this problem in the first
place is because walken wants to keep mpeg2dec testing output libs
simple and few.  OMS has different goals.

At some point we need to wrap these outputs in widgets so we can have
dvd inside a window with other controls.

You know we'll have the same problems with ac3dec/libao.  Plus the added
complexity that vorbis people have taken libao, improved it for their
needs, and even packaged it and put it in debian.  We'll have some
naming conflicts if we dont cooperate. ;)

-dave
-- 
David I. Lehn <dlehn@vt.edu>  | http://www.lehn.org/~dlehn/
Computer Engineering Graduate @ Virginia Tech in sunny Blacksburg, VA