Home | History | Annotate | Download | only in com.example.android.common.media

Lines Matching defs:MediaCodecWrapper

31 public class MediaCodecWrapper {
40 void outputFormatChanged(MediaCodecWrapper sender, MediaFormat newFormat);
50 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer);
79 private MediaCodecWrapper(MediaCodec codec) {
130 * Constructs the {@link MediaCodecWrapper} wrapper object around the video codec.
138 public static MediaCodecWrapper fromVideoFormat(final MediaFormat trackFormat,
140 MediaCodecWrapper result = null;
157 result = new MediaCodecWrapper(videoCodec);
199 throw new MediaCodecWrapper.WriteException(String.format(
301 * OutputSampleListener#outputSample(MediaCodecWrapper, android.media.MediaCodec.BufferInfo,
355 .outputFormatChanged(MediaCodecWrapper.this,