MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
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)
 
static MagickBooleanType ValidatePixelCacheMorphology (const Image *magick_restrict image)
 
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

◆ AcquireStreamInfo()

◆ AcquireStreamPixels()

◆ DestroyPixelStream()

◆ DestroyStreamInfo()

◆ GetAuthenticMetacontentFromStream()

static void * GetAuthenticMetacontentFromStream ( const Image image)
static

◆ GetAuthenticPixelsFromStream()

static Quantum * GetAuthenticPixelsFromStream ( const Image image)
static

◆ GetAuthenticPixelsStream()

static Quantum * GetAuthenticPixelsStream ( Image image,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
ExceptionInfo exception 
)
static

◆ GetOneAuthenticPixelFromStream()

◆ GetOneVirtualPixelFromStream()

◆ GetStreamInfoClientData()

MagickPrivate const void * GetStreamInfoClientData ( StreamInfo stream_info)

Definition at line 565 of file stream.c.

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

◆ GetVirtualMetacontentFromStream()

static const void * GetVirtualMetacontentFromStream ( const Image image)
static

◆ GetVirtualPixelsStream()

static const Quantum * GetVirtualPixelsStream ( const Image image)
static

◆ GetVirtualPixelStream() [1/2]

static const Quantum * GetVirtualPixelStream ( const Image ,
const  VirtualPixelMethod,
const  ssize_t,
const  ssize_t,
const  size_t,
const  size_t,
ExceptionInfo  
)
static

◆ GetVirtualPixelStream() [2/2]

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

◆ OpenStream()

MagickExport MagickBooleanType OpenStream ( const ImageInfo image_info,
StreamInfo stream_info,
const char *  filename,
ExceptionInfo exception 
)

◆ QueueAuthenticPixelsStream()

◆ ReadStream()

◆ RelinquishStreamPixels()

static void RelinquishStreamPixels ( CacheInfo cache_info)
inlinestatic

◆ ResetStreamAnonymousMemory()

MagickPrivate void ResetStreamAnonymousMemory ( void  )

Definition at line 1112 of file stream.c.

References cache_anonymous_memory.

◆ SetStreamInfoClientData()

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

Definition at line 1142 of file stream.c.

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

◆ SetStreamInfoMap()

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

◆ SetStreamInfoStorageType()

MagickExport void SetStreamInfoStorageType ( StreamInfo stream_info,
const StorageType  storage_type 
)

Definition at line 1206 of file stream.c.

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

◆ StreamImage()

◆ StreamImagePixels()

◆ SyncAuthenticPixelsStream()

◆ ValidatePixelCacheMorphology()

static MagickBooleanType ValidatePixelCacheMorphology ( const Image *magick_restrict  image)
inlinestatic

Definition at line 888 of file stream.c.

References magick_restrict, MagickFalse, and MagickTrue.

Referenced by QueueAuthenticPixelsStream().

◆ WriteStream()

◆ WriteStreamImage()

Variable Documentation

◆ cache_anonymous_memory

ssize_t cache_anonymous_memory = (-1)
static

Definition at line 132 of file stream.c.

Referenced by AcquireStreamPixels(), and ResetStreamAnonymousMemory().