Go to the documentation of this file.
32 #ifndef OPJ_FUNCTION_LIST_H
33 #define OPJ_FUNCTION_LIST_H
void opj_procedure_list_destroy(opj_procedure_list_t *p_list)
Destroys a validation list.
Definition: function_list.c:58
void * opj_calloc(size_t num, size_t size)
Allocate a memory block with elements initialized to 0.
Definition: opj_malloc.c:198
OPJ_UINT32 m_nb_max_procedures
The number of the array of validation procedures.
Definition: function_list.h:65
void opj_procedure_list_destroy(opj_procedure_list_t *p_list)
Destroys a validation list.
Definition: function_list.c:58
OPJ_BOOL opj_event_msg(opj_event_mgr_t *p_event_mgr, OPJ_INT32 event_type, const char *fmt,...)
Write formatted data to a string and send the string to a user callback.
Definition: event.c:91
struct opj_procedure_list opj_procedure_list_t
A list of procedures.
OPJ_UINT32 opj_procedure_list_get_nb_procedures(opj_procedure_list_t *p_validation_list)
Gets the number of validation procedures.
Definition: function_list.c:102
Message handler object used for.
Definition: event.h:50
opj_procedure * m_procedures
The array of procedures.
Definition: function_list.h:69
OPJ_UINT32 opj_procedure_list_get_nb_procedures(opj_procedure_list_t *p_validation_list)
Gets the number of validation procedures.
Definition: function_list.c:102
opj_procedure_list_t * opj_procedure_list_create(void)
Creates a validation list.
Definition: function_list.c:39
OPJ_UINT32 m_nb_procedures
The number of validation procedures.
Definition: function_list.h:61
int OPJ_BOOL
Definition: openjpeg.h:116
opj_procedure_list_t * opj_procedure_list_create()
Creates a validation list.
Definition: function_list.c:39
OPJ_BOOL opj_procedure_list_add_procedure(opj_procedure_list_t *p_validation_list, opj_procedure p_procedure, opj_event_mgr_t *p_manager)
Adds a new validation procedure.
Definition: function_list.c:70
opj_procedure * opj_procedure_list_get_first_procedure(opj_procedure_list_t *p_validation_list)
Gets the pointer on the first validation procedure.
Definition: function_list.c:108
void opj_procedure_list_clear(opj_procedure_list_t *p_validation_list)
Clears the list of validation procedures.
Definition: function_list.c:114
#define OPJ_VALIDATION_SIZE
Default size of the validation list, if not sufficient, data will be reallocated with a double size.
Definition: function_list.c:37
A list of procedures.
Definition: function_list.h:57
void * opj_realloc(void *ptr, size_t new_size)
Reallocate memory blocks.
Definition: opj_malloc.c:239
#define OPJ_TRUE
Definition: openjpeg.h:117
opj_procedure * opj_procedure_list_get_first_procedure(opj_procedure_list_t *p_validation_list)
Gets the pointer on the first validation procedure.
Definition: function_list.c:108
void opj_free(void *ptr)
Deallocates or frees a memory block.
Definition: opj_malloc.c:246
void opj_procedure_list_clear(opj_procedure_list_t *p_validation_list)
Clears the list of validation procedures.
Definition: function_list.c:114
#define EVT_ERROR
Error event type.
Definition: event.h:66
uint32_t OPJ_UINT32
Definition: openjpeg.h:132
#define OPJ_FALSE
Definition: openjpeg.h:118
OPJ_BOOL opj_procedure_list_add_procedure(opj_procedure_list_t *p_validation_list, opj_procedure p_procedure, opj_event_mgr_t *p_manager)
Adds a new validation procedure.
Definition: function_list.c:70
void(* opj_procedure)(void)
declare a function pointer
Definition: function_list.h:52