Home
last modified time | relevance | path

Searched refs:videoCodec (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DMediaCodecWrapper.java142 MediaCodec videoCodec = null; in fromVideoFormat() local
150 videoCodec = MediaCodec.createDecoderByType(mimeType); in fromVideoFormat()
151 videoCodec.configure(trackFormat, surface, null, 0); in fromVideoFormat()
157 if (videoCodec != null) { in fromVideoFormat()
158 result = new MediaCodecWrapper(videoCodec); in fromVideoFormat()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DMediaCodecWrapper.java142 MediaCodec videoCodec = null; in fromVideoFormat() local
150 videoCodec = MediaCodec.createDecoderByType(mimeType); in fromVideoFormat()
151 videoCodec.configure(trackFormat, surface, null, 0); in fromVideoFormat()
157 if (videoCodec != null) { in fromVideoFormat()
158 result = new MediaCodecWrapper(videoCodec); in fromVideoFormat()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DMediaCodecWrapper.java142 MediaCodec videoCodec = null; in fromVideoFormat() local
150 videoCodec = MediaCodec.createDecoderByType(mimeType); in fromVideoFormat()
151 videoCodec.configure(trackFormat, surface, null, 0); in fromVideoFormat()
157 if (videoCodec != null) { in fromVideoFormat()
158 result = new MediaCodecWrapper(videoCodec); in fromVideoFormat()