From: Miguel F. <mi...@ce...> - 2003-06-13 14:50:06
|
On Fri, 2003-06-13 at 10:56, Vrihad Shoonya wrote: > I am part of a team which is working on a linux based set top > box project. It is based on SiS552 chipset. It contains an > inbuilt hardware mpeg decoder. SiS is ready to supply a binary > kernel module and a shared library. They will also provide the > API specs for the library once we sign the NDA. how exactly do you pretend to write a xine plugin if the API is protected by an NDA? i might be wrong, but i would say that it is ok to use a binary kernel module. however, the shared library will be linked to xine and thus must be GPL'ed (as well as the plugin itself). > Now at present > there is no open source video player available which supports > SiS552's h/w mpeg decoder. So we have a choice to select any > linux based player based on its features for which we would have > to write respective plugin. nice ;) > I went through xine hackers' guide and it is completely silent > on development of video decoder plugins while other plugins > have some sort of documentation and examples. My question is > can I get some pointers to the places from where I can begin? see src/libxinevdec/foovideo.c for a complete video decoder example. "foovideo.c: This is a reference video decoder for the xine multimedia * player. It really works too! It will output frames of packed YUY2 data * where each byte in the map is the same value, which is 3 larger than the * value from the last frame. This creates a slowly rotating solid color * frame when the frames are played in succession." regards, Miguel |