video: added USE_CSC_HW macro
[GitHub/LineageOS/android_hardware_samsung_slsi_openmax.git] / component / video / dec / vc1 / Exynos_OMX_Wmvdec.c
index d46917533d88e631ae3dd2d0d6ee6f6d1a633fa0..4a22d9369a4e0f55b242f247f28d8309e4583e39 100644 (file)
@@ -1544,8 +1544,8 @@ OMX_ERRORTYPE Exynos_WmvDec_Init(OMX_COMPONENTTYPE *pOMXComponent)
 
     pExynosComponent->getAllDelayBuffer = OMX_FALSE;
 
-#if 0//defined(USE_CSC_GSCALER)
-    csc_method = CSC_METHOD_HW; //in case of Use ION buffer.
+#ifdef USE_CSC_HW
+    csc_method = CSC_METHOD_HW;
 #endif
     pVideoDec->csc_handle = csc_init(csc_method);
     if (pVideoDec->csc_handle == NULL) {