libgimpprint API Reference: dither-predithered.c File Reference

Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

# src/main/dither-predithered.c File Reference

`#include <gimp-print/gimp-print.h>`
`#include "gimp-print-internal.h"`
`#include <gimp-print/gimp-print-intl-internal.h>`
`#include "dither-impl.h"`
`#include "dither-inlined-functions.h"`

Go to the source code of this file.

## Functions
void | print_color_very_fast (const stpi_dither_t *d, stpi_dither_channel_t *dc, int val, int x, int y, unsigned char bit, unsigned bits, int length)
void | stpi_dither_predithered (stp_vars_t *v, int row, const unsigned short *raw, int duplicate_line, int zero_mask, const unsigned char *mask)

## Function Documentation

void print_color_very_fast | ( | const stpi_dither_t * | d,
|  | stpi_dither_channel_t * | dc,
|  | int | val,
|  | int | x,
|  | int | y,
|  | unsigned char | bit,
|  | unsigned | bits,
|  | int | length
| ) | `[inline, static]`

| Definition at line 38 of file dither-predithered.c. References dither_channel::ptr, dither::ptr_offset, set_row_ends(), stpi_dither_channel_t, and stpi_dither_t.

void stpi_dither_predithered | ( | stp_vars_t * | v,
|  | int | row,
|  | const unsigned short * | raw,
|  | int | duplicate_line,
|  | int | zero_mask,
|  | const unsigned char * | mask
| ) |

| Definition at line 60 of file dither-predithered.c. References ADVANCE_UNIDIRECTIONAL, ink_defn::bits, CHANNEL, CHANNEL_COUNT, dither::dst_width, dither_channel::nlevels, print_color_very_fast(), dither_channel::ranges, set_row_ends(), dither::src_width, stp_free(), stp_get_component_data(), stp_vars_t, stp_zalloc(), stpi_dither_channel_t, stpi_dither_t, and dither_segment::upper.