Searched refs:MediaCodecWrapper (Results 1 – 4 of 4) sorted by relevance
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 32 public class MediaCodecWrapper { class 41 void outputFormatChanged(MediaCodecWrapper sender, MediaFormat newFormat); in outputFormatChanged() 51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); in outputSample() 80 private MediaCodecWrapper(MediaCodec codec) { in MediaCodecWrapper() method in MediaCodecWrapper 139 public static MediaCodecWrapper fromVideoFormat(final MediaFormat trackFormat, in fromVideoFormat() 141 MediaCodecWrapper result = null; in fromVideoFormat() 158 result = new MediaCodecWrapper(videoCodec); in fromVideoFormat() 200 throw new MediaCodecWrapper.WriteException(String.format( in writeSample() 356 .outputFormatChanged(MediaCodecWrapper.this, in update()
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 32 public class MediaCodecWrapper { class 41 void outputFormatChanged(MediaCodecWrapper sender, MediaFormat newFormat); in outputFormatChanged() 51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); in outputSample() 80 private MediaCodecWrapper(MediaCodec codec) { in MediaCodecWrapper() method in MediaCodecWrapper 139 public static MediaCodecWrapper fromVideoFormat(final MediaFormat trackFormat, in fromVideoFormat() 141 MediaCodecWrapper result = null; in fromVideoFormat() 158 result = new MediaCodecWrapper(videoCodec); in fromVideoFormat() 200 throw new MediaCodecWrapper.WriteException(String.format( in writeSample() 356 .outputFormatChanged(MediaCodecWrapper.this, in update()
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 32 public class MediaCodecWrapper { class 41 void outputFormatChanged(MediaCodecWrapper sender, MediaFormat newFormat); in outputFormatChanged() 51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); in outputSample() 80 private MediaCodecWrapper(MediaCodec codec) { in MediaCodecWrapper() method in MediaCodecWrapper 139 public static MediaCodecWrapper fromVideoFormat(final MediaFormat trackFormat, in fromVideoFormat() 141 MediaCodecWrapper result = null; in fromVideoFormat() 158 result = new MediaCodecWrapper(videoCodec); in fromVideoFormat() 200 throw new MediaCodecWrapper.WriteException(String.format( in writeSample() 356 .outputFormatChanged(MediaCodecWrapper.this, in update()
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.basicmediadecoder/ |
D | MainActivity.java | 34 import com.example.android.common.media.MediaCodecWrapper; 49 private MediaCodecWrapper mCodecWrapper; 124 mCodecWrapper = MediaCodecWrapper.fromVideoFormat(mExtractor.getTrackFormat(i), in startPlayback()
|