[MPlayer-cvslog] r32627 - trunk/libmpcodecs/vf_stereo3d.c

reimar subversion at mplayerhq.hu
Sun Nov 14 16:34:27 CET 2010


Author: reimar
Date: Sun Nov 14 16:34:27 2010
New Revision: 32627

Log:
Remove unused struct element.

Modified:
   trunk/libmpcodecs/vf_stereo3d.c

Modified: trunk/libmpcodecs/vf_stereo3d.c
==============================================================================
--- trunk/libmpcodecs/vf_stereo3d.c	Sun Nov 14 16:33:25 2010	(r32626)
+++ trunk/libmpcodecs/vf_stereo3d.c	Sun Nov 14 16:34:27 2010	(r32627)
@@ -67,7 +67,6 @@ typedef struct component {
     unsigned int off_right;
     unsigned int row_left;
     unsigned int row_right;
-    unsigned int stride;
 } component;
 
 //==global variables==//
@@ -142,19 +141,16 @@ static int config(struct vf_instance *vf
     vf->priv->in.off_right      = 0;
     vf->priv->in.row_left       = 0;
     vf->priv->in.row_right      = 0;
-    vf->priv->in.stride         = vf->priv->width * 3;
 
     //check input format
     switch (vf->priv->in.fmt) {
     case SIDE_BY_SIDE_LR:
         vf->priv->width         = width / 2;
         vf->priv->in.off_right  = vf->priv->width * 3;
-        vf->priv->in.stride     = vf->priv->width * 6;
         break;
     case SIDE_BY_SIDE_RL:
         vf->priv->width         = width / 2;
         vf->priv->in.off_left   = vf->priv->width * 3;
-        vf->priv->in.stride     = vf->priv->width * 6;
         break;
     case ABOVE_BELOW_2_LR:
         d_height               *= 2;
@@ -181,7 +177,6 @@ static int config(struct vf_instance *vf
     vf->priv->out.off_right     = 0;
     vf->priv->out.row_left      = 0;
     vf->priv->out.row_right     = 0;
-    vf->priv->out.stride        = vf->priv->width * 3;
 
     //check output format
     switch (vf->priv->out.fmt) {
@@ -201,12 +196,10 @@ static int config(struct vf_instance *vf
     case SIDE_BY_SIDE_LR:
         vf->priv->out.width     = vf->priv->width * 2;
         vf->priv->out.off_right = vf->priv->width * 3;
-        vf->priv->out.stride    = vf->priv->width * 6;
         break;
     case SIDE_BY_SIDE_RL:
         vf->priv->out.width     = vf->priv->width * 2;
         vf->priv->out.off_left  = vf->priv->width * 3;
-        vf->priv->out.stride    = vf->priv->width * 6;
         break;
     case ABOVE_BELOW_2_LR:
         d_height               /= 2;


More information about the MPlayer-cvslog mailing list