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

suxen_drol suxen_drol at hotmail.com
Sun Mar 16 01:25:16 CET 2003


hi,

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.
* xvid_plugins_dump: dumps a yuvpgm for each frame before and after the encoding
process.
ive modified xvid_encraw to support these plugins via cmd line arguments
-s and -dump respectively.


some other thoughts:

* i wonder if we still should calculate psnr in xvidcore? whilst it can
be performed by a plugin (ie. xvid_plugin_psnr), psnr is a commonly
sought after value.

* i would like to remove lumimasking from xvidcore and place it in a
plugin; and possibly give it is own configuration structure, such that
the lumi parameters can be modified without rebuilding. does anyone see
a problem with this? anyone interested in helping out?

* the XVID_PLG_AFTER opt is called by libxvidcore in display order.
does anyone see the need for an additional XVID_PLG_AFTER2 which is
called in bitstream order (ie. for a real-time abr/cbr algo)?

-- pete; life is like a box of ammo




More information about the XviD-devel mailing list