docs/javadoc/reference/com/facebook/imagepipeline/platform/GingerbreadPurgeableDecoder.html
|
|
Summary: Inherited Fields | Ctors | Protected Methods | Inherited Methods | [Expand All]
public class
extends DalvikPurgeableDecoder
| java.lang.Object | | ↳ | com.facebook.imagepipeline.nativecode.DalvikPurgeableDecoder | | | ↳ | com.facebook.imagepipeline.platform.GingerbreadPurgeableDecoder |
Bitmap decoder (Gingerbread to Jelly Bean).
This copies incoming encoded bytes into a MemoryFile, and then decodes them using a file descriptor, thus avoiding using any Java memory at all. This technique only works in JellyBean and below.
| [Expand] Inherited Fields | | --- | | From class com.facebook.imagepipeline.nativecode.DalvikPurgeableDecoder
| protected static final byte[] | EOI | |
|
| Public Constructors |
|---|
| Protected Methods |
|---|
| Bitmap |
| Decodes a byteArray into a purgeable bitmap |
| Bitmap |
| Decodes a byteArray containing jpeg encoded bytes into a purgeable bitmap |
Adds a JFIF End-Of-Image marker if needed before decoding.
|
| [Expand] Inherited Methods | | --- | | From class com.facebook.imagepipeline.nativecode.DalvikPurgeableDecoder
| abstract Bitmap | decodeByteArrayAsPurgeable(CloseableReference<PooledByteBuffer> bytesRef, BitmapFactory.Options options) Decodes a byteArray into a purgeable bitmap | | CloseableReference<Bitmap> | decodeFromEncodedImage(EncodedImage encodedImage, Bitmap.Config bitmapConfig, Rect regionToDecode) Creates a bitmap from encoded bytes. | | CloseableReference<Bitmap> | decodeFromEncodedImageWithColorSpace(EncodedImage encodedImage, Bitmap.Config bitmapConfig, Rect regionToDecode, ColorSpace colorSpace) Creates a bitmap from encoded bytes. | | abstract Bitmap | decodeJPEGByteArrayAsPurgeable(CloseableReference<PooledByteBuffer> bytesRef, int length, BitmapFactory.Options options) Decodes a byteArray containing jpeg encoded bytes into a purgeable bitmap
Adds a JFIF End-Of-Image marker if needed before decoding.
| | CloseableReference<Bitmap> | decodeJPEGFromEncodedImage(EncodedImage encodedImage, Bitmap.Config bitmapConfig, Rect regionToDecode, int length) Creates a bitmap from encoded JPEG bytes. | | CloseableReference<Bitmap> | decodeJPEGFromEncodedImageWithColorSpace(EncodedImage encodedImage, Bitmap.Config bitmapConfig, Rect regionToDecode, int length, ColorSpace colorSpace) Creates a bitmap from encoded JPEG bytes. | | static boolean | endsWithEOI(CloseableReference<PooledByteBuffer> bytesRef, int length) | | static BitmapFactory.Options | getBitmapFactoryOptions(int sampleSize, Bitmap.Config bitmapConfig) | | CloseableReference<Bitmap> | pinBitmap(Bitmap bitmap) Pin the bitmap so that it cannot be 'purged'. |
| | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
| | From interface com.facebook.imagepipeline.platform.PlatformDecoder
| abstract CloseableReference<Bitmap> | decodeFromEncodedImage(EncodedImage encodedImage, Bitmap.Config bitmapConfig, Rect regionToDecode) Creates a bitmap from encoded bytes. | | abstract CloseableReference<Bitmap> | decodeFromEncodedImageWithColorSpace(EncodedImage encodedImage, Bitmap.Config bitmapConfig, Rect regionToDecode, ColorSpace colorSpace) Creates a bitmap from encoded bytes. | | abstract CloseableReference<Bitmap> | decodeJPEGFromEncodedImage(EncodedImage encodedImage, Bitmap.Config bitmapConfig, Rect regionToDecode, int length) Creates a bitmap from encoded JPEG bytes. | | abstract CloseableReference<Bitmap> | decodeJPEGFromEncodedImageWithColorSpace(EncodedImage encodedImage, Bitmap.Config bitmapConfig, Rect regionToDecode, int length, ColorSpace colorSpace) Creates a bitmap from encoded JPEG bytes. |
|
Decodes a byteArray into a purgeable bitmap
| bytesRef | the byte buffer that contains the encoded bytes | | options | the options passed to the BitmapFactory |
Decodes a byteArray containing jpeg encoded bytes into a purgeable bitmap
Adds a JFIF End-Of-Image marker if needed before decoding.
| bytesRef | the byte buffer that contains the encoded bytes | | length | the length of bytes for decox | | options | the options passed to the BitmapFactory |
+Generated by Doclava. +