
Since ycbcr_enc is u8 member varible, 302 value exceeds its memory range resulting in storage of incorrect matrix coefficents, and passing the same to HAL. As a result, incorrect color space info is propagated to client resulting into color mismatch issue and failing the CTS testcase. Fixed this. Change-Id: I66424c033bb4c4ad7d7528974a45a6a4b2740327 Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>