Searched defs:MediaCodec (Results 1 - 3 of 3) sorted by last modified time

/frameworks/base/media/java/android/media/
H A DMediaCodec.java26 * MediaCodec class can be used to access low-level media codec, i.e.
29 * <p>MediaCodec is generally used like this:
31 * MediaCodec codec = MediaCodec.createDecoderByType(type);
49 * } else if (outputBufferIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) {
51 * } else if (outputBufferIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {
118 final public class MediaCodec { class
139 // in MediaCodec.h !
179 public static MediaCodec createDecoderByType(String type) {
180 return new MediaCodec(typ
202 private MediaCodec( method in class:MediaCodec
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h36 struct MediaCodec : public AHandler { struct in namespace:android
47 static sp<MediaCodec> CreateByType(
50 static sp<MediaCodec> CreateByComponentName(
117 virtual ~MediaCodec();
202 MediaCodec(const sp<ALooper> &looper);
229 DISALLOW_EVIL_CONSTRUCTORS(MediaCodec);
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp18 #define LOG_TAG "MediaCodec"
21 #include <media/stagefright/MediaCodec.h>
40 sp<MediaCodec> MediaCodec::CreateByType(
42 sp<MediaCodec> codec = new MediaCodec(looper);
51 sp<MediaCodec> MediaCodec::CreateByComponentName(
53 sp<MediaCodec> codec = new MediaCodec(loope
61 MediaCodec::MediaCodec(const sp<ALooper> &looper) function in class:android::MediaCodec
[all...]

Completed in 226 milliseconds