Lines Matching refs:MediaCodec
1482 final public class MediaCodec { class
1634 private MediaCodec mCodec;
1636 public EventHandler(@NonNull MediaCodec codec, @NonNull Looper looper) { in EventHandler()
1651 mCallback = (MediaCodec.Callback) msg.obj; in handleMessage()
1695 BufferInfo info = (MediaCodec.BufferInfo) msg.obj; in handleCallback()
1706 mCallback.onError(mCodec, (MediaCodec.CodecException) msg.obj); in handleCallback()
1757 public static MediaCodec createDecoderByType(@NonNull String type) in createDecoderByType()
1759 return new MediaCodec(type, true /* nameIsType */, false /* encoder */); in createDecoderByType()
1775 public static MediaCodec createEncoderByType(@NonNull String type) in createEncoderByType()
1777 return new MediaCodec(type, true /* nameIsType */, true /* encoder */); in createEncoderByType()
1790 public static MediaCodec createByCodecName(@NonNull String name) in createByCodecName()
1792 return new MediaCodec( in createByCodecName()
1796 private MediaCodec( in MediaCodec() method in MediaCodec
3420 @NonNull MediaCodec codec, long presentationTimeUs, long nanoTime); in onFrameRendered()
3482 public abstract void onInputBufferAvailable(@NonNull MediaCodec codec, int index); in onInputBufferAvailable()
3492 @NonNull MediaCodec codec, int index, @NonNull BufferInfo info); in onOutputBufferAvailable()
3500 public abstract void onError(@NonNull MediaCodec codec, @NonNull CodecException e); in onError()
3509 @NonNull MediaCodec codec, @NonNull MediaFormat format); in onOutputFormatChanged()