Merge "gralloc: Add missing BT601_6_625 handing" into pi-dev

This commit is contained in:
Jeff Tinker 2018-04-20 21:05:27 +00:00 committed by Android (Google) Code Review
commit 9eaa38013d
1 changed files with 1 additions and 0 deletions

View File

@ -651,6 +651,7 @@ gralloc1_error_t BufferManager::Perform(int operation, va_list args) {
*color_space = HAL_CSC_ITU_R_709;
break;
case ColorPrimaries_BT601_6_525:
case ColorPrimaries_BT601_6_625:
*color_space = ((color_metadata.range) ? HAL_CSC_ITU_R_601_FR : HAL_CSC_ITU_R_601);
break;
case ColorPrimaries_BT2020: