| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private volatile byte[] | |
| private volatile int | |
| private String | |
| private int | |
| private ImageFrame[] | |
| private boolean | |
| private boolean | |
| private int | |
| private PrismImage[] | |
| private int | |
| private Service | |
| private static final PlatformLogger | |
| private final ImageLoadListener | |
| private static final ThreadLocal |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addImageData(byte[] dataPortion)
Implements abstract com. Receives a portion of image data. |
| protected synchronized void | |
| private void | |
| protected String | getFilenameExtension()
Implements abstract com.
|
| protected synchronized WCImageFrame | getFrame(int idx)
Implements abstract com. Returns image frame at the specified index. |
| protected synchronized boolean | getFrameCompleteStatus(int idx)
Implements abstract com. Returns whether the frame is complete or partial |
| protected int | getFrameCount()
Implements abstract com. Returns a number of frames of the decoded image. |
| protected int | getFrameDuration(int idx)
Implements abstract com. Returns frame duration in ms |
| private synchronized ImageMetadata | |
| protected int[] | getFrameSize(int idx)
Implements abstract com. Returns frame size, array[0] represents width and array[1] represents height. |
| private synchronized ImageFrame | |
| protected int[] | getImageSize()
Implements abstract com. Returns image size. |
| private synchronized PrismImage | |
| private boolean | |
| private synchronized ImageFrame[] | |
| private ImageFrame[] | |
| protected void | loadFromResource(String name)
Implements abstract com.
|
| private void | |
| private synchronized void | |
| private void |
| data | back to summary |
|---|---|
| private volatile byte[] data | |
| dataSize | back to summary |
|---|---|
| private volatile int dataSize | |
| fileNameExtension | back to summary |
|---|---|
| private String fileNameExtension | |
| frameCount | back to summary |
|---|---|
| private int frameCount | |
| frames | back to summary |
|---|---|
| private ImageFrame[] frames | |
| framesDecoded | back to summary |
|---|---|
| private boolean framesDecoded | |
| fullDataReceived | back to summary |
|---|---|
| private boolean fullDataReceived | |
| imageHeight | back to summary |
|---|---|
| private int imageHeight | |
| images | back to summary |
|---|---|
| private PrismImage[] images | |
| imageWidth | back to summary |
|---|---|
| private int imageWidth | |
| loader | back to summary |
|---|---|
| private Service<ImageFrame[]> loader | |
| log | back to summary |
|---|---|
| private static final PlatformLogger log | |
| readerListener | back to summary |
|---|---|
| private final ImageLoadListener readerListener | |
| THREAD_LOCAL_SIZE_ARRAY | back to summary |
|---|---|
| private static final ThreadLocal<int[]> THREAD_LOCAL_SIZE_ARRAY | |
| WCImageDecoderImpl | back to summary |
|---|---|
| pack-priv WCImageDecoderImpl() | |
| addImageData | back to summary |
|---|---|
| protected void addImageData(byte[] dataPortion) Implements abstract com. Doc from com. Receives a portion of image data.
| |
| destroy | back to summary |
|---|---|
| protected synchronized void destroy() Implements abstract com.
| |
| destroyLoader | back to summary |
|---|---|
| private void destroyLoader() | |
| getFilenameExtension | back to summary |
|---|---|
| protected String getFilenameExtension() Implements abstract com.
| |
| getFrame | back to summary |
|---|---|
| protected synchronized WCImageFrame getFrame(int idx) Implements abstract com. Doc from com. Returns image frame at the specified index.
| |
| getFrameCompleteStatus | back to summary |
|---|---|
| protected synchronized boolean getFrameCompleteStatus(int idx) Implements abstract com. Doc from com. Returns whether the frame is complete or partial
| |
| getFrameCount | back to summary |
|---|---|
| protected int getFrameCount() Implements abstract com. Doc from com. Returns a number of frames of the decoded image.
| |
| getFrameDuration | back to summary |
|---|---|
| protected int getFrameDuration(int idx) Implements abstract com. Doc from com. Returns frame duration in ms
| |
| getFrameMetadata | back to summary |
|---|---|
| private synchronized ImageMetadata getFrameMetadata(int idx) | |
| getFrameSize | back to summary |
|---|---|
| protected int[] getFrameSize(int idx) Implements abstract com. Doc from com. Returns frame size, array[0] represents width and array[1] represents height.
| |
| getImageFrame | back to summary |
|---|---|
| private synchronized ImageFrame getImageFrame(int idx) | |
| getImageSize | back to summary |
|---|---|
| protected int[] getImageSize() Implements abstract com. Doc from com. Returns image size.
| |
| getPrismImage | back to summary |
|---|---|
| private synchronized PrismImage getPrismImage(int idx, ImageFrame frame) | |
| imageSizeAvilable | back to summary |
|---|---|
| private boolean imageSizeAvilable() | |
| loadFrames | back to summary |
|---|---|
| private synchronized ImageFrame[] loadFrames(InputStream in) | |
| loadFrames | back to summary |
|---|---|
| private ImageFrame[] loadFrames() | |
| loadFromResource | back to summary |
|---|---|
| protected void loadFromResource(String name) Implements abstract com.
| |
| resizeDataArray | back to summary |
|---|---|
| private void resizeDataArray(int newDataSize) | |
| setFrames | back to summary |
|---|---|
| private synchronized void setFrames(ImageFrame[] frames) | |
| startLoader | back to summary |
|---|---|
| private void startLoader() | |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public WCImage | |
| public int[] | getSize()
Implements abstract com. Returns frame size, array[0] represents width and array[1] represents height. |
| image | back to summary |
|---|---|
| private WCImage image | |
| Frame | back to summary |
|---|---|
| private Frame(WCImage image, String extension) | |
| destroyDecodedData | back to summary |
|---|---|
| protected void destroyDecodedData() Overrides com.
| |
| getFrame | back to summary |
|---|---|
| public WCImage getFrame() Implements abstract com.
| |
| getSize | back to summary |
|---|---|
| public int[] getSize() Implements abstract com. Doc from com. Returns frame size, array[0] represents width and array[1] represents height.
| |