* true on success in copying pixel data.
* false on failure.
*/
+#ifdef SCALER_USE_M2M1SHOT
bool exynos_sc_copy_pixels(
struct exynos_sc_pxinfo *pxinfo,
int dev_num);
-
+#endif
#ifdef __cplusplus
}
#endif
LOCAL_ADDITIONAL_DEPENDENCIES += \
$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
-LOCAL_SRC_FILES := libscaler.cpp libscaler-v4l2.cpp libscalerblend-v4l2.cpp libscaler-m2m1shot.cpp libscaler-swscaler.cpp
+LOCAL_SRC_FILES := libscaler.cpp libscaler-v4l2.cpp libscalerblend-v4l2.cpp libscaler-swscaler.cpp
ifeq ($(BOARD_USES_SCALER_M2M1SHOT), true)
LOCAL_CFLAGS += -DSCALER_USE_M2M1SHOT
+LOCAL_SRC_FILES += libscaler-m2m1shot.cpp
endif
# since 3.18 kernel
#include "libscaler-common.h"
#include "libscalerblend-v4l2.h"
#include "libscaler-v4l2.h"
+
+#ifdef SCALER_USE_M2M1SHOT
#include "libscaler-m2m1shot.h"
static bool find_pixel(unsigned int sc_pxfmt, unsigned int __out *v4l2_pxfmt)
return sc.Run();
}
-#ifdef SCALER_USE_M2M1SHOT
typedef CScalerM2M1SHOT CScalerNonStream;
#else
typedef CScalerV4L2 CScalerNonStream;