Home
last modified time | relevance | path

Searched refs:mDecoder (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/net/voip/src/jni/rtp/
DAmrCodec.cpp39 if (GSMInitDecode(&mDecoder, (Word8 *)"RTP")) { in AmrCodec()
40 mDecoder = NULL; in AmrCodec()
48 if (mDecoder) { in ~AmrCodec()
49 GSMDecodeFrameExit(&mDecoder); in ~AmrCodec()
60 void *mDecoder; member in __anon432921180111::AmrCodec
97 return (sampleRate == 8000 && mEncoder && mDecoder) ? 160 : -1; in set()
169 if (AMRDecode(mDecoder, type, bytes, samples, MIME_IETF) != length) { in decode()
197 if (GSMInitDecode(&mDecoder, (Word8 *)"RTP")) { in GsmEfrCodec()
198 mDecoder = NULL; in GsmEfrCodec()
206 if (mDecoder) { in ~GsmEfrCodec()
[all …]
/frameworks/av/media/libstagefright/flac/dec/
DFLACDecoder.cpp173 : mDecoder(NULL), in FLACDecoder()
190 if (mDecoder != NULL) { in ~FLACDecoder()
191 FLAC__stream_decoder_delete(mDecoder); in ~FLACDecoder()
192 mDecoder = NULL; in ~FLACDecoder()
202 mDecoder = FLAC__stream_decoder_new(); in init()
203 if (mDecoder == NULL) { in init()
207 FLAC__stream_decoder_set_md5_checking(mDecoder, false); in init()
208 FLAC__stream_decoder_set_metadata_ignore_all(mDecoder); in init()
210 mDecoder, FLAC__METADATA_TYPE_STREAMINFO); in init()
245 mDecoder, in init()
[all …]
DFLACDecoder.h71 FLAC__StreamDecoder *mDecoder; variable
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java53 BitmapRegionDecoder mDecoder; field in SimpleBitmapRegionDecoderWrapper
55 mDecoder = decoder; in SimpleBitmapRegionDecoderWrapper()
84 return mDecoder.getWidth(); in getWidth()
87 return mDecoder.getHeight(); in getHeight()
90 return mDecoder.decodeRegion(wantRegion, options); in decodeRegion()
159 private SimpleBitmapRegionDecoder mDecoder; field in BitmapRegionTileSource.BitmapSource
176 mDecoder = loadBitmapRegionDecoder(); in loadInBackground()
177 if (mDecoder == null) { in loadInBackground()
181 int width = mDecoder.getWidth(); in loadInBackground()
182 int height = mDecoder.getHeight(); in loadInBackground()
[all …]
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp59 mDecoder(NULL), in SoftOpus()
72 if (mDecoder != NULL) { in ~SoftOpus()
73 opus_multistream_decoder_destroy(mDecoder); in ~SoftOpus()
74 mDecoder = NULL; in ~SoftOpus()
464 if (mDecoder != NULL) { in onQueueFilled()
465 opus_multistream_decoder_destroy(mDecoder); in onQueueFilled()
467 mDecoder = opus_multistream_decoder_create(kRate, in onQueueFilled()
473 if (!mDecoder || status != OPUS_OK) { in onQueueFilled()
480 opus_multistream_decoder_ctl(mDecoder, in onQueueFilled()
557 int numFrames = opus_multistream_decode(mDecoder, in onQueueFilled()
[all …]
DSoftOpus.h70 OpusMSDecoder *mDecoder; member
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp101 mDecoder(nullptr) { in C2SoftOpusDec()
114 if (mDecoder) { in onStop()
115 opus_multistream_decoder_destroy(mDecoder); in onStop()
116 mDecoder = nullptr; in onStop()
134 if (mDecoder) { in onRelease()
135 opus_multistream_decoder_destroy(mDecoder); in onRelease()
136 mDecoder = nullptr; in onRelease()
153 if (mDecoder) { in onFlush_sm()
154 opus_multistream_decoder_ctl(mDecoder, OPUS_RESET_STATE); in onFlush_sm()
283 mDecoder = opus_multistream_decoder_create(kRate, in process()
[all …]
DC2SoftOpusDec.h52 OpusMSDecoder *mDecoder; member
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp149 FLAC__StreamDecoder *mDecoder; member in android::FLACParser
456 mDecoder(NULL), in FLACParser()
473 if (mDecoder != NULL) { in ~FLACParser()
474 FLAC__stream_decoder_delete(mDecoder); in ~FLACParser()
475 mDecoder = NULL; in ~FLACParser()
482 mDecoder = FLAC__stream_decoder_new(); in init()
483 if (mDecoder == NULL) { in init()
490 FLAC__stream_decoder_set_md5_checking(mDecoder, false); in init()
491 FLAC__stream_decoder_set_metadata_ignore_all(mDecoder); in init()
493 mDecoder, FLAC__METADATA_TYPE_STREAMINFO); in init()
[all …]
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp191 if (mDecoder != NULL) { in ~FrameDecoder()
192 mDecoder->release(); in ~FrameDecoder()
242 mDecoder = decoder; in init()
284 err = mDecoder->dequeueInputBuffer(&index, 0); in extractInternal()
293 err = mDecoder->getInputBuffer(index, &codecBuffer); in extractInternal()
306 (void)mDecoder->queueInputBuffer( in extractInternal()
338 err = mDecoder->queueInputBuffer( in extractInternal()
354 err = mDecoder->dequeueOutputBuffer( in extractInternal()
364 err = mDecoder->getOutputFormat(&mOutputFormat); in extractInternal()
377 err = mDecoder->getOutputBuffer(index, &videoFrameBuffer); in extractInternal()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DImageDecoder.java225 private ImageDecoder mDecoder; field in ImageDecoder.ImageInfo
228 mDecoder = decoder; in ImageInfo()
254 return mDecoder.mAnimated; in isAnimated()
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp275 explicit DecodeThread(HeifDecoderImpl *decoder) : mDecoder(decoder) {} in DecodeThread()
278 HeifDecoderImpl* mDecoder; member
286 return mDecoder->decodeAsync(); in threadLoop()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java567 private ImageDecoder mDecoder; field in ImageDecoder.ImageInfo
571 mDecoder = decoder; in ImageInfo()
587 return mDecoder.getMimeType(); in getMimeType()
597 return mDecoder.mAnimated; in isAnimated()
609 return mDecoder.getColorSpace(); in getColorSpace()
1711 info.mDecoder = null; in callHeaderDecoded()
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h96 sp<MediaCodec> mDecoder; member
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1196 private CharsetDecoder mDecoder; field in BatteryStatsService.WakeupReasonThread
1207 mDecoder = StandardCharsets.UTF_8 in run()
1231 mDecoder.reset(); in waitWakeup()
1245 mDecoder.decode(mUtf8Buffer, mUtf16Buffer, true); in waitWakeup()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt22106 Landroid/graphics/ImageDecoder$ImageInfo;->mDecoder:Landroid/graphics/ImageDecoder;