Lines Matching refs:jp2_codec

269     *jp2_codec;  in ReadJP2Image()  local
316 jp2_codec=opj_create_decompress(OPJ_CODEC_JPT); in ReadJP2Image()
319 jp2_codec=opj_create_decompress(OPJ_CODEC_J2K); in ReadJP2Image()
321 jp2_codec=opj_create_decompress(OPJ_CODEC_JP2); in ReadJP2Image()
322 opj_set_warning_handler(jp2_codec,JP2WarningHandler,exception); in ReadJP2Image()
323 opj_set_error_handler(jp2_codec,JP2ErrorHandler,exception); in ReadJP2Image()
331 if (opj_setup_decoder(jp2_codec,&parameters) == 0) in ReadJP2Image()
333 opj_destroy_codec(jp2_codec); in ReadJP2Image()
343 if (opj_read_header(jp2_stream,jp2_codec,&jp2_image) == 0) in ReadJP2Image()
346 opj_destroy_codec(jp2_codec); in ReadJP2Image()
356 jp2_status=opj_set_decode_area(jp2_codec,jp2_image, in ReadJP2Image()
361 jp2_status=opj_set_decode_area(jp2_codec,jp2_image,0,0, in ReadJP2Image()
366 opj_destroy_codec(jp2_codec); in ReadJP2Image()
375 opj_destroy_codec(jp2_codec); in ReadJP2Image()
380 jp2_status=opj_get_decoded_tile(jp2_codec,jp2_stream,jp2_image, in ReadJP2Image()
385 jp2_status=opj_decode(jp2_codec,jp2_stream,jp2_image); in ReadJP2Image()
387 jp2_status=opj_end_decompress(jp2_codec,jp2_stream); in ReadJP2Image()
392 opj_destroy_codec(jp2_codec); in ReadJP2Image()
405 opj_destroy_codec(jp2_codec); in ReadJP2Image()
446 opj_destroy_codec(jp2_codec); in ReadJP2Image()
453 opj_destroy_codec(jp2_codec); in ReadJP2Image()
486 opj_destroy_codec(jp2_codec); in ReadJP2Image()
544 opj_destroy_codec(jp2_codec); in ReadJP2Image()
820 *jp2_codec; in WriteJP2Image() local
1105 jp2_codec=opj_create_compress(OPJ_CODEC_JPT); in WriteJP2Image()
1108 jp2_codec=opj_create_compress(OPJ_CODEC_J2K); in WriteJP2Image()
1110 jp2_codec=opj_create_compress(OPJ_CODEC_JP2); in WriteJP2Image()
1111 opj_set_warning_handler(jp2_codec,JP2WarningHandler,exception); in WriteJP2Image()
1112 opj_set_error_handler(jp2_codec,JP2ErrorHandler,exception); in WriteJP2Image()
1113 opj_setup_encoder(jp2_codec,parameters,jp2_image); in WriteJP2Image()
1117 opj_destroy_codec(jp2_codec); in WriteJP2Image()
1127 jp2_status=opj_start_compress(jp2_codec,jp2_image,jp2_stream); in WriteJP2Image()
1128 if ((jp2_status == 0) || (opj_encode(jp2_codec,jp2_stream) == 0) || in WriteJP2Image()
1129 (opj_end_compress(jp2_codec,jp2_stream) == 0)) in WriteJP2Image()
1132 opj_destroy_codec(jp2_codec); in WriteJP2Image()
1141 opj_destroy_codec(jp2_codec); in WriteJP2Image()