OSDN Git Service

Expand AMediaFormat
authorMarco Nelissen <marcone@google.com>
Wed, 7 May 2014 19:55:18 +0000 (12:55 -0700)
committerMarco Nelissen <marcone@google.com>
Wed, 7 May 2014 19:55:18 +0000 (12:55 -0700)
commit34d497283c66b5ef0f8855c007eaa20d7ac8b96d
tree5f3cc71c9454f4081dd82eb9d42f47261ae11bc1
parent08aaabe87960c04ecac180db1fe88b5a7bc2ed3b
Expand AMediaFormat

Remove getDouble and getSize methods, since these are not used and/or
not present in the corresponding Java MediaFormat API.
Add setBuffer/getBuffer, needed for making formats for encoding, and
add other setters.

Change-Id: I528d51b4ed571d852b949637f7ae3a95d31da7c1
include/ndk/NdkMediaFormat.h
media/ndk/NdkMediaFormat.cpp