Harlequin RIP SDK
rowsum.h File Reference

Template routines to sum rows of pixels in groups of N. More...

Detailed Description

Template routines to sum rows of pixels in groups of N.

Copyright (C) 2017 Global Graphics Software Ltd. All rights reserved.

This example is provided on an "as is" basis and without warranty of any kind. Global Graphics Software Ltd. does not warrant or make any representations regarding the use or results of use of this example.

On inclusion, these macros should be defined:

AA_NAME_SUFFIX(str) appends to 'str' a string denoting this particular invocation of the file.

AA_BPP_SUFFIX(str) appends to 'str' the bit depth handled.

AA_ITER_COMPS(body) invokes the macro 'body' for each component, passing the component index as an argument.

On inclusion, these macros may be defined to a constant to improve performance, otherwise the quantity is fetched at run time.

AA_NCOMPS should expand to the number of interleaved components; if this not supplied, an argument is added for it.

This file is included multiple times, so should NOT have a guard around it.