• Home
  • Raw
  • Download

Lines Matching refs:p_manager

67                                   opj_event_mgr_t * p_manager);
104 opj_event_mgr_t * p_manager);
109 opj_event_mgr_t * p_manager);
147 opj_event_mgr_t * p_manager);
162 opj_event_mgr_t * p_manager);
166 opj_event_mgr_t * p_manager);
181 opj_event_mgr_t * p_manager);
194 opj_event_mgr_t * p_manager);
207 opj_event_mgr_t * p_manager);
218 opj_event_mgr_t * p_manager);
228 opj_event_mgr_t * p_manager);
238 opj_event_mgr_t * p_manager);
254 opj_event_mgr_t * p_manager);
267 opj_event_mgr_t * p_manager);
278 opj_event_mgr_t * p_manager);
295 opj_event_mgr_t * p_manager);
311 opj_event_mgr_t * p_manager);
326 opj_event_mgr_t * p_manager);
337 opj_event_mgr_t * p_manager);
344 opj_event_mgr_t * p_manager);
357 opj_event_mgr_t * p_manager);
372 opj_event_mgr_t * p_manager);
387 opj_event_mgr_t * p_manager);
394 opj_event_mgr_t * p_manager);
400 opj_event_mgr_t * p_manager);
404 opj_event_mgr_t * p_manager);
456 opj_event_mgr_t * p_manager);
463 opj_event_mgr_t * p_manager);
470 opj_event_mgr_t * p_manager);
476 opj_event_mgr_t * p_manager) in opj_jp2_read_boxhdr() argument
485 assert(p_manager != 00); in opj_jp2_read_boxhdr()
488 p_manager); in opj_jp2_read_boxhdr()
500 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_boxhdr()
515 l_data_header, 8, p_manager); in opj_jp2_read_boxhdr()
527 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_boxhdr()
564 opj_event_mgr_t * p_manager) in opj_jp2_read_ihdr() argument
569 assert(p_manager != 00); in opj_jp2_read_ihdr()
572 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_read_ihdr()
578 opj_event_msg(p_manager, EVT_ERROR, "Bad image header box (bad size)\n"); in opj_jp2_read_ihdr()
591 opj_event_msg(p_manager, EVT_ERROR, "Invalid number of components (ihdr)\n"); in opj_jp2_read_ihdr()
600 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_ihdr()
613 opj_event_msg(p_manager, EVT_INFO, in opj_jp2_read_ihdr()
725 opj_event_mgr_t * p_manager in opj_jp2_read_bpcc() argument
733 assert(p_manager != 00); in opj_jp2_read_bpcc()
737 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_read_bpcc()
744 opj_event_msg(p_manager, EVT_ERROR, "Bad BPCC header box (bad size)\n"); in opj_jp2_read_bpcc()
890 opj_event_mgr_t *p_manager) in opj_jp2_check_color() argument
908 opj_event_msg(p_manager, EVT_ERROR, "Invalid component index %d (>= %d).\n", in opj_jp2_check_color()
917 opj_event_msg(p_manager, EVT_ERROR, "Invalid component index %d (>= %d).\n", in opj_jp2_check_color()
932 opj_event_msg(p_manager, EVT_ERROR, "Incomplete channel definitions.\n"); in opj_jp2_check_color()
949 opj_event_msg(p_manager, EVT_ERROR, "Invalid component index %d (>= %d).\n", in opj_jp2_check_color()
957 opj_event_msg(p_manager, EVT_ERROR, "Unexpected OOM.\n"); in opj_jp2_check_color()
966 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_check_color()
971 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_check_color()
975 opj_event_msg(p_manager, EVT_ERROR, "Component %d is mapped twice.\n", pcol); in opj_jp2_check_color()
980 opj_event_msg(p_manager, EVT_ERROR, "Direct use at #%d however pcol=%d.\n", i, in opj_jp2_check_color()
986 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_check_color()
998 opj_event_msg(p_manager, EVT_ERROR, "Component %d doesn't have a mapping.\n", in opj_jp2_check_color()
1008 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_check_color()
1033 opj_event_mgr_t * p_manager) in opj_jp2_apply_pclr() argument
1054 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_apply_pclr()
1072 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_apply_pclr()
1098 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_apply_pclr()
1164 opj_event_mgr_t * p_manager in opj_jp2_read_pclr() argument
1178 assert(p_manager != 00); in opj_jp2_read_pclr()
1193 opj_event_msg(p_manager, EVT_ERROR, "Invalid PCLR box. Reports %d entries\n", in opj_jp2_read_pclr()
1202 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_pclr()
1278 opj_event_mgr_t * p_manager in opj_jp2_read_cmap() argument
1288 assert(p_manager != 00); in opj_jp2_read_cmap()
1293 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_cmap()
1302 opj_event_msg(p_manager, EVT_ERROR, "Only one CMAP box is allowed.\n"); in opj_jp2_read_cmap()
1308 opj_event_msg(p_manager, EVT_ERROR, "Insufficient data for CMAP box.\n"); in opj_jp2_read_cmap()
1404 opj_event_mgr_t * p_manager in opj_jp2_read_cdef() argument
1414 assert(p_manager != 00); in opj_jp2_read_cdef()
1424 opj_event_msg(p_manager, EVT_ERROR, "Insufficient data for CDEF box.\n"); in opj_jp2_read_cdef()
1432 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_cdef()
1438 opj_event_msg(p_manager, EVT_ERROR, "Insufficient data for CDEF box.\n"); in opj_jp2_read_cdef()
1476 opj_event_mgr_t * p_manager in opj_jp2_read_colr() argument
1484 assert(p_manager != 00); in opj_jp2_read_colr()
1487 opj_event_msg(p_manager, EVT_ERROR, "Bad COLR header box (bad size)\n"); in opj_jp2_read_colr()
1495 opj_event_msg(p_manager, EVT_INFO, in opj_jp2_read_colr()
1512 opj_event_msg(p_manager, EVT_ERROR, "Bad COLR header box (bad size: %d)\n", in opj_jp2_read_colr()
1519 opj_event_msg(p_manager, EVT_WARNING, "Bad COLR header box (bad size: %d)\n", in opj_jp2_read_colr()
1533 opj_event_msg(p_manager, EVT_ERROR, "Not enough memory for cielab\n"); in opj_jp2_read_colr()
1561 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_read_colr()
1598 opj_event_msg(p_manager, EVT_INFO, in opj_jp2_read_colr()
1611 opj_event_mgr_t * p_manager) in opj_jp2_decode() argument
1618 if (! opj_j2k_decode(jp2->j2k, p_stream, p_image, p_manager)) { in opj_jp2_decode()
1619 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_decode()
1630 if (!opj_jp2_check_color(p_image, &(jp2->color), p_manager)) { in opj_jp2_decode()
1654 if (!opj_jp2_apply_pclr(p_image, &(jp2->color), p_manager)) { in opj_jp2_decode()
1662 opj_jp2_apply_cdef(p_image, &(jp2->color), p_manager); in opj_jp2_decode()
1677 opj_event_mgr_t * p_manager in opj_jp2_write_jp2h() argument
1694 assert(p_manager != 00); in opj_jp2_write_jp2h()
1723 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_write_jp2h()
1749 if (opj_stream_write_data(stream, l_jp2h_data, 8, p_manager) != 8) { in opj_jp2_write_jp2h()
1750 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_write_jp2h()
1759 … l_current_writer->m_size, p_manager) != l_current_writer->m_size) { in opj_jp2_write_jp2h()
1760 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_write_jp2h()
1784 opj_event_mgr_t * p_manager) in opj_jp2_write_ftyp() argument
1794 assert(p_manager != 00); in opj_jp2_write_ftyp()
1800 opj_event_msg(p_manager, EVT_ERROR, "Not enough memory to handle ftyp data\n"); in opj_jp2_write_ftyp()
1823 p_manager) == l_ftyp_size); in opj_jp2_write_ftyp()
1825 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_write_ftyp()
1836 opj_event_mgr_t * p_manager) in opj_jp2_write_jp2c() argument
1844 assert(p_manager != 00); in opj_jp2_write_jp2c()
1854 if (! opj_stream_seek(cio, jp2->j2k_codestream_offset, p_manager)) { in opj_jp2_write_jp2c()
1855 opj_event_msg(p_manager, EVT_ERROR, "Failed to seek in the stream.\n"); in opj_jp2_write_jp2c()
1859 if (opj_stream_write_data(cio, l_data_header, 8, p_manager) != 8) { in opj_jp2_write_jp2c()
1860 opj_event_msg(p_manager, EVT_ERROR, "Failed to seek in the stream.\n"); in opj_jp2_write_jp2c()
1864 if (! opj_stream_seek(cio, j2k_codestream_exit, p_manager)) { in opj_jp2_write_jp2c()
1865 opj_event_msg(p_manager, EVT_ERROR, "Failed to seek in the stream.\n"); in opj_jp2_write_jp2c()
1874 opj_event_mgr_t * p_manager) in opj_jp2_write_jp() argument
1882 assert(p_manager != 00); in opj_jp2_write_jp()
1893 if (opj_stream_write_data(cio, l_signature_data, 12, p_manager) != 12) { in opj_jp2_write_jp()
1928 opj_event_mgr_t * p_manager) in opj_jp2_setup_encoder() argument
1947 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_setup_encoder()
1953 p_manager) == OPJ_FALSE) { in opj_jp2_setup_encoder()
1967 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_setup_encoder()
1979 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_setup_encoder()
2046 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_setup_encoder()
2049 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_setup_encoder()
2053 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_setup_encoder()
2058 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_setup_encoder()
2064 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_setup_encoder()
2074 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_setup_encoder()
2114 opj_event_mgr_t * p_manager) in opj_jp2_encode() argument
2116 return opj_j2k_encode(jp2->j2k, stream, p_manager); in opj_jp2_encode()
2121 opj_event_mgr_t * p_manager in opj_jp2_end_decompress() argument
2127 assert(p_manager != 00); in opj_jp2_end_decompress()
2130 if (! opj_jp2_setup_end_header_reading(jp2, p_manager)) { in opj_jp2_end_decompress()
2135 if (! opj_jp2_exec(jp2, jp2->m_procedure_list, cio, p_manager)) { in opj_jp2_end_decompress()
2139 return opj_j2k_end_decompress(jp2->j2k, cio, p_manager); in opj_jp2_end_decompress()
2144 opj_event_mgr_t * p_manager in opj_jp2_end_compress() argument
2150 assert(p_manager != 00); in opj_jp2_end_compress()
2153 if (! opj_jp2_setup_end_header_writing(jp2, p_manager)) { in opj_jp2_end_compress()
2157 if (! opj_j2k_end_compress(jp2->j2k, cio, p_manager)) { in opj_jp2_end_compress()
2162 return opj_jp2_exec(jp2, jp2->m_procedure_list, cio, p_manager); in opj_jp2_end_compress()
2166 opj_event_mgr_t * p_manager) in opj_jp2_setup_end_header_writing() argument
2170 assert(p_manager != 00); in opj_jp2_setup_end_header_writing()
2175 (opj_procedure)opj_jpip_write_iptr, p_manager)) { in opj_jp2_setup_end_header_writing()
2181 (opj_procedure)opj_jp2_write_jp2c, p_manager)) { in opj_jp2_setup_end_header_writing()
2188 (opj_procedure)opj_jpip_write_cidx, p_manager)) { in opj_jp2_setup_end_header_writing()
2192 (opj_procedure)opj_jpip_write_fidx, p_manager)) { in opj_jp2_setup_end_header_writing()
2201 opj_event_mgr_t * p_manager) in opj_jp2_setup_end_header_reading() argument
2205 assert(p_manager != 00); in opj_jp2_setup_end_header_reading()
2208 … (opj_procedure)opj_jp2_read_header_procedure, p_manager)) { in opj_jp2_setup_end_header_reading()
2218 opj_event_mgr_t * p_manager in opj_jp2_default_validation() argument
2227 assert(p_manager != 00); in opj_jp2_default_validation()
2229 OPJ_UNUSED(p_manager); in opj_jp2_default_validation()
2275 opj_event_mgr_t * p_manager in opj_jp2_read_header_procedure() argument
2289 assert(p_manager != 00); in opj_jp2_read_header_procedure()
2294 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_header_procedure()
2299 while (opj_jp2_read_boxhdr(&box, &l_nb_bytes_read, stream, p_manager)) { in opj_jp2_read_header_procedure()
2307 opj_event_msg(p_manager, EVT_ERROR, "bad placed jpeg codestream\n"); in opj_jp2_read_header_procedure()
2312 opj_event_msg(p_manager, EVT_ERROR, "Cannot handle box of undefined sizes\n"); in opj_jp2_read_header_procedure()
2318 opj_event_msg(p_manager, EVT_ERROR, "invalid box size %d (%x)\n", box.length, in opj_jp2_read_header_procedure()
2330 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_read_header_procedure()
2338 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_read_header_procedure()
2344 p_manager) != l_current_data_size) { in opj_jp2_read_header_procedure()
2345 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_header_procedure()
2355 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_header_procedure()
2368 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_header_procedure()
2377 l_current_data_size, p_manager); in opj_jp2_read_header_procedure()
2379 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_header_procedure()
2386 p_manager)) { in opj_jp2_read_header_procedure()
2392 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_header_procedure()
2398 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_header_procedure()
2405 p_manager) != l_current_data_size) { in opj_jp2_read_header_procedure()
2409 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_read_header_procedure()
2414 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_header_procedure()
2441 opj_event_mgr_t * p_manager in opj_jp2_exec() argument
2454 assert(p_manager != 00); in opj_jp2_exec()
2461 l_result = l_result && (*l_procedure)(jp2, stream, p_manager); in opj_jp2_exec()
2473 opj_event_mgr_t * p_manager in opj_jp2_start_compress() argument
2479 assert(p_manager != 00); in opj_jp2_start_compress()
2482 if (! opj_jp2_setup_encoding_validation(jp2, p_manager)) { in opj_jp2_start_compress()
2487 if (! opj_jp2_exec(jp2, jp2->m_validation_list, stream, p_manager)) { in opj_jp2_start_compress()
2492 if (! opj_jp2_setup_header_writing(jp2, p_manager)) { in opj_jp2_start_compress()
2497 if (! opj_jp2_exec(jp2, jp2->m_procedure_list, stream, p_manager)) { in opj_jp2_start_compress()
2501 return opj_j2k_start_compress(jp2->j2k, stream, p_image, p_manager); in opj_jp2_start_compress()
2551 opj_event_mgr_t * p_manager in opj_jp2_read_jp() argument
2560 assert(p_manager != 00); in opj_jp2_read_jp()
2563 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_jp()
2570 opj_event_msg(p_manager, EVT_ERROR, "Error with JP signature Box size\n"); in opj_jp2_read_jp()
2577 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_jp()
2600 opj_event_mgr_t * p_manager in opj_jp2_read_ftyp() argument
2608 assert(p_manager != 00); in opj_jp2_read_ftyp()
2611 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_ftyp()
2618 opj_event_msg(p_manager, EVT_ERROR, "Error with FTYP signature Box size\n"); in opj_jp2_read_ftyp()
2632 opj_event_msg(p_manager, EVT_ERROR, "Error with FTYP signature Box size\n"); in opj_jp2_read_ftyp()
2641 opj_event_msg(p_manager, EVT_ERROR, "Not enough memory with FTYP Box\n"); in opj_jp2_read_ftyp()
2658 opj_event_mgr_t * p_manager) in opj_jp2_skip_jp2c() argument
2663 assert(p_manager != 00); in opj_jp2_skip_jp2c()
2667 if (opj_stream_skip(stream, 8, p_manager) != 8) { in opj_jp2_skip_jp2c()
2676 opj_event_mgr_t * p_manager) in opj_jpip_skip_iptr() argument
2681 assert(p_manager != 00); in opj_jpip_skip_iptr()
2685 if (opj_stream_skip(stream, 24, p_manager) != 24) { in opj_jpip_skip_iptr()
2705 opj_event_mgr_t * p_manager in opj_jp2_read_jp2h() argument
2716 assert(p_manager != 00); in opj_jp2_read_jp2h()
2720 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_jp2h()
2731 p_manager)) { in opj_jp2_read_jp2h()
2732 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_jp2h()
2738 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_jp2h()
2749 p_manager)) { in opj_jp2_read_jp2h()
2765 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_jp2h()
2780 opj_event_mgr_t * p_manager in opj_jp2_read_boxhdr_char() argument
2789 assert(p_manager != 00); in opj_jp2_read_boxhdr_char()
2792 opj_event_msg(p_manager, EVT_ERROR, "Cannot handle box of less than 8 bytes\n"); in opj_jp2_read_boxhdr_char()
2813 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_boxhdr_char()
2823 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_read_boxhdr_char()
2833 opj_event_msg(p_manager, EVT_ERROR, "Cannot handle box of undefined sizes\n"); in opj_jp2_read_boxhdr_char()
2837 opj_event_msg(p_manager, EVT_ERROR, "Cannot handle box of undefined sizes\n"); in opj_jp2_read_boxhdr_char()
2841 opj_event_msg(p_manager, EVT_ERROR, "Box length is inconsistent.\n"); in opj_jp2_read_boxhdr_char()
2850 opj_event_mgr_t * p_manager in opj_jp2_read_header() argument
2856 assert(p_manager != 00); in opj_jp2_read_header()
2859 if (! opj_jp2_setup_decoding_validation(jp2, p_manager)) { in opj_jp2_read_header()
2864 if (! opj_jp2_setup_header_reading(jp2, p_manager)) { in opj_jp2_read_header()
2869 if (! opj_jp2_exec(jp2, jp2->m_validation_list, p_stream, p_manager)) { in opj_jp2_read_header()
2874 if (! opj_jp2_exec(jp2, jp2->m_procedure_list, p_stream, p_manager)) { in opj_jp2_read_header()
2878 opj_event_msg(p_manager, EVT_ERROR, "JP2H box missing. Required.\n"); in opj_jp2_read_header()
2882 opj_event_msg(p_manager, EVT_ERROR, "IHDR box_missing. Required.\n"); in opj_jp2_read_header()
2889 p_manager); in opj_jp2_read_header()
2893 opj_event_mgr_t * p_manager) in opj_jp2_setup_encoding_validation() argument
2897 assert(p_manager != 00); in opj_jp2_setup_encoding_validation()
2900 (opj_procedure)opj_jp2_default_validation, p_manager)) { in opj_jp2_setup_encoding_validation()
2909 opj_event_mgr_t * p_manager) in opj_jp2_setup_decoding_validation() argument
2913 assert(p_manager != 00); in opj_jp2_setup_decoding_validation()
2916 OPJ_UNUSED(p_manager); in opj_jp2_setup_decoding_validation()
2924 opj_event_mgr_t * p_manager) in opj_jp2_setup_header_writing() argument
2928 assert(p_manager != 00); in opj_jp2_setup_header_writing()
2931 (opj_procedure)opj_jp2_write_jp, p_manager)) { in opj_jp2_setup_header_writing()
2935 (opj_procedure)opj_jp2_write_ftyp, p_manager)) { in opj_jp2_setup_header_writing()
2939 (opj_procedure)opj_jp2_write_jp2h, p_manager)) { in opj_jp2_setup_header_writing()
2944 (opj_procedure)opj_jpip_skip_iptr, p_manager)) { in opj_jp2_setup_header_writing()
2949 (opj_procedure)opj_jp2_skip_jp2c, p_manager)) { in opj_jp2_setup_header_writing()
2959 opj_event_mgr_t * p_manager) in opj_jp2_setup_header_reading() argument
2963 assert(p_manager != 00); in opj_jp2_setup_header_reading()
2966 … (opj_procedure)opj_jp2_read_header_procedure, p_manager)) { in opj_jp2_setup_header_reading()
2985 opj_event_mgr_t * p_manager in opj_jp2_read_tile_header() argument
2996 p_manager); in opj_jp2_read_tile_header()
3004 opj_event_mgr_t * p_manager in opj_jp2_write_tile() argument
3009 p_stream, p_manager); in opj_jp2_write_tile()
3017 opj_event_mgr_t * p_manager in opj_jp2_decode_tile() argument
3021 p_stream, p_manager); in opj_jp2_decode_tile()
3095 opj_event_mgr_t * p_manager) in opj_jp2_set_decoded_components() argument
3099 p_manager); in opj_jp2_set_decoded_components()
3106 opj_event_mgr_t * p_manager in opj_jp2_set_decode_area() argument
3110 p_end_x, p_end_y, p_manager); in opj_jp2_set_decode_area()
3116 opj_event_mgr_t * p_manager, in opj_jp2_get_tile() argument
3124 opj_event_msg(p_manager, EVT_WARNING, in opj_jp2_get_tile()
3127 if (! opj_j2k_get_tile(p_jp2->j2k, p_stream, p_image, p_manager, tile_index)) { in opj_jp2_get_tile()
3128 opj_event_msg(p_manager, EVT_ERROR, in opj_jp2_get_tile()
3138 if (!opj_jp2_check_color(p_image, &(p_jp2->color), p_manager)) { in opj_jp2_get_tile()
3162 if (!opj_jp2_apply_pclr(p_image, &(p_jp2->color), p_manager)) { in opj_jp2_get_tile()
3170 opj_jp2_apply_cdef(p_image, &(p_jp2->color), p_manager); in opj_jp2_get_tile()
3250 opj_event_mgr_t * p_manager) in opj_jp2_set_decoded_resolution_factor() argument
3252 return opj_j2k_set_decoded_resolution_factor(p_jp2->j2k, res_factor, p_manager); in opj_jp2_set_decoded_resolution_factor()
3260 opj_event_mgr_t * p_manager) in opj_jpip_write_iptr() argument
3268 assert(p_manager != 00); in opj_jpip_write_iptr()
3283 if (! opj_stream_seek(cio, jp2->jpip_iptr_offset, p_manager)) { in opj_jpip_write_iptr()
3284 opj_event_msg(p_manager, EVT_ERROR, "Failed to seek in the stream.\n"); in opj_jpip_write_iptr()
3288 if (opj_stream_write_data(cio, l_data_header, 24, p_manager) != 24) { in opj_jpip_write_iptr()
3289 opj_event_msg(p_manager, EVT_ERROR, "Failed to seek in the stream.\n"); in opj_jpip_write_iptr()
3293 if (! opj_stream_seek(cio, j2k_codestream_exit, p_manager)) { in opj_jpip_write_iptr()
3294 opj_event_msg(p_manager, EVT_ERROR, "Failed to seek in the stream.\n"); in opj_jpip_write_iptr()
3303 opj_event_mgr_t * p_manager) in opj_jpip_write_fidx() argument
3313 assert(p_manager != 00); in opj_jpip_write_fidx()
3322 if (opj_stream_write_data(cio, l_data_header, 24, p_manager) != 24) { in opj_jpip_write_fidx()
3323 opj_event_msg(p_manager, EVT_ERROR, "Failed to seek in the stream.\n"); in opj_jpip_write_fidx()
3328 if (! opj_stream_seek(cio, j2k_codestream_exit, p_manager)) { in opj_jpip_write_fidx()
3329 opj_event_msg(p_manager, EVT_ERROR, "Failed to seek in the stream.\n"); in opj_jpip_write_fidx()
3338 opj_event_mgr_t * p_manager) in opj_jpip_write_cidx() argument
3348 assert(p_manager != 00); in opj_jpip_write_cidx()
3363 if (! opj_stream_seek(cio, j2k_codestream_exit, p_manager)) { in opj_jpip_write_cidx()
3364 opj_event_msg(p_manager, EVT_ERROR, "Failed to seek in the stream.\n"); in opj_jpip_write_cidx()
3368 if (opj_stream_write_data(cio, l_data_header, 24, p_manager) != 24) { in opj_jpip_write_cidx()
3369 opj_event_msg(p_manager, EVT_ERROR, "Failed to seek in the stream.\n"); in opj_jpip_write_cidx()
3374 if (! opj_stream_seek(cio, j2k_codestream_exit, p_manager)) { in opj_jpip_write_cidx()
3375 opj_event_msg(p_manager, EVT_ERROR, "Failed to seek in the stream.\n"); in opj_jpip_write_cidx()
3385 opj_event_mgr_t * p_manager)
3391 opj_stream_skip(cio, 4, p_manager); /* L [at the end] */
3393 opj_stream_write_data(cio, l_data_header, 4, p_manager);
3396 opj_stream_write_data(cio, l_data_header, 8, p_manager);
3399 opj_stream_write_data(cio, l_data_header, 8, p_manager);
3402 opj_stream_write_data(cio, l_data_header, 1, p_manager);
3405 opj_stream_write_data(cio, l_data_header, 8, p_manager);
3408 opj_stream_write_data(cio, l_data_header, 8, p_manager);
3411 opj_stream_skip(cio, lenp, p_manager);
3413 opj_stream_write_data(cio, l_data_header, 4, p_manager);
3414 opj_stream_seek(cio, lenp + len, p_manager);
3422 opj_event_mgr_t * p_manager)
3428 opj_stream_skip(cio, 4, p_manager);
3430 opj_stream_write_data(cio, l_data_header, 4, p_manager);
3432 write_prxy(offset_jp2c, length_jp2c, offset_idx, length_idx, cio, p_manager);
3435 opj_stream_skip(cio, lenp, p_manager);
3437 opj_stream_write_data(cio, l_data_header, 4, p_manager);
3438 opj_stream_seek(cio, lenp + len, p_manager);