diff libmpcodecs/vf.c @ 11662:173f22eb0505

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.
author rik
date Fri, 19 Dec 2003 22:15:37 +0000
parents 5eb66d37d539
children c10bd91a4eb2
line wrap: on
line diff
--- a/libmpcodecs/vf.c	Fri Dec 19 22:05:24 2003 +0000
+++ b/libmpcodecs/vf.c	Fri Dec 19 22:15:37 2003 +0000
@@ -41,6 +41,7 @@
 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;
@@ -111,6 +112,9 @@
     &vf_info_lavc,
     &vf_info_lavcdeint,
 #endif
+#ifdef HAVE_ZR
+    &vf_info_zrmjpeg,
+#endif
     &vf_info_dvbscale,
     &vf_info_cropdetect,
     &vf_info_test,