media/libstagefright/C2OMXNode.cpp
0 → 100644
+281
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
- Implement CCodec::setInputSurface(). - Introduce InputSurfaceWrapper to handle both IInputSurface and IGraphicBufferProducer. - Create C2OMXNode to wrap codec 2.0 component in IOMXNode, so that it can be used in IGraphicBufferPrdoucer::configure(). Test: setprop debug.stagefright.ccodec yes Test: screenrecord --codec-name c2.google.avc.encoder /sdcard/record.mp4 Test: screenrecord --persistent-surface --codec-name c2.google.avc.encoder /sdcard/record.mp4 Change-Id: I7ea9f150ae06996f03a78645d6e748d265b975df