OSDN Git Service

stagefright: fix surface input handling of software encoders
authorLajos Molnar <lajos@google.com>
Sat, 11 Oct 2014 00:15:17 +0000 (17:15 -0700)
committerLajos Molnar <lajos@google.com>
Tue, 14 Oct 2014 06:16:20 +0000 (23:16 -0700)
commit2edda09a2ad1d112c52acd37d323f63f0a492d67
treeef7d3fbbf888e258fb12b24ddf23a04dac3e54c5
parent512e979284de984427e5b2f73b9054ae1b5e2b0a
stagefright: fix surface input handling of software encoders

- added SoftVideoEncoder for common color conversion and
  extension handling logic
- fix YUV420 SemiPlanar handling that should be NV12 not NV21

Bug: 17935149
Change-Id: I9b8d05678b1862dd37bf349ea83d67bdf1bb5560
media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp
media/libstagefright/codecs/avc/enc/SoftAVCEncoder.h
media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp
media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.h
media/libstagefright/codecs/on2/enc/Android.mk
media/libstagefright/codecs/on2/enc/SoftVPXEncoder.cpp
media/libstagefright/codecs/on2/enc/SoftVPXEncoder.h
media/libstagefright/include/SoftVideoEncoderOMXComponent.h [new file with mode: 0644]
media/libstagefright/omx/Android.mk
media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp [new file with mode: 0644]