media_modules: enable ge2d for sc2 hcode h264 [1/1]
authorRico Yang <wei.yang@amlogic.com>
Sun, 12 Jul 2020 16:04:16 +0000 (00:04 +0800)
committergerrit autosubmit <gerrit.autosubmit@scgit.amlogic.com>
Thu, 30 Jul 2020 10:44:17 +0000 (03:44 -0700)
commita8aebdb24be18c4deb09079298ceb86d2bc563a7
treed9a2a2ac08afc16b215b0cd61d437fe8de6b45f8
parent685fea0506d6c2cc0b16cf208345caed80107930
media_modules: enable ge2d for sc2 hcode h264 [1/1]

PD#SWPL-29388

Problem:
cts case android.media.cts.EncodeVirtualDisplayTest#testEncodeVirtualDisplay
failed because of color space mismatch

Solution:
use ge2d to convert color space before encoding

Verify:
verified on S905X4

Change-Id: I0488ca1f0d6bdbfa439268917cbd6c932b294f61
Signed-off-by: Rico Yang <wei.yang@amlogic.com>
drivers/frame_sink/encoder/h264/encoder.c