2010-09-10, 05:20
No, not exactly what I meant
Openmax can take input from pipe, and from SHM (seperate for Audio and video)
Trident PNX84XX Series CNX api can take data from pipe (with PID for Audio, and PID for Video, or using external dmux)
Sigmatel can take data from pipe, to /dev/stbvsinc and /dev/stbasinc
with the ability to pipe data to hw codec engines, would give the ability to support alot of otherwise too slow devices. (We already do this somewhat with VDPAU, and DXVA, I just mean to pipe the data to a device, or shared mem, or ./configure --enable-hwcodec=<HW Codec LIB>
Where the codec lib uses an agreed upon API to pass compressed audio and video data to external program, or lib, and offer handles for returned decoded data
like:
this would also make it easier to compile xbmc on devices under strict NDA, without violating the GPL.
Openmax can take input from pipe, and from SHM (seperate for Audio and video)
Trident PNX84XX Series CNX api can take data from pipe (with PID for Audio, and PID for Video, or using external dmux)
Sigmatel can take data from pipe, to /dev/stbvsinc and /dev/stbasinc
with the ability to pipe data to hw codec engines, would give the ability to support alot of otherwise too slow devices. (We already do this somewhat with VDPAU, and DXVA, I just mean to pipe the data to a device, or shared mem, or ./configure --enable-hwcodec=<HW Codec LIB>
Where the codec lib uses an agreed upon API to pass compressed audio and video data to external program, or lib, and offer handles for returned decoded data
like:
Code:
struct videoCB{
E_COLORSPACE colorspace;
void * outvid;
void * outaud;
bool *recognized; // returned by called lib, stop on 0, set to -1 on init, 1 means good to go.
void * inaud; //adpcm or pcm data 44100, if 0 ignore audio
locsize * locsize_t; //hsize, vsize, hpos, vpos; //if supported, ask lib to place video in window here...
surface_mask mypos; //if supported, the depth of the expected video (Foreground, Background, invisible, etc)
}
this would also make it easier to compile xbmc on devices under strict NDA, without violating the GPL.