Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java51 BitmapRegionDecoder mDecoder; field in SimpleBitmapRegionDecoderWrapper
53 mDecoder = decoder; in SimpleBitmapRegionDecoderWrapper()
70 return mDecoder.getWidth(); in getWidth()
73 return mDecoder.getHeight(); in getHeight()
76 return mDecoder.decodeRegion(wantRegion, options); in decodeRegion()
136 private SimpleBitmapRegionDecoder mDecoder; field in BitmapRegionTileSource.BitmapSource
145 mDecoder = loadBitmapRegionDecoder(); in loadInBackground()
146 if (mDecoder == null) { in loadInBackground()
150 int width = mDecoder.getWidth(); in loadInBackground()
151 int height = mDecoder.getHeight(); in loadInBackground()
[all …]
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ffmpeg/
DFfmpegDecoderService.java120 FfmpegAudioDecoder mDecoder; field in FfmpegDecoderService.FfmpegDecoder
128 mDecoder = new FfmpegAudioDecoder(FfmpegDecoderService.this); in create()
133 if (mDecoder != null) { in release()
134 mDecoder.release(); in release()
135 mDecoder = null; in release()
145 mDecoder.decode(timeUs, sample); in decode()
150 mDecoder.resetDecoderState(mimetype); in resetDecoderState()
155 ByteBuffer decodedBuffer = mDecoder.getDecodedSample(); in getDecodedSample()
163 return mDecoder.getDecodedTimeUs(); in getDecodedTimeUs()
/packages/apps/TV/src/com/android/exoplayer2/ext/ffmpeg/
DFfmpegAudioDecoder.java44 private FfmpegDecoder mDecoder; field in FfmpegAudioDecoder
74 mDecoder.decode(mInputBuffer, mOutputBuffer, !mStarted); in decode()
100 mDecoder = in resetDecoderState()
108 mInputBuffer = mDecoder.createInputBuffer(); in resetDecoderState()
111 mOutputBuffer = mDecoder.createOutputBuffer(); in resetDecoderState()
120 if (mDecoder != null) { in release()
121 mDecoder.release(); in release()
124 mDecoder = null; in release()
/packages/apps/Camera2/src/com/android/camera/ui/
DZoomView.java54 BitmapRegionDecoder mDecoder; field in ZoomView.DecodePartialBitmap
58 mDecoder = mRegionDecoder; in onPreExecute()
138 if (mDecoder == null) { in doInBackground()
145 mDecoder = BitmapRegionDecoder.newInstance(is, false); in doInBackground()
151 if (mDecoder == null) { in doInBackground()
154 Bitmap b = mDecoder.decodeRegion(region, options); in doInBackground()
166 if (mDecoder != mRegionDecoder) { in onPostExecute()
168 mDecoder.recycle(); in onPostExecute()
/packages/apps/Gallery2/src/com/android/photos/
DBitmapRegionTileSource.java54 BitmapRegionDecoder mDecoder; field in BitmapRegionTileSource
71 mDecoder = BitmapRegionDecoder.newInstance(path, true); in BitmapRegionTileSource()
72 mWidth = mDecoder.getWidth(); in BitmapRegionTileSource()
73 mHeight = mDecoder.getHeight(); in BitmapRegionTileSource()
142 bitmap = mDecoder.decodeRegion(mWantRegion, mOptions); in getTile()
164 Bitmap bitmap = mDecoder.decodeRegion(mOverlapRegion, mOptions); in getTileWithoutReusingBitmap()