[MPlayer-dev-eng] [PATCH] Add 3D stereo video support by a video filter

Chang Zhou frank.zhouchang at gmail.com
Sun Sep 26 09:31:07 CEST 2010


Hi,

I have write a 3D video display filter (vf_ddd.c see in attached
files), which can watch stereo video
in normal display ( using red/cyan glass).Currently this patch support
only side-by-side input format
 and displayed in red/cyan(normal display) or polarized glass modes
(need display support), the
screen-shot is also in attached files.

As I know there is some full-function stereo video player for windows
such as Stereoscopic player, and I
think this is a good feature which should be supported in mplayer.

Frank

////////////////////////////////////////////////////////////////////////////////////////////////////////

Index: libmpcodecs/vf.c

===================================================================
--- libmpcodecs/vf.c	(revision 32176)
+++ libmpcodecs/vf.c	(working copy)
@@ -118,6 +118,7 @@
 extern const vf_info_t vf_info_geq;
 extern const vf_info_t vf_info_ow;

 extern const vf_info_t vf_info_fixpts;
+extern const vf_info_t vf_info_ddd;

 // list of available filters:
 static const vf_info_t* const filter_list[]={
@@ -210,6 +211,7 @@
     &vf_info_blackframe,

     &vf_info_ow,
     &vf_info_fixpts,
+    &vf_info_ddd,
     NULL
 };

Index: Makefile
===================================================================
--- Makefile	(revision 32176)

+++ Makefile	(working copy)
@@ -410,6 +410,7 @@
               libmpcodecs/vf_boxblur.c \
               libmpcodecs/vf_crop.c \
               libmpcodecs/vf_cropdetect.c \
+              libmpcodecs/vf_ddd.c \

               libmpcodecs/vf_decimate.c \
               libmpcodecs/vf_delogo.c \
               libmpcodecs/vf_denoise3d.c \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-side_by_side.jpg
Type: image/jpeg
Size: 50248 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100926/d6e19cf0/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-stereo.jpg
Type: image/jpeg
Size: 71483 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100926/d6e19cf0/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vf_ddd.c
Type: text/x-csrc
Size: 5461 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100926/d6e19cf0/attachment-0001.c>


More information about the MPlayer-dev-eng mailing list