• Home
  • Raw
  • Download

Lines Matching refs:cio

143 									opj_stream_private_t *cio,
162 opj_stream_private_t *cio,
203 opj_stream_private_t *cio,
214 opj_stream_private_t *cio,
224 opj_stream_private_t *cio,
234 opj_stream_private_t *cio,
263 opj_stream_private_t *cio,
377 opj_stream_private_t *cio,
392 opj_stream_private_t *cio,
463 opj_stream_private_t *cio, in opj_jp2_read_boxhdr() argument
470 assert(cio != 00); in opj_jp2_read_boxhdr()
475 *p_number_bytes_read = (OPJ_UINT32)opj_stream_read_data(cio,l_data_header,8,p_manager); in opj_jp2_read_boxhdr()
486 const OPJ_OFF_T bleft = opj_stream_get_number_byte_left(cio); in opj_jp2_read_boxhdr()
497 OPJ_UINT32 l_nb_bytes_read = (OPJ_UINT32)opj_stream_read_data(cio,l_data_header,8,p_manager); in opj_jp2_read_boxhdr()
518 static void jp2_write_url(opj_cio_t *cio, char *Idx_file) {
522 box.init_pos = cio_tell(cio);
523 cio_skip(cio, 4);
524 cio_write(cio, JP2_URL, 4); /* DBTL */
525 cio_write(cio, 0, 1); /* VERS */
526 cio_write(cio, 0, 3); /* FLAG */
530 cio_write(cio, Idx_file[i], 1);
534 box.length = cio_tell(cio) - box.init_pos;
535 cio_seek(cio, box.init_pos);
536 cio_write(cio, box.length, 4); /* L */
537 cio_seek(cio, box.init_pos + box.length);
1653 opj_stream_private_t *cio, in opj_jp2_write_ftyp() argument
1662 assert(cio != 00); in opj_jp2_write_ftyp()
1691 l_result = (opj_stream_write_data(cio,l_ftyp_data,l_ftyp_size,p_manager) == l_ftyp_size); in opj_jp2_write_ftyp()
1703 opj_stream_private_t *cio, in opj_jp2_write_jp2c() argument
1711 assert(cio != 00); in opj_jp2_write_jp2c()
1713 assert(opj_stream_has_seek(cio)); in opj_jp2_write_jp2c()
1715 j2k_codestream_exit = opj_stream_tell(cio); in opj_jp2_write_jp2c()
1721 if (! opj_stream_seek(cio,jp2->j2k_codestream_offset,p_manager)) { in opj_jp2_write_jp2c()
1726 if (opj_stream_write_data(cio,l_data_header,8,p_manager) != 8) { in opj_jp2_write_jp2c()
1731 if (! opj_stream_seek(cio,j2k_codestream_exit,p_manager)) { in opj_jp2_write_jp2c()
1740 opj_stream_private_t *cio, in opj_jp2_write_jp() argument
1747 assert(cio != 00); in opj_jp2_write_jp()
1758 if (opj_stream_write_data(cio,l_signature_data,12,p_manager) != 12) { in opj_jp2_write_jp()
1960 opj_stream_private_t *cio, in opj_jp2_end_decompress() argument
1966 assert(cio != 00); in opj_jp2_end_decompress()
1975 if (! opj_jp2_exec (jp2,jp2->m_procedure_list,cio,p_manager)) { in opj_jp2_end_decompress()
1979 return opj_j2k_end_decompress(jp2->j2k, cio, p_manager); in opj_jp2_end_decompress()
1983 opj_stream_private_t *cio, in opj_jp2_end_compress() argument
1989 assert(cio != 00); in opj_jp2_end_compress()
1997 if (! opj_j2k_end_compress(jp2->j2k,cio,p_manager)) { in opj_jp2_end_compress()
2002 return opj_jp2_exec(jp2,jp2->m_procedure_list,cio,p_manager); in opj_jp2_end_compress()
2051 opj_stream_private_t *cio, in opj_jp2_default_validation() argument
2060 assert(cio != 00); in opj_jp2_default_validation()
2099 l_is_valid &= opj_stream_has_seek(cio); in opj_jp2_default_validation()
3002 opj_stream_private_t *cio, in opj_jpip_write_iptr() argument
3010 assert(cio != 00); in opj_jpip_write_iptr()
3012 assert(opj_stream_has_seek(cio)); in opj_jpip_write_iptr()
3014 j2k_codestream_exit = opj_stream_tell(cio); in opj_jpip_write_iptr()
3025 if (! opj_stream_seek(cio,jp2->jpip_iptr_offset,p_manager)) { in opj_jpip_write_iptr()
3030 if (opj_stream_write_data(cio,l_data_header,24,p_manager) != 24) { in opj_jpip_write_iptr()
3035 if (! opj_stream_seek(cio,j2k_codestream_exit,p_manager)) { in opj_jpip_write_iptr()
3044 opj_stream_private_t *cio, in opj_jpip_write_fidx() argument
3052 assert(cio != 00); in opj_jpip_write_fidx()
3054 assert(opj_stream_has_seek(cio)); in opj_jpip_write_fidx()
3061 if (opj_stream_write_data(cio,l_data_header,24,p_manager) != 24) { in opj_jpip_write_fidx()
3066 j2k_codestream_exit = opj_stream_tell(cio); in opj_jpip_write_fidx()
3067 if (! opj_stream_seek(cio,j2k_codestream_exit,p_manager)) { in opj_jpip_write_fidx()
3076 opj_stream_private_t *cio, in opj_jpip_write_cidx() argument
3084 assert(cio != 00); in opj_jpip_write_cidx()
3086 assert(opj_stream_has_seek(cio)); in opj_jpip_write_cidx()
3088 j2k_codestream_exit = opj_stream_tell(cio); in opj_jpip_write_cidx()
3099 if (! opj_stream_seek(cio,j2k_codestream_exit,p_manager)) { in opj_jpip_write_cidx()
3104 if (opj_stream_write_data(cio,l_data_header,24,p_manager) != 24) { in opj_jpip_write_cidx()
3109 j2k_codestream_exit = opj_stream_tell(cio); in opj_jpip_write_cidx()
3110 if (! opj_stream_seek(cio,j2k_codestream_exit,p_manager)) { in opj_jpip_write_cidx()
3119 …_prxy( int offset_jp2c, int length_jp2c, int offset_idx, int length_idx, opj_stream_private_t *cio,
3125 lenp = opj_stream_tell(cio);
3126 opj_stream_skip(cio, 4, p_manager); /* L [at the end] */
3128 opj_stream_write_data(cio,l_data_header,4,p_manager);
3131 opj_stream_write_data(cio,l_data_header,8,p_manager);
3134 opj_stream_write_data(cio,l_data_header,8,p_manager);
3137 opj_stream_write_data(cio,l_data_header,1,p_manager);
3140 opj_stream_write_data(cio,l_data_header,8,p_manager);
3143 opj_stream_write_data(cio,l_data_header,8,p_manager);
3145 len = opj_stream_tell(cio)-lenp;
3146 opj_stream_skip(cio, lenp, p_manager);
3148 opj_stream_write_data(cio,l_data_header,4,p_manager);
3149 opj_stream_seek(cio, lenp+len,p_manager);
3155 …_fidx( int offset_jp2c, int length_jp2c, int offset_idx, int length_idx, opj_stream_private_t *cio,
3161 lenp = opj_stream_tell(cio);
3162 opj_stream_skip(cio, 4, p_manager);
3164 opj_stream_write_data(cio,l_data_header,4,p_manager);
3166 write_prxy( offset_jp2c, length_jp2c, offset_idx, length_idx, cio,p_manager);
3168 len = opj_stream_tell(cio)-lenp;
3169 opj_stream_skip(cio, lenp, p_manager);
3171 opj_stream_write_data(cio,l_data_header,4,p_manager);
3172 opj_stream_seek(cio, lenp+len,p_manager);