| synopsis || arguments || prev |

jpx_layer_target::set_breakpoint

void set_breakpoint( int i_param, void * addr_param)

[Declared in "../apps/compressed_io/jpx.h"]

Go to class description.


Synopsis

If you wish to record any specific boxes within the compositing layer header box, over and above the Channel Definitions (cdef), Colour Group (cgrp), Resolution (res ) and Codestream Registration (creg) boxes which are generated automatically, you should install a breakpoint. Doing this will ensure firstly that a Compositing Layer Header (jplh) box is always written. Secondly, the 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.


Arguments

i_param [int]

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.

addr_param [void *]

This is an arbitrary address which will be returned by jpx_target::write_headers.


| top || synopsis || arguments || prev |