]> granicus.if.org Git - handbrake/commitdiff
Remove mcdeint from the OpenCL decomb code so the code builds again
authorsr55 <sr55.hb@outlook.com>
Fri, 6 Sep 2013 17:23:13 +0000 (17:23 +0000)
committersr55 <sr55.hb@outlook.com>
Fri, 6 Sep 2013 17:23:13 +0000 (17:23 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5772 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/decomb.c

index 462e118352dca4d821b7a6c3d1774d9b96d237d4..9f017c58e35b00546bd9ac18b25026ed52af358f 100644 (file)
@@ -2552,7 +2552,7 @@ static int hb_decomb_work( hb_filter_object_t * filter,
     hb_buffer_t * in = *buf_in;
     hb_buffer_t * last = NULL, * out = NULL;
 #ifdef USE_OPENCL
-    if (pv->use_opencl && !(pv->mode & (MODE_MCDEINT | MODE_BOB)))
+    if (pv->use_opencl && !(pv->mode & (MODE_BOB)))
         return hb_decomb_work_opencl(filter, buf_in, buf_out);
 #endif
     if ( in->size <= 0 )
@@ -2809,7 +2809,7 @@ static int hb_decomb_work_opencl( hb_filter_object_t * filter,
             }
         }
 
-        hb_buffer_t* mcdeint_out = NULL;
+      /*  hb_buffer_t* mcdeint_out = NULL;
         if (pv->mcdeint_mode >= 0)
         {    
             mcdeint_out = hb_video_buffer_init(in->f.width, in->f.height);
@@ -2820,7 +2820,7 @@ static int hb_decomb_work_opencl( hb_filter_object_t * filter,
             last = mcdeint_out;
         }else{
             last = out;
-        }
+        }*/
 
         last->s = pv->ref[1]->s;
         if ((pv->mode & MODE_MASK) && pv->spatial_metric >= 0 )