[XviD-devel] dev-api-4: plugins api

Christoph Lampert chl at math.uni-bonn.de
Sat Mar 15 16:08:40 CET 2003


On Sat, 15 Mar 2003, Edouard Gomez wrote:

> suxen_drol (suxen_drol at hotmail.com) wrote:
> > plugins api progress is coming along smoothly, in addition to general
> > dev-api-4 bug fixing and house cleaning. i've included two plugin samples
> > in the /xvidcore/src/plugins directory:
> > * xvid_plugins_psnr: which prints sse to stdout.
> 
> Would it be better to return 3 floats so every application can format it
> the way it wants and more important, don't rely on console output (i
> think of win32 users) ?

Sorry, I didn't check plugin API, but shouldn't two parameters of the
call to plugin be void* pointers for input and output, which is then
read from (e.g. a filename) and/or filled with output data, e.g. PSNR
values? That way, we can have arbitrarily much input and output (or none).

gruel




More information about the XviD-devel mailing list