Searched defs:MediaCodec (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp18 #define LOG_TAG "MediaCodec"
35 #include <media/stagefright/MediaCodec.h>
47 struct MediaCodec::BatteryNotifier : public Singleton<BatteryNotifier> {
61 ANDROID_SINGLETON_STATIC_INSTANCE(MediaCodec::BatteryNotifier)
63 MediaCodec::BatteryNotifier::BatteryNotifier() :
77 void MediaCodec::BatteryNotifier::noteStartVideo() {
84 void MediaCodec::BatteryNotifier::noteStopVideo() {
96 void MediaCodec::BatteryNotifier::noteStartAudio() {
103 void MediaCodec::BatteryNotifier::noteStopAudio() {
115 sp<MediaCodec> MediaCode
138 MediaCodec::MediaCodec(const sp<ALooper> &looper) function in class:android::MediaCodec
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h37 struct MediaCodec : public AHandler { struct in namespace:android
57 static sp<MediaCodec> CreateByType(
60 static sp<MediaCodec> CreateByComponentName(
147 virtual ~MediaCodec();
265 MediaCodec(const sp<ALooper> &looper);
321 DISALLOW_EVIL_CONSTRUCTORS(MediaCodec);
/frameworks/base/media/java/android/media/
H A DMediaCodec.java41 * MediaCodec class can be used to access low-level media codec, i.e.
44 * <p>MediaCodec is generally used like this:
46 * MediaCodec codec = MediaCodec.createDecoderByType(type);
70 * } else if (outputBufferIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) {
73 * } else if (outputBufferIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {
216 * MediaCodec methods throw {@link java.lang.IllegalStateException}
220 * {@link MediaCodec.CryptoException#MediaCodec.CryptoException}, which
221 * has further error information obtainable from {@link MediaCodec
240 final public class MediaCodec { class
474 private MediaCodec( method in class:MediaCodec
[all...]

Completed in 658 milliseconds