Harlequin VariData (external) raster discarding backend, HVDNONE, and raw raster backend, HVDRAW.
More...
|
static void * | mem_acquire (size_t size, uint32 id, void *data, HqnResult *perr) |
|
static void | mem_release (void *handle, size_t size, void *data) |
|
static uint8 * | mem_raster (void *handle, size_t offset, size_t size) |
|
static HqBool | save_pages_info (DEVICELIST *dev, RasterDescription *pRasterDescription) |
| Writes the XML page and element info held by gPagesInfo to a file. More...
|
|
static RASTER_result | HVDNONE_RASTER_start (void *pJobContext, RasterDescription *rd, RASTER_handle *handlep) |
| Raster start for HVDNONE discarding backend.
|
|
static RASTER_result | HVDRAW_RASTER_start (void *pJobContext, RasterDescription *rd, RASTER_handle *handlep) |
| Raster start for HVDRAW output backend.
|
|
static RASTER_result | HVDRAST_RASTER_write_data (void *pJobContext, RASTER_handle rh, RasterDescription *rd, void *data, int32 topline, int32 lines, int32 bytesperline, int32 channel) |
| RASTER_write_data.
|
|
static RASTER_result | HVDRAST_RASTER_finish (void *pJobContext, RASTER_handle *handlep, RasterDescription *rd, RASTER_result result) |
| RASTER_finish.
|
|
static RASTER_result | HVDRAST_RASTER_job_end (void *pJobContext, RASTER_handle *handlep) |
| RASTER_job_end.
|
|
static RASTER_result | HVDRAST_RasterRequirements (void *pJobContext, RASTER_REQUIREMENTS *pRasterRequirements, RasterDescription *pRD) |
| This function gives the raster backend the details of the raster it's about to be handed. More...
|
|
static RASTER_result | HVDRAST_RasterDestination (void *pJobContext, RASTER_DESTINATION *pRD, int32 sheetIndex) |
| This function allows the raster backend to provide a memory address range into which to render. More...
|
|
static RASTER_result | raw_hvd_raster_finish (void *pJobContext, RASTER_handle *handlep, RasterDescription *rd, RASTER_result result) |
|
static HVD_result | raw_shm_hvd_output_page (HVD_page_output *page) |
| Callback function for libHVD to output an HVD page. More...
|
|
static HVD_result | raw_mem_hvd_output_page (HVD_page_output *page) |
| Callback function for libHVD to output an HVD page. More...
|
|
static HVD_result | none_shm_hvd_output_page (HVD_page_output *page) |
| Callback function for libHVD to output an HVD page. More...
|
|
static HVD_result | none_mem_hvd_output_page (HVD_page_output *page) |
| Callback function for libHVD to output an HVD page. More...
|
|
HqBool | HVDRAST_RegisterHandlers (void) |
| Register the raster backend and event handlers. More...
|
|
Harlequin VariData (external) raster discarding backend, HVDNONE, and raw raster backend, HVDRAW.
This file implements an external Harlequin VariData backend. It receives raster data for each element from the RIP via a framebuffer, caches it, and composes an output page from the element data. The HVDNONE backend then discards the data, whereas the HVDRAW backend writes the data out to disk, along with an XML file detailing which elements are used by which pages.
It illustrates:
- Using libHVD to handle the required Harlequin VariData event handlers
- Additional event handlers to capture the XML data for the page.
- use of a framebuffer to receive raster data from the RIP
- asynchronous output of pages triggered by the Page Ready event
It does not illustrate:
- synchronization on cache elements