From fe0b80deee4e550a1ce6863ef1c51e91188a060d Mon Sep 17 00:00:00 2001 From: rik Date: Fri, 19 Dec 2003 22:15:37 +0000 Subject: vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12 colorspace input supported for now. Autocropping is also not implemented. Example usage: mplayer -vo zr2 -vf zrmjpeg foo.avi. vf_zrmjpeg and vo_zr2 should obsolete vo_zr and libvo/jpeg_enc.c in the future. Problem is that it needs some paramters of the zoran card (max resolution), for now the user needs to tell vf_zrmjpeg those parameters (which is stupid, because zrmjpeg should be able to query vo_zr2 for that information....) The filter currently uses code which is also present in libvo/jpeg_enc.c, in the future the (then enhanced) ffmpeg mjpeg encoder should/will be used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11663 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libmpcodecs/vf.c') diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c index 9627dee0be..2f7f2bba9d 100644 --- a/libmpcodecs/vf.c +++ b/libmpcodecs/vf.c @@ -41,6 +41,7 @@ extern vf_info_t vf_info_rotate; extern vf_info_t vf_info_mirror; extern vf_info_t vf_info_palette; extern vf_info_t vf_info_lavc; +extern vf_info_t vf_info_zrmjpeg; extern vf_info_t vf_info_dvbscale; extern vf_info_t vf_info_cropdetect; extern vf_info_t vf_info_test; @@ -110,6 +111,9 @@ static vf_info_t* filter_list[]={ #ifdef USE_LIBAVCODEC &vf_info_lavc, &vf_info_lavcdeint, +#endif +#ifdef HAVE_ZR + &vf_info_zrmjpeg, #endif &vf_info_dvbscale, &vf_info_cropdetect, -- cgit v1.2.3