summaryrefslogtreecommitdiffstats
path: root/include/ndk
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2014-05-23 15:49:49 -0700
committerMarco Nelissen <marcone@google.com>2014-05-23 15:49:49 -0700
commite22a64b6887240fc9910d6fc8afb0e6f81507047 (patch)
tree473c1affe037144582472f23d9211e87e1774a35 /include/ndk
parent7ac0039611ea7ea18f9545f96a8f5cb31dcdebe5 (diff)
downloadframeworks_av-e22a64b6887240fc9910d6fc8afb0e6f81507047.zip
frameworks_av-e22a64b6887240fc9910d6fc8afb0e6f81507047.tar.gz
frameworks_av-e22a64b6887240fc9910d6fc8afb0e6f81507047.tar.bz2
Remove codec callback for now.
Change-Id: I7ef3c1fc7aa1bfec958e6ea58bf95ae35a575e91
Diffstat (limited to 'include/ndk')
-rw-r--r--include/ndk/NdkMediaCodec.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/ndk/NdkMediaCodec.h b/include/ndk/NdkMediaCodec.h
index 2f000d7..c07f4c9 100644
--- a/include/ndk/NdkMediaCodec.h
+++ b/include/ndk/NdkMediaCodec.h
@@ -163,17 +163,6 @@ media_status_t AMediaCodec_releaseOutputBuffer(AMediaCodec*, size_t idx, bool re
media_status_t AMediaCodec_releaseOutputBufferAtTime(
AMediaCodec *mData, size_t idx, int64_t timestampNs);
-typedef void (*OnCodecEvent)(AMediaCodec *codec, void *userdata);
-
-/**
- * Set a callback to be called when a new buffer is available, or there was a format
- * or buffer change.
- * Note that you cannot perform any operations on the mediacodec from within the callback.
- * If you need to perform mediacodec operations, you must do so on a different thread.
- */
-media_status_t AMediaCodec_setNotificationCallback(
- AMediaCodec*, OnCodecEvent callback, void *userdata);
-
typedef enum {
AMEDIACODECRYPTOINFO_MODE_CLEAR = 0,