void* tier2 = open_library ("tier2");
_init_device = (void (*)(type_parameters *)) dlsym (config, "init_device");
_mct = (void (*)(type_image *, type_parameters *)) dlsym (preprocessing, "mct");
_fwt = (void (*)(type_tile *)) dlsym (dwt, "fwt");
_quantize_tile = (void (*)(type_tile *)) dlsym (tier1, "quantize_tile");
void* tier2 = open_library ("tier2");
_init_device = (void (*)(type_parameters *)) dlsym (config, "init_device");
_mct = (void (*)(type_image *, type_parameters *)) dlsym (preprocessing, "mct");
_fwt = (void (*)(type_tile *)) dlsym (dwt, "fwt");
_quantize_tile = (void (*)(type_tile *)) dlsym (tier1, "quantize_tile");