% The format of the LZWEncodeImage method is:
%
% MagickBooleanType LZWEncodeImage(Image *image,const size_t length,
-% unsigned char *pixels,ExceptionInfo *exception)
+% unsigned char *restrict pixels,ExceptionInfo *exception)
%
% A description of each parameter follows:
%
%
*/
MagickExport MagickBooleanType LZWEncodeImage(Image *image,const size_t length,
- unsigned char *pixels,ExceptionInfo *exception)
+ unsigned char *restrict pixels,ExceptionInfo *exception)
{
#define LZWClr 256UL /* Clear Table Marker */
#define LZWEod 257UL /* End of Data marker */
% The format of the PackbitsEncodeImage method is:
%
% MagickBooleanType PackbitsEncodeImage(Image *image,const size_t length,
-% unsigned char *pixels)
+% unsigned char *restrict pixels)
%
% A description of each parameter follows:
%
%
*/
MagickExport MagickBooleanType PackbitsEncodeImage(Image *image,
- const size_t length,unsigned char *pixels,ExceptionInfo *exception)
+ const size_t length,unsigned char *restrict pixels,ExceptionInfo *exception)
{
int
count;
% The format of the ZLIBEncodeImage method is:
%
% MagickBooleanType ZLIBEncodeImage(Image *image,const size_t length,
-% unsigned char *pixels,ExceptionInfo *exception)
+% unsigned char *restrict pixels,ExceptionInfo *exception)
%
% A description of each parameter follows:
%
}
MagickExport MagickBooleanType ZLIBEncodeImage(Image *image,const size_t length,
- unsigned char *pixels,ExceptionInfo *exception)
+ unsigned char *restrict pixels,ExceptionInfo *exception)
{
int
status;
%
% MagickOffsetType ReadDistributePixelCachePixels(
% DistributeCacheInfo *server_info,const RectangleInfo *region,
-% const MagickSizeType length,unsigned char *pixels)
+% const MagickSizeType length,unsigned char *restrict pixels)
%
% A description of each parameter follows:
%
*/
MagickPrivate MagickOffsetType ReadDistributePixelCachePixels(
DistributeCacheInfo *server_info,const RectangleInfo *region,
- const MagickSizeType length,unsigned char *pixels)
+ const MagickSizeType length,unsigned char *restrict pixels)
{
MagickOffsetType
count;
%
% MagickBooleanType WriteDistributePixelCachePixels(
% DistributeCacheInfo *server_info,const RectangleInfo *region,
-% const MagickSizeType length,const unsigned char *pixels)
+% const MagickSizeType length,const unsigned char *restrict pixels)
%
% A description of each parameter follows:
%
*/
MagickPrivate MagickOffsetType WriteDistributePixelCachePixels(
DistributeCacheInfo *server_info,const RectangleInfo *region,
- const MagickSizeType length,const unsigned char *pixels)
+ const MagickSizeType length,const unsigned char *restrict pixels)
{
MagickOffsetType
count;
%
% size_t ExportQuantumPixels(const Image *image,CacheView *image_view,
% QuantumInfo *quantum_info,const QuantumType quantum_type,
-% unsigned char *pixels,ExceptionInfo *exception)
+% unsigned char *restrict pixels,ExceptionInfo *exception)
%
% A description of each parameter follows:
%
*/
static inline unsigned char *PopDoublePixel(QuantumInfo *quantum_info,
- const double pixel,unsigned char *pixels)
+ const double pixel,unsigned char *restrict pixels)
{
double
*p;
}
static inline unsigned char *PopFloatPixel(QuantumInfo *quantum_info,
- const float pixel,unsigned char *pixels)
+ const float pixel,unsigned char *restrict pixels)
{
float
*p;
}
static inline unsigned char *PopQuantumPixel(QuantumInfo *quantum_info,
- const QuantumAny pixel,unsigned char *pixels)
+ const QuantumAny pixel,unsigned char *restrict pixels)
{
register ssize_t
i;
}
static inline unsigned char *PopQuantumLongPixel(QuantumInfo *quantum_info,
- const size_t pixel,unsigned char *pixels)
+ const size_t pixel,unsigned char *restrict pixels)
{
register ssize_t
i;
MagickExport size_t ExportQuantumPixels(const Image *image,
CacheView *image_view,QuantumInfo *quantum_info,
- const QuantumType quantum_type,unsigned char *pixels,ExceptionInfo *exception)
+ const QuantumType quantum_type,unsigned char *restrict pixels,
+ ExceptionInfo *exception)
{
MagickSizeType
number_pixels;
%
% size_t ImportQuantumPixels(const Image *image,CacheView *image_view,
% QuantumInfo *quantum_info,const QuantumType quantum_type,
-% const unsigned char *pixels,ExceptionInfo *exception)
+% const unsigned char *restrict pixels,ExceptionInfo *exception)
%
% A description of each parameter follows:
%
}
static inline const unsigned char *PushDoublePixel(QuantumInfo *quantum_info,
- const unsigned char *pixels,double *pixel)
+ const unsigned char *restrict pixels,double *pixel)
{
double
*p;
}
static inline const unsigned char *PushFloatPixel(QuantumInfo *quantum_info,
- const unsigned char *pixels,float *pixel)
+ const unsigned char *restrict pixels,float *pixel)
{
float
*p;
}
static inline const unsigned char *PushQuantumPixel(QuantumInfo *quantum_info,
- const unsigned char *pixels,unsigned int *quantum)
+ const unsigned char *restrict pixels,unsigned int *quantum)
{
register ssize_t
i;
}
static inline const unsigned char *PushQuantumLongPixel(
- QuantumInfo *quantum_info,const unsigned char *pixels,unsigned int *quantum)
+ QuantumInfo *quantum_info,const unsigned char *restrict pixels,
+ unsigned int *quantum)
{
register ssize_t
i;
MagickExport size_t ImportQuantumPixels(const Image *image,
CacheView *image_view,QuantumInfo *quantum_info,
- const QuantumType quantum_type,const unsigned char *pixels,
+ const QuantumType quantum_type,const unsigned char *restrict pixels,
ExceptionInfo *exception)
{
MagickSizeType