From 253d50c32a64c27d06d2c32a81ddad8dfbd96329 Mon Sep 17 00:00:00 2001 From: "Arun Kumar K.R" Date: Tue, 24 Oct 2017 15:50:05 -0700 Subject: [PATCH] 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 --- msm8998/libgralloc1/gr_buf_mgr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/msm8998/libgralloc1/gr_buf_mgr.cpp b/msm8998/libgralloc1/gr_buf_mgr.cpp index bd1ea22b..b11b524d 100644 --- a/msm8998/libgralloc1/gr_buf_mgr.cpp +++ b/msm8998/libgralloc1/gr_buf_mgr.cpp @@ -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: