From 46996ee4d4234027e465f71117073fce28fbb0d1 Mon Sep 17 00:00:00 2001 From: Dominggoes Isakh Date: Mon, 13 Aug 2018 19:49:53 +0200 Subject: [PATCH] HardwareConverter: Temporary remove OMX_SEC-formats for Pie bringup Change-Id: Ie9e665d7fc5b1124ecb662cfb4fcedc18d22021b --- exynos4/hal/libhwconverter/HardwareConverter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exynos4/hal/libhwconverter/HardwareConverter.cpp b/exynos4/hal/libhwconverter/HardwareConverter.cpp index 21306c5..39aa4fe 100644 --- a/exynos4/hal/libhwconverter/HardwareConverter.cpp +++ b/exynos4/hal/libhwconverter/HardwareConverter.cpp @@ -34,7 +34,7 @@ HardwareConverter::~HardwareConverter() { SecFimc* handle_fimc = (SecFimc*)mSecFimc; handle_fimc->destroy(); - delete mSecFimc; + delete handle_fimc; } bool HardwareConverter::convert( @@ -131,9 +131,11 @@ unsigned int HardwareConverter::OMXtoHarPixelFomrat(OMX_COLOR_FORMATTYPE omx_for case OMX_COLOR_FormatYUV420SemiPlanar: hal_format = HAL_PIXEL_FORMAT_YCbCr_420_SP; break; +/* case OMX_SEC_COLOR_FormatNV12TPhysicalAddress: hal_format = HAL_PIXEL_FORMAT_CUSTOM_YCbCr_420_SP_TILED; break; +*/ default: hal_format = HAL_PIXEL_FORMAT_YCbCr_420_P; break;