Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/
DMediaCodecVideoEncoder.java56 private MediaCodec mediaCodec; field in MediaCodecVideoEncoder
180 mediaCodec = MediaCodec.createByCodecName(properties.codecName); in initEncode()
181 if (mediaCodec == null) { in initEncode()
184 mediaCodec.configure( in initEncode()
186 mediaCodec.start(); in initEncode()
188 outputBuffers = mediaCodec.getOutputBuffers(); in initEncode()
189 ByteBuffer[] inputBuffers = mediaCodec.getInputBuffers(); in initEncode()
212 mediaCodec.setParameters(b); in encode()
214 mediaCodec.queueInputBuffer( in encode()
228 mediaCodec.stop(); in release()
[all …]
/external/chromium_org/media/base/android/java/src/org/chromium/media/
DMediaCodecBridge.java203 MediaCodec mediaCodec, String mime, boolean adaptivePlaybackSupported) { in MediaCodecBridge() argument
204 assert mediaCodec != null; in MediaCodecBridge()
205 mMediaCodec = mediaCodec; in MediaCodecBridge()
219 MediaCodec mediaCodec = null; in create() local
236 mediaCodec = MediaCodec.createByCodecName(decoderName + ".secure"); in create()
239 mediaCodec = MediaCodec.createEncoderByType(mime); in create()
241 mediaCodec = MediaCodec.createDecoderByType(mime); in create()
242 adaptivePlaybackSupported = codecSupportsAdaptivePlayback(mediaCodec, mime); in create()
250 if (mediaCodec == null) { in create()
253 return new MediaCodecBridge(mediaCodec, mime, adaptivePlaybackSupported); in create()
[all …]
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/
DSettingsMenuFragment.java169 getResources().getInteger(R.integer.mediaCodec)); in onCheckedChanged()