| synopsis || arguments || prev || next |
void set_breakpoint( int i_param, void * addr_param)
[Declared in "../apps/compressed_io/jpx.h"]
If you wish to record any specific boxes within the codestream header (chdr) box for this codestream, over and above the Image Header (ihdr), Bits Per Component (bpcc), Palette (pclr) and Component Mapping (cmap) boxes which are automatically generated, you should install a breakpoint. Doing this will ensure firstly that a Codestream Header box is always written (even if all the other boxes are already recorded in the JP2 header box). Secondly, the relevant call to jpx_target::write_headers will return prematurely, providing you with an opportunity to write the additional boxes, after which jpx_target::write_headers must be called again to resume the header generation process.
This is an arbitrary integer identifier which will be returned by jpx_target::write_headers. You might use this to provide an interpretation for the addr_param value, allowing you to reliably cast it to some appropriate object reference. Alternatively, you might use either or neither of the two parameters.
This is an arbitrary address which will be returned by jpx_target::write_headers.