Revert "HardwareConverter: Temporary remove OMX_SEC-formats for Pie bringup"

This reverts commit 46996ee4d4.

Change-Id: I12bd4e3c4f9d898424fa2ee5f11cd4de561b6885
This commit is contained in:
Shilin Victor 2018-11-22 11:35:24 +03:00
parent 605937f3b3
commit e2733b095b

View file

@ -34,7 +34,7 @@ HardwareConverter::~HardwareConverter()
{
SecFimc* handle_fimc = (SecFimc*)mSecFimc;
handle_fimc->destroy();
delete handle_fimc;
delete mSecFimc;
}
bool HardwareConverter::convert(
@ -131,11 +131,9 @@ 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;