MagickCore  7.0.3
stream.c File Reference
Include dependency graph for stream.c:

Go to the source code of this file.

Data Structures

struct  _StreamInfo
 

Functions

static const QuantumGetVirtualPixelStream (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *)
 
static MagickBooleanType StreamImagePixels (const StreamInfo *, const Image *, ExceptionInfo *)
 
static MagickBooleanType SyncAuthenticPixelsStream (Image *, ExceptionInfo *)
 
static QuantumQueueAuthenticPixelsStream (Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *)
 
MagickExport StreamInfoAcquireStreamInfo (const ImageInfo *image_info, ExceptionInfo *exception)
 
static void RelinquishStreamPixels (CacheInfo *cache_info)
 
static void DestroyPixelStream (Image *image)
 
MagickExport StreamInfoDestroyStreamInfo (StreamInfo *stream_info)
 
static void * GetAuthenticMetacontentFromStream (const Image *image)
 
static QuantumGetAuthenticPixelsStream (Image *image, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
 
static QuantumGetAuthenticPixelsFromStream (const Image *image)
 
static MagickBooleanType GetOneAuthenticPixelFromStream (Image *image, const ssize_t x, const ssize_t y, Quantum *pixel, ExceptionInfo *exception)
 
static MagickBooleanType GetOneVirtualPixelFromStream (const Image *image, const VirtualPixelMethod virtual_pixel_method, const ssize_t x, const ssize_t y, Quantum *pixel, ExceptionInfo *exception)
 
MagickPrivate const void * GetStreamInfoClientData (StreamInfo *stream_info)
 
static const QuantumGetVirtualPixelsStream (const Image *image)
 
static const void * GetVirtualMetacontentFromStream (const Image *image)
 
static MagickBooleanType AcquireStreamPixels (CacheInfo *cache_info, ExceptionInfo *exception)
 
static const QuantumGetVirtualPixelStream (const Image *image, const VirtualPixelMethod magick_unused(virtual_pixel_method), const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
 
MagickExport MagickBooleanType OpenStream (const ImageInfo *image_info, StreamInfo *stream_info, const char *filename, ExceptionInfo *exception)
 
MagickExport ImageReadStream (const ImageInfo *image_info, StreamHandler stream, ExceptionInfo *exception)
 
MagickPrivate void ResetStreamAnonymousMemory (void)
 
MagickPrivate void SetStreamInfoClientData (StreamInfo *stream_info, const void *client_data)
 
MagickExport void SetStreamInfoMap (StreamInfo *stream_info, const char *map)
 
MagickExport void SetStreamInfoStorageType (StreamInfo *stream_info, const StorageType storage_type)
 
static size_t WriteStreamImage (const Image *image, const void *pixels, const size_t columns)
 
MagickExport ImageStreamImage (const ImageInfo *image_info, StreamInfo *stream_info, ExceptionInfo *exception)
 
MagickExport MagickBooleanType WriteStream (const ImageInfo *image_info, Image *image, StreamHandler stream, ExceptionInfo *exception)
 

Variables

static ssize_t cache_anonymous_memory = (-1)
 

Function Documentation

static void* GetAuthenticMetacontentFromStream ( const Image image)
static
static Quantum* GetAuthenticPixelsFromStream ( const Image image)
static
static Quantum* GetAuthenticPixelsStream ( Image image,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
ExceptionInfo exception 
)
static
MagickPrivate const void* GetStreamInfoClientData ( StreamInfo stream_info)

Definition at line 561 of file stream.c.

References _StreamInfo::client_data, MagickCoreSignature, and _StreamInfo::signature.

static const void* GetVirtualMetacontentFromStream ( const Image image)
static
static const Quantum* GetVirtualPixelsStream ( const Image image)
static
static const Quantum* GetVirtualPixelStream ( const Image ,
const VirtualPixelMethod  ,
const ssize_t  ,
const ssize_t  ,
const size_t  ,
const size_t  ,
ExceptionInfo  
)
static
static const Quantum* GetVirtualPixelStream ( const Image image,
const VirtualPixelMethod   magick_unusedvirtual_pixel_method,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
ExceptionInfo exception 
)
static
MagickExport MagickBooleanType OpenStream ( const ImageInfo image_info,
StreamInfo stream_info,
const char *  filename,
ExceptionInfo exception 
)
static void RelinquishStreamPixels ( CacheInfo cache_info)
inlinestatic
MagickPrivate void ResetStreamAnonymousMemory ( void  )

Definition at line 1071 of file stream.c.

References cache_anonymous_memory.

MagickPrivate void SetStreamInfoClientData ( StreamInfo stream_info,
const void *  client_data 
)

Definition at line 1101 of file stream.c.

References _StreamInfo::client_data, MagickCoreSignature, and _StreamInfo::signature.

MagickExport void SetStreamInfoMap ( StreamInfo stream_info,
const char *  map 
)
MagickExport void SetStreamInfoStorageType ( StreamInfo stream_info,
const StorageType  storage_type 
)

Definition at line 1165 of file stream.c.

References MagickCoreSignature, _StreamInfo::signature, and _StreamInfo::storage_type.

Variable Documentation

ssize_t cache_anonymous_memory = (-1)
static

Definition at line 132 of file stream.c.

Referenced by AcquireStreamPixels(), and ResetStreamAnonymousMemory().