HardwareConverter: Temporary remove OMX_SEC-formats for Pie bringup

Change-Id: Ie9e665d7fc5b1124ecb662cfb4fcedc18d22021b
This commit is contained in:
Dominggoes Isakh 2018-08-13 19:49:53 +02:00
parent 0df2edccea
commit 46996ee4d4

View file

@ -34,7 +34,7 @@ HardwareConverter::~HardwareConverter()
{ {
SecFimc* handle_fimc = (SecFimc*)mSecFimc; SecFimc* handle_fimc = (SecFimc*)mSecFimc;
handle_fimc->destroy(); handle_fimc->destroy();
delete mSecFimc; delete handle_fimc;
} }
bool HardwareConverter::convert( bool HardwareConverter::convert(
@ -131,9 +131,11 @@ unsigned int HardwareConverter::OMXtoHarPixelFomrat(OMX_COLOR_FORMATTYPE omx_for
case OMX_COLOR_FormatYUV420SemiPlanar: case OMX_COLOR_FormatYUV420SemiPlanar:
hal_format = HAL_PIXEL_FORMAT_YCbCr_420_SP; hal_format = HAL_PIXEL_FORMAT_YCbCr_420_SP;
break; break;
/*
case OMX_SEC_COLOR_FormatNV12TPhysicalAddress: case OMX_SEC_COLOR_FormatNV12TPhysicalAddress:
hal_format = HAL_PIXEL_FORMAT_CUSTOM_YCbCr_420_SP_TILED; hal_format = HAL_PIXEL_FORMAT_CUSTOM_YCbCr_420_SP_TILED;
break; break;
*/
default: default:
hal_format = HAL_PIXEL_FORMAT_YCbCr_420_P; hal_format = HAL_PIXEL_FORMAT_YCbCr_420_P;
break; break;