HP SVA V2.0 Parallel Compositing Reference Guide

B Functions and Properties of Extensions
B.1 Summary of Functions and Properties of Extensions
This section summarizes Library extensions, along with their functions and properties. Detailed
syntax for the functions is in the appropriate Reference sections. All the extended functions and
properties listed in this Appendix are in the HP Library.
Table B-1 lists the available extensions and the functions and properties for each extension.
Table B-1 Additional Functions and Properties of Extensions
Additional PropertiesAdditional FunctionsExtension
none
pcFrameAddGLFrameletEXTPC_EXT_cur_gfx_ctx
Extracts pixels for a framelet directly
from a graphics card.
PC_WRITE_COUNT_EXT
PC_READ_COUNT_EXT
none
PC_EXT_io_count
Measures amount of network traffic.
PCresult (new type)pcFrameWaitOutputHP
pcResultGetChannelHP
pcResultDestroyHP
PC_HP_frame_output
Reduces latency of extracting pixels
and auxiliary data from an output.
B.1.1 Descriptions of Extensions and Their Properties
This section describes each of the available extensions and summarizes functions and properties,
if any, for each extension. See the Reference sections for the detailed syntax of all functions.
The Parallel Compositing Library specification allows for individual implementations of the
library and the data transport layer to provide extensions beyond the standard interfaces. If the
extensions require a new function, the pcGetProcAddress function can be called to get a
pointer to the additional functions. Other extensions may only extend the list of PCenum values.
Before you can use an extension, two tests are necessary:
1. Check for the existence of the extension in the header files at compile time.
2. Check for the existence of the extension using pcQueryExtension at runtime.
Each extension has a name. This name is defined as a C language #define if the extension is
defined in the header files.
#ifdef <extension-name>
If the #define exists, then the code can be compiled and checked for errors.
For the runtime check, call pcQueryExtension, passing the name of the extension (the C
#define) as a string parameter. The function returns true (non-zero) if the extension is available
in the current implementation of the library.
B.1 Summary of Functions and Properties of Extensions 77