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

/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp18 #define LOG_TAG "MediaCodec"
40 #include <media/stagefright/MediaCodec.h>
69 ResourceManagerClient(MediaCodec* codec) : mMediaCodec(codec) {}
72 sp<MediaCodec> codec = mMediaCodec.promote();
92 sp<MediaCodec> codec = mMediaCodec.promote();
109 wp<MediaCodec> mMediaCodec;
114 MediaCodec::ResourceManagerServiceProxy::ResourceManagerServiceProxy(pid_t pid)
116 if (mPid == MediaCodec::kNoPid) {
121 MediaCodec::ResourceManagerServiceProxy::~ResourceManagerServiceProxy() {
127 void MediaCodec
245 MediaCodec::MediaCodec(const sp<ALooper> &looper, pid_t pid) function in class:android::MediaCodec
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h45 struct MediaCodec : public AHandler { struct in namespace:android
66 static sp<MediaCodec> CreateByType(
70 static sp<MediaCodec> CreateByComponentName(
167 // Create a MediaCodec notification message from a list of rendered or dropped render infos
174 virtual ~MediaCodec();
340 MediaCodec(const sp<ALooper> &looper, pid_t pid);
403 DISALLOW_EVIL_CONSTRUCTORS(MediaCodec);
/frameworks/base/media/java/android/media/
H A DMediaCodec.java43 MediaCodec class can be used to access low-level media codecs, i.e. encoder/decoder components.
51 alt="MediaCodec buffer flow diagram"></object></center>
90 short[] getSamplesForChannel(MediaCodec codec, int bufferId, int channelIx) {
138 alt="MediaCodec state diagram"></object></center>
165 Use {@link MediaCodecList} to create a MediaCodec for a specific {@link MediaFormat}. When
308 the {@link Callback#onInputBufferAvailable MediaCodec.Callback.onInput}/{@link
368 alt="MediaCodec state diagram for asynchronous operation"></object></center>
370 MediaCodec is typically used like this in asynchronous mode:
372 MediaCodec codec = MediaCodec
1366 final public class MediaCodec { class
1655 private MediaCodec( method in class:MediaCodec
[all...]

Completed in 409 milliseconds