gralloc: Add missing BT601_6_625 handing
Add missing BT601_6_625 handing bug:77471420 Test: Reproduce bug scenario. With the CLs, verified both video and audio work as expected using all the video modes. Merge from: https://partner-android-review.googlesource.com/#/c/1063538 Change-Id: I10034f38c8ab2283f13556ddf37bea51e7356a79 CRs-fixed: 2129768 Acked-by: Saurabh Shah <saurshah@codeaurora.org>
This commit is contained in:
parent
3756b400ce
commit
253d50c32a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue