OSDN Git Service

Adds VPX encoding support for stagefright.
authorKunter Gultekin <kuntergultekin@google.com>
Fri, 1 Feb 2013 15:01:15 +0000 (17:01 +0200)
committerJames Dong <jdong@google.com>
Thu, 7 Feb 2013 18:18:13 +0000 (10:18 -0800)
commit6c6bb9873f55853fe74d8f45ad3ae116636d8be7
treead9677a0baca6d473c02588587385bd1858d2614
parenta0dd006834f4a424b67773ab6724e961a61de923
Adds VPX encoding support for stagefright.

Only following encoder settings are available
    - target bitrate
    - rate control (constant / variable)
    - frame rate
    - token partitioning
    - error resilience
    - reconstruction & loop filters

Only following color formats are recognized
    - YUV420Planar
    - YUV420SemiPlanar
    - AndroidOpaque

Following settings are not configurable by the client
    - encoding deadline is realtime
    - the algorithm interface for encoder is vp8
    - fractional bits of frame rate is discarded
    - timebase is fixed to 1/1000000

Requires libvpx to be built with encoder support enabled.
Requires openmax 1.1.2 extension headers.

Relevant tests exist in cts repo.

Change-Id: If759edb8db36acbd24dcb53d159a54e942766020
Signed-off-by: Kunter Gultekin <kuntergultekin@google.com>
media/libstagefright/codecs/on2/enc/Android.mk [new file with mode: 0644]
media/libstagefright/codecs/on2/enc/MODULE_LICENSE_APACHE2 [new file with mode: 0644]
media/libstagefright/codecs/on2/enc/NOTICE [new file with mode: 0644]
media/libstagefright/codecs/on2/enc/SoftVPXEncoder.cpp [new file with mode: 0644]
media/libstagefright/codecs/on2/enc/SoftVPXEncoder.h [new file with mode: 0644]