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

High Dynamic Range


Detailed Description

Convenience routines to handle high dynamic range data. The application buffers are in float format.


Functions

pT_status p_cce_read_float_xyz (const char *filename, pT_header *header, int frame, int field, float *r_or_x_frm, float *g_or_y_frm, float *b_or_z_frm, int width, int height, int stride)
pT_status p_cce_write_float_xyz (const char *filename, pT_header *header, int frame, int field, float *r_or_x_frm, float *g_or_y_frm, float *b_or_z_frm, int width, int height, int stride)


Function Documentation

pT_status p_cce_read_float_xyz const char *  filename,
pT_header header,
int  frame,
int  field,
float *  r_or_x_frm,
float *  g_or_y_frm,
float *  b_or_z_frm,
int  width,
int  height,
int  stride
 

Convenience routines to read and write (XYZ) wide colour gamut and/or high dynamic range data.

Parameters:
filename file to read/write
header pointer to pT_header struct
frame frame number
field 0: frame, 1/2: field access.
r_or_x_frm address of R or X buffer in float format
g_or_y_frm address of G or Y buffer in float format
b_or_z_frm address of B or Z buffer in float format
width width of frame in memory.
height height of frame in memory.
stride stride of frame in memory.
If the file is in integer format (e.g. P_16_BIT_FILE), float data range is assumed to be [0..1]. Otherwise, for P_16_REAL_FILE full float range is used.

pT_status p_cce_write_float_xyz const char *  filename,
pT_header header,
int  frame,
int  field,
float *  r_or_x_frm,
float *  g_or_y_frm,
float *  b_or_z_frm,
int  width,
int  height,
int  stride
 


Generated on Thu Nov 19 16:28:20 2009 for cpfspd by  doxygen 1.3.9.1