LibreOffice Module vcl (master)  1
Classes | Macros | Enumerations | Functions
gifread.cxx File Reference
#include <sal/log.hxx>
#include <tools/stream.hxx>
#include "decode.hxx"
#include "gifread.hxx"
#include <memory>
#include <bitmapwriteaccess.hxx>
Include dependency graph for gifread.cxx:

Go to the source code of this file.

Classes

class  GIFReader
 

Macros

#define NO_PENDING(rStm)   ( ( rStm ).GetError() != ERRCODE_IO_PENDING )
 

Enumerations

enum  GIFAction {
  GLOBAL_HEADER_READING,
  MARKER_READING,
  EXTENSION_READING,
  LOCAL_HEADER_READING,
  FIRST_BLOCK_READING,
  NEXT_BLOCK_READING,
  ABORT_READING,
  END_READING
}
 
enum  ReadState {
  GIFREAD_OK,
  GIFREAD_ERROR,
  GIFREAD_NEED_MORE,
  XBMREAD_OK,
  XBMREAD_ERROR,
  XBMREAD_NEED_MORE,
  XPMREAD_OK,
  XPMREAD_ERROR,
  XPMREAD_NEED_MORE,
  JPEGREAD_OK,
  JPEGREAD_ERROR,
  JPEGREAD_NEED_MORE
}
 

Functions

bool IsGIFAnimated (SvStream &rStm)
 
VCL_DLLPUBLIC bool ImportGIF (SvStream &rStm, Graphic &rGraphic)
 

Macro Definition Documentation

#define NO_PENDING (   rStm)    ( ( rStm ).GetError() != ERRCODE_IO_PENDING )

Enumeration Type Documentation

enum GIFAction
Enumerator
GLOBAL_HEADER_READING 
MARKER_READING 
EXTENSION_READING 
LOCAL_HEADER_READING 
FIRST_BLOCK_READING 
NEXT_BLOCK_READING 
ABORT_READING 
END_READING 

Definition at line 29 of file gifread.cxx.

enum ReadState
Enumerator
GIFREAD_OK 
GIFREAD_ERROR 
GIFREAD_NEED_MORE 
XBMREAD_OK 
XBMREAD_ERROR 
XBMREAD_NEED_MORE 
XPMREAD_OK 
XPMREAD_ERROR 
XPMREAD_NEED_MORE 
JPEGREAD_OK 
JPEGREAD_ERROR 
JPEGREAD_NEED_MORE 

Definition at line 41 of file gifread.cxx.

Function Documentation

VCL_DLLPUBLIC bool ImportGIF ( SvStream rStm,
Graphic rGraphic 
)
bool IsGIFAnimated ( SvStream rStm)