Searched refs:mDecoder (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AmrCodec.cpp | 39 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 __anonb6ed6d140111::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/base/packages/WallpaperCropper/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 53 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/ |
D | SoftOpus.cpp | 59 mDecoder(NULL), in SoftOpus() 71 if (mDecoder != NULL) { in ~SoftOpus() 72 opus_multistream_decoder_destroy(mDecoder); in ~SoftOpus() 73 mDecoder = NULL; in ~SoftOpus() 375 mDecoder = opus_multistream_decoder_create(kRate, in onQueueFilled() 381 if (!mDecoder || status != OPUS_OK) { in onQueueFilled() 388 opus_multistream_decoder_ctl(mDecoder, in onQueueFilled() 467 int numFrames = opus_multistream_decode(mDecoder, in onQueueFilled() 518 if (portIndex == 0 && mDecoder != NULL) { in onPortFlushCompleted() 522 opus_multistream_decoder_ctl(mDecoder, OPUS_RESET_STATE); in onPortFlushCompleted() [all …]
|
D | SoftOpus.h | 70 OpusMSDecoder *mDecoder; member
|
/frameworks/av/media/libstagefright/ |
D | FLACExtractor.cpp | 128 FLAC__StreamDecoder *mDecoder; member in android::FLACParser 496 mDecoder(NULL), in FLACParser() 514 if (mDecoder != NULL) { in ~FLACParser() 515 FLAC__stream_decoder_delete(mDecoder); in ~FLACParser() 516 mDecoder = NULL; in ~FLACParser() 523 mDecoder = FLAC__stream_decoder_new(); in init() 524 if (mDecoder == NULL) { in init() 531 FLAC__stream_decoder_set_md5_checking(mDecoder, false); in init() 532 FLAC__stream_decoder_set_metadata_ignore_all(mDecoder); in init() 534 mDecoder, FLAC__METADATA_TYPE_STREAMINFO); in init() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 1032 private CharsetDecoder mDecoder; field in BatteryStatsService.WakeupReasonThread 1043 mDecoder = StandardCharsets.UTF_8 in run() 1067 mDecoder.reset(); in waitWakeup() 1081 mDecoder.decode(mUtf8Buffer, mUtf16Buffer, true); in waitWakeup()
|