/packages/apps/TV/src/com/android/exoplayer2/ext/ffmpeg/ |
FfmpegAudioDecoder.java | 44 private FfmpegDecoder mDecoder; 74 mDecoder.decode(mInputBuffer, mOutputBuffer, !mStarted); 100 mDecoder = 108 mInputBuffer = mDecoder.createInputBuffer(); 111 mOutputBuffer = mDecoder.createOutputBuffer(); 120 if (mDecoder != null) { 121 mDecoder.release(); 124 mDecoder = null;
|
/frameworks/opt/net/voip/src/jni/rtp/ |
AmrCodec.cpp | 39 if (GSMInitDecode(&mDecoder, (Word8 *)"RTP")) { 40 mDecoder = NULL; 48 if (mDecoder) { 49 GSMDecodeFrameExit(&mDecoder); 60 void *mDecoder; 97 return (sampleRate == 8000 && mEncoder && mDecoder) ? 160 : -1; 169 if (AMRDecode(mDecoder, type, bytes, samples, MIME_IETF) != length) { 197 if (GSMInitDecode(&mDecoder, (Word8 *)"RTP")) { 198 mDecoder = NULL; 206 if (mDecoder) { [all...] |
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ffmpeg/ |
FfmpegDecoderService.java | 120 FfmpegAudioDecoder mDecoder; 128 mDecoder = new FfmpegAudioDecoder(FfmpegDecoderService.this); 133 if (mDecoder != null) { 134 mDecoder.release(); 135 mDecoder = null; 145 mDecoder.decode(timeUs, sample); 150 mDecoder.resetDecoderState(mimetype); 155 ByteBuffer decodedBuffer = mDecoder.getDecodedSample(); 163 return mDecoder.getDecodedTimeUs();
|
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 58 private MediaCodec mDecoder; 79 mDecoder = codec; 92 mDecoder.stop(); 93 mDecoder.release(); 94 mDecoder = null; 210 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 212 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 258 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 261 mDecoder.queueSecureInputBuffer(index, 0, sCryptoInfo, presentationTimeUs, flags); 311 mDecoder.releaseOutputBuffer(index, render) [all...] |
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 58 private MediaCodec mDecoder; 79 mDecoder = codec; 92 mDecoder.stop(); 93 mDecoder.release(); 94 mDecoder = null; 210 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 212 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 258 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 261 mDecoder.queueSecureInputBuffer(index, 0, sCryptoInfo, presentationTimeUs, flags); 311 mDecoder.releaseOutputBuffer(index, render) [all...] |
/developers/samples/android/common/src/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 58 private MediaCodec mDecoder; 79 mDecoder = codec; 92 mDecoder.stop(); 93 mDecoder.release(); 94 mDecoder = null; 210 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 212 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 258 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 261 mDecoder.queueSecureInputBuffer(index, 0, sCryptoInfo, presentationTimeUs, flags); 311 mDecoder.releaseOutputBuffer(index, render) [all...] |
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 57 private MediaCodec mDecoder; 81 mDecoder = codec; 94 mDecoder.stop(); 95 mDecoder.release(); 96 mDecoder = null; 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); 321 mDecoder.releaseOutputBuffer(index, render) [all...] |
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 57 private MediaCodec mDecoder; 81 mDecoder = codec; 94 mDecoder.stop(); 95 mDecoder.release(); 96 mDecoder = null; 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); 321 mDecoder.releaseOutputBuffer(index, render) [all...] |
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 57 private MediaCodec mDecoder; 81 mDecoder = codec; 94 mDecoder.stop(); 95 mDecoder.release(); 96 mDecoder = null; 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); 321 mDecoder.releaseOutputBuffer(index, render) [all...] |
/frameworks/av/media/libstagefright/flac/dec/ |
FLACDecoder.cpp | 232 : mDecoder(NULL), 250 if (mDecoder != NULL) { 251 FLAC__stream_decoder_delete(mDecoder); 252 mDecoder = NULL; 262 mDecoder = FLAC__stream_decoder_new(); 263 if (mDecoder == NULL) { 267 FLAC__stream_decoder_set_md5_checking(mDecoder, false); 268 FLAC__stream_decoder_set_metadata_ignore_all(mDecoder); 270 mDecoder, FLAC__METADATA_TYPE_STREAMINFO); 273 mDecoder, FLAC__METADATA_TYPE_PICTURE) [all...] |
FLACDecoder.h | 71 FLAC__StreamDecoder *mDecoder;
|
/packages/apps/WallpaperPicker/src/com/android/photos/ |
BitmapRegionTileSource.java | 51 BitmapRegionDecoder mDecoder; 53 mDecoder = decoder; 70 return mDecoder.getWidth(); 73 return mDecoder.getHeight(); 76 return mDecoder.decodeRegion(wantRegion, options); 136 private SimpleBitmapRegionDecoder mDecoder; 145 mDecoder = loadBitmapRegionDecoder(); 146 if (mDecoder == null) { 150 int width = mDecoder.getWidth(); 151 int height = mDecoder.getHeight() [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
ZoomView.java | 54 BitmapRegionDecoder mDecoder; 58 mDecoder = mRegionDecoder; 138 if (mDecoder == null) { 145 mDecoder = BitmapRegionDecoder.newInstance(is, false); 151 if (mDecoder == null) { 154 Bitmap b = mDecoder.decodeRegion(region, options); 166 if (mDecoder != mRegionDecoder) { 168 mDecoder.recycle();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
BitmapRegionTileSource.java | 53 BitmapRegionDecoder mDecoder; 55 mDecoder = decoder; 84 return mDecoder.getWidth(); 87 return mDecoder.getHeight(); 90 return mDecoder.decodeRegion(wantRegion, options); 159 private SimpleBitmapRegionDecoder mDecoder; 176 mDecoder = loadBitmapRegionDecoder(); 177 if (mDecoder == null) { 181 int width = mDecoder.getWidth(); 182 int height = mDecoder.getHeight() [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderConformanceTest.java | 65 private MediaCodec mDecoder; 116 mDecoder.stop(); 122 mDecoder.release(); 128 mDecoder = null; 139 MediaCodecInfo codecInfo = mDecoder.getCodecInfo(); 154 mDecoder = MediaCodec.createByCodecName(decoderName); 155 if (MediaUtils.verifyDecoder(mDecoder, mExtractor, frameMD5Sums)) {
|
MediaSyncTest.java | 598 private MediaCodec mDecoder = null; 652 mDecoder = MediaCodec.createDecoderByType(mimeType); 653 mDecoder.configure(mediaFormat, mSurface, null, 0); 654 mDecoder.setCallback(this, mHandler); 663 if (mDecoder != null) { 664 mDecoder.start(); 670 if (mDecoder != null) { 672 mDecoder.stop(); 675 mDecoder.release(); 676 mDecoder = null [all...] |
AdaptivePlaybackTest.java | 405 Decoder mDecoder; // test state 413 mDecoder = new Decoder(c.name); 414 mDecoder.configureAndStart(stepFormat(), stepSurface()); 423 int decodedFrames = -mDecoder.queueInputBufferRange( 433 warn(mDecoder.getWarnings()); 434 mDecoder.clearWarnings(); 435 mDecoder.flush(); 447 mDecoder.stop(); 449 mDecoder.release(); 461 Decoder mDecoder; // test stat [all...] |
VideoEncoderTest.java | 199 protected MediaCodec mDecoder, mEncoder; 251 mDecoder = MediaCodec.createByCodecName(videoDecName); 254 mDecoder.setCallback(this); 305 if (mDecoder != null) { 306 mDecoder.release(); 307 mDecoder = null; 338 mDecoder.queueInputBuffer( 348 mDecoder.getInputBuffer(ix).put(mBuffer); 351 mDecoder.queueInputBuffer( 415 if (mEncoder != null && mDecoder != null) [all...] |
EncodeVirtualDisplayWithCompositionTest.java | 112 private MediaCodec mDecoder; 238 mDecoder = MediaCodec.createDecoderByType(MIME_TYPE); 241 mDecoder.configure(decoderFormat, mDecodingSurface.getSurface(), null, 0); 242 mDecoder.start(); 243 mDecoderInputBuffers = mDecoder.getInputBuffers(); 276 int inputBufferIndex = mDecoder.dequeueInputBuffer(DEFAULT_WAIT_TIMEOUT_US); 287 mDecoder.queueInputBuffer(inputBufferIndex, 0, info.size, 338 if (mDecoder != null) { 339 mDecoder.stop(); 340 mDecoder.release() [all...] |
/frameworks/av/media/libstagefright/ |
FLACExtractor.cpp | 132 FLAC__StreamDecoder *mDecoder; 500 mDecoder(NULL), 517 if (mDecoder != NULL) { 518 FLAC__stream_decoder_delete(mDecoder); 519 mDecoder = NULL; 526 mDecoder = FLAC__stream_decoder_new(); 527 if (mDecoder == NULL) { 534 FLAC__stream_decoder_set_md5_checking(mDecoder, false); 535 FLAC__stream_decoder_set_metadata_ignore_all(mDecoder); 537 mDecoder, FLAC__METADATA_TYPE_STREAMINFO) [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
BitmapRegionTileSource.java | 54 BitmapRegionDecoder mDecoder; 71 mDecoder = BitmapRegionDecoder.newInstance(path, true); 72 mWidth = mDecoder.getWidth(); 73 mHeight = mDecoder.getHeight(); 142 bitmap = mDecoder.decodeRegion(mWantRegion, mOptions); 164 Bitmap bitmap = mDecoder.decodeRegion(mOverlapRegion, mOptions);
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
SoftOpus.cpp | 59 mDecoder(NULL), 72 if (mDecoder != NULL) { 73 opus_multistream_decoder_destroy(mDecoder); 74 mDecoder = NULL; 455 mDecoder = opus_multistream_decoder_create(kRate, 461 if (!mDecoder || status != OPUS_OK) { 468 opus_multistream_decoder_ctl(mDecoder, 545 int numFrames = opus_multistream_decode(mDecoder, 597 if (portIndex == 0 && mDecoder != NULL) { 601 opus_multistream_decoder_ctl(mDecoder, OPUS_RESET_STATE) [all...] |
SoftOpus.h | 70 OpusMSDecoder *mDecoder;
|
/frameworks/base/services/core/java/com/android/server/am/ |
BatteryStatsService.java | [all...] |