/frameworks/base/media/tests/omxjpegdecoder/ |
SkOmxPixelRef.h | 44 sp<MediaSource> mDecoder;
|
/developers/build/prebuilts/gradle/BasicMediaDecoder/BasicMediaDecoderSample/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 56 private MediaCodec mDecoder; 80 mDecoder = codec; 93 mDecoder.stop(); 94 mDecoder.release(); 95 mDecoder = null; 212 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 214 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 261 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 264 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); 320 mDecoder.releaseOutputBuffer(index, render) [all...] |
/developers/build/prebuilts/gradle/BasicRenderScript/BasicRenderScriptSample/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 56 private MediaCodec mDecoder; 80 mDecoder = codec; 93 mDecoder.stop(); 94 mDecoder.release(); 95 mDecoder = null; 212 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 214 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 261 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 264 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); 320 mDecoder.releaseOutputBuffer(index, render) [all...] |
/developers/build/prebuilts/gradle/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 56 private MediaCodec mDecoder; 80 mDecoder = codec; 93 mDecoder.stop(); 94 mDecoder.release(); 95 mDecoder = null; 212 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 214 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 261 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 264 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); 320 mDecoder.releaseOutputBuffer(index, render) [all...] |
/developers/samples/android/common/src/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 56 private MediaCodec mDecoder; 80 mDecoder = codec; 93 mDecoder.stop(); 94 mDecoder.release(); 95 mDecoder = null; 212 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 214 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 261 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 264 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); 320 mDecoder.releaseOutputBuffer(index, render) [all...] |
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 56 private MediaCodec mDecoder; 80 mDecoder = codec; 93 mDecoder.stop(); 94 mDecoder.release(); 95 mDecoder = null; 212 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 214 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 261 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 264 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); 320 mDecoder.releaseOutputBuffer(index, render) [all...] |
/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/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);
|
/cts/tests/tests/media/src/android/media/cts/ |
EncodeVirtualDisplayWithCompositionTest.java | 105 private MediaCodec mDecoder; 227 mDecoder = MediaCodec.createDecoderByType(MIME_TYPE); 230 mDecoder.configure(decoderFormat, mDecodingSurface.getSurface(), null, 0); 231 mDecoder.start(); 232 mDecoderInputBuffers = mDecoder.getInputBuffers(); 265 int inputBufferIndex = mDecoder.dequeueInputBuffer(DEFAULT_WAIT_TIMEOUT_US); 276 mDecoder.queueInputBuffer(inputBufferIndex, 0, info.size, 327 if (mDecoder != null) { 328 mDecoder.stop(); 329 mDecoder.release() [all...] |
AdaptivePlaybackTest.java | 338 Decoder mDecoder; // test state 346 mDecoder = new Decoder(c.name); 347 mDecoder.configureAndStart(stepFormat(), stepSurface()); 356 int decodedFrames = -mDecoder.queueInputBufferRange( 366 warn(mDecoder.getWarnings()); 367 mDecoder.clearWarnings(); 368 mDecoder.flush(); 380 mDecoder.stop(); 382 mDecoder.release(); 394 Decoder mDecoder; // test stat [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditorAudioDecoder.cpp | 100 sp<MediaSource> mDecoder; 407 if( M4OSA_NULL != pDecoderContext->mDecoder.get() ) { 408 pDecoderContext->mDecoder->stop(); 413 pDecoderContext->mDecoder.clear(); 558 pDecoderContext->mDecoder = OMXCodec::Create(pDecoderContext->\ 562 VIDEOEDITOR_CHECK(NULL != pDecoderContext->mDecoder.get(), M4ERR_STATE); 565 pDecoderContext->mDecoder->getFormat()->findInt32(kKeyChannelCount, 571 result = pDecoderContext->mDecoder->start(); 734 result = pDecoderContext->mDecoder->read(&outputBuffer, NULL); 739 sp<MetaData> meta = pDecoderContext->mDecoder->getFormat() [all...] |
/frameworks/av/media/libstagefright/ |
FLACExtractor.cpp | 128 FLAC__StreamDecoder *mDecoder; 475 mDecoder(NULL), 493 if (mDecoder != NULL) { 494 FLAC__stream_decoder_delete(mDecoder); 495 mDecoder = NULL; 502 mDecoder = FLAC__stream_decoder_new(); 503 if (mDecoder == NULL) { 510 FLAC__stream_decoder_set_md5_checking(mDecoder, false); 511 FLAC__stream_decoder_set_metadata_ignore_all(mDecoder); 513 mDecoder, FLAC__METADATA_TYPE_STREAMINFO) [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
BitmapRegionTileSource.java | 55 BitmapRegionDecoder mDecoder; 57 mDecoder = decoder; 86 return mDecoder.getWidth(); 89 return mDecoder.getHeight(); 92 return mDecoder.decodeRegion(wantRegion, options); 161 private SimpleBitmapRegionDecoder mDecoder; 178 mDecoder = loadBitmapRegionDecoder(); 179 if (mDecoder == null) { 183 int width = mDecoder.getWidth(); 184 int height = mDecoder.getHeight() [all...] |
/packages/apps/Launcher3/WallpaperPicker/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...] |