Loading
C2 Decoders: Move copy/convert functions to SimpleC2Component
VPx, AV1 and mpeg4 decoders had few copy/convert functions to write data to graphic buffers from codec buffers. These functions are now moved to SimpleC2Component. Also added function to support conversion to P010 format for 10 bit YUV data. Bug: 178229371 Test: atest CtsMediaV2TestCases -- --module-arg \ CtsMediaV2TestCases:instrumentation-arg:codec-prefix:=c2.android. Change-Id: Iec78a67f95bb514967403eb478ecf8e0f0a8fbf9