Searched refs:mediaCodec (Results 1 – 3 of 3) sorted by relevance
56 private MediaCodec mediaCodec; field in MediaCodecVideoEncoder180 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 …]
203 MediaCodec mediaCodec, String mime, boolean adaptivePlaybackSupported) { in MediaCodecBridge() argument204 assert mediaCodec != null; in MediaCodecBridge()205 mMediaCodec = mediaCodec; in MediaCodecBridge()219 MediaCodec mediaCodec = null; in create() local236 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 …]
169 getResources().getInteger(R.integer.mediaCodec)); in onCheckedChanged()