Home
last modified time | relevance | path

Searched refs:OPJ_OFF_T (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dcio.h134 OPJ_OFF_T(* m_opj_skip)(struct opj_stream_private *, OPJ_OFF_T,
140 OPJ_BOOL(* m_opj_seek)(struct opj_stream_private *, OPJ_OFF_T,
151 OPJ_OFF_T m_byte_offset;
305 OPJ_OFF_T opj_stream_skip(opj_stream_private_t * p_stream, OPJ_OFF_T p_size,
315 OPJ_OFF_T opj_stream_tell(const opj_stream_private_t * p_stream);
325 OPJ_OFF_T opj_stream_get_number_byte_left(const opj_stream_private_t *
335 OPJ_OFF_T opj_stream_write_skip(opj_stream_private_t * p_stream,
336 OPJ_OFF_T p_size, struct opj_event_mgr * p_event_mgr);
345 OPJ_OFF_T opj_stream_read_skip(opj_stream_private_t * p_stream,
346 OPJ_OFF_T p_size, struct opj_event_mgr * p_event_mgr);
[all …]
Dcio.c290 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_read_data()
299 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
311 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
342 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
349 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_read_data()
371 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
376 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
407 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_write_data()
423 p_stream->m_byte_offset += (OPJ_OFF_T)l_remaining_bytes; in opj_stream_write_data()
463 OPJ_OFF_T opj_stream_read_skip(opj_stream_private_t * p_stream, in opj_stream_read_skip()
[all …]
Dopenjpeg.h130 typedef int64_t OPJ_OFF_T; /* 64-bit file offset type */ typedef
609 typedef OPJ_OFF_T(* opj_stream_skip_fn)(OPJ_OFF_T p_nb_bytes,
615 typedef OPJ_BOOL(* opj_stream_seek_fn)(OPJ_OFF_T p_nb_bytes,
728 OPJ_OFF_T start_pos;
730 OPJ_OFF_T end_ph_pos;
732 OPJ_OFF_T end_pos;
746 OPJ_OFF_T pos;
954 OPJ_OFF_T start_pos;
956 OPJ_OFF_T end_header;
958 OPJ_OFF_T end_pos;
[all …]
Djp2.h181 OPJ_OFF_T j2k_codestream_offset;
182 OPJ_OFF_T jpip_iptr_offset;
Dopenjpeg.c100 OPJ_OFF_T file_length = 0; in opj_get_data_length_from_file()
103 file_length = (OPJ_OFF_T)OPJ_FTELL(p_file); in opj_get_data_length_from_file()
115 static OPJ_OFF_T opj_skip_from_file(OPJ_OFF_T p_nb_bytes, FILE * p_user_data) in opj_skip_from_file()
124 static OPJ_BOOL opj_seek_from_file(OPJ_OFF_T p_nb_bytes, FILE * p_user_data) in opj_seek_from_file()
Dj2k.h477 OPJ_OFF_T m_last_sot_read_pos;
510 OPJ_OFF_T m_tlm_start;
Djp2.c498 const OPJ_OFF_T bleft = opj_stream_get_number_byte_left(cio); in opj_jp2_read_boxhdr()
499 if (bleft > (OPJ_OFF_T)(0xFFFFFFFFU - 8U)) { in opj_jp2_read_boxhdr()
505 assert((OPJ_OFF_T)box->length == bleft + 8); in opj_jp2_read_boxhdr()
1838 OPJ_OFF_T j2k_codestream_exit; in opj_jp2_write_jp2c()
2353 if ((OPJ_OFF_T)l_current_data_size > opj_stream_get_number_byte_left(stream)) { in opj_jp2_read_header_procedure()
3262 OPJ_OFF_T j2k_codestream_exit; in opj_jpip_write_iptr()
3305 OPJ_OFF_T j2k_codestream_exit; in opj_jpip_write_fidx()
3340 OPJ_OFF_T j2k_codestream_exit; in opj_jpip_write_cidx()
3388 OPJ_OFF_T len, lenp;
3425 OPJ_OFF_T len, lenp;
Dj2k.c1004 OPJ_UINT32 type, OPJ_OFF_T pos, OPJ_UINT32 len) ;
1014 … opj_codestream_index_t *cstr_index, OPJ_UINT32 type, OPJ_OFF_T pos,
4741 if ((OPJ_OFF_T)p_j2k->m_specific_param.m_decoder.m_sot_length > in opj_j2k_read_sod()
4797 OPJ_OFF_T l_current_pos = opj_stream_tell(p_stream) - 2; in opj_j2k_read_sod()
7395 OPJ_UINT32 type, OPJ_OFF_T pos, OPJ_UINT32 len) in opj_j2k_add_mhmarker()
7426 … opj_codestream_index_t *cstr_index, OPJ_UINT32 type, OPJ_OFF_T pos, in opj_j2k_add_tlmarker()
8512 OPJ_OFF_T l_stream_pos_backup; in opj_j2k_need_nb_tile_parts_correction()
8594 if (opj_stream_skip(p_stream, (OPJ_OFF_T)(l_tot_len), in opj_j2k_need_nb_tile_parts_correction()
8595 p_manager) != (OPJ_OFF_T)(l_tot_len)) { in opj_j2k_need_nb_tile_parts_correction()
8702 if ((OPJ_OFF_T)l_marker_size > opj_stream_get_number_byte_left(p_stream)) { in opj_j2k_read_tile_header()
[all …]
/external/pdfium/core/fxcodec/jpx/
Djpx_decode_utils.cpp34 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data) { in opj_skip_from_memory()
37 return static_cast<OPJ_OFF_T>(-1); in opj_skip_from_memory()
44 return static_cast<OPJ_OFF_T>(-1); in opj_skip_from_memory()
47 static_cast<std::make_unsigned<OPJ_OFF_T>::type>(nb_bytes); in opj_skip_from_memory()
66 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data) { in opj_seek_from_memory()
77 static_cast<std::make_unsigned<OPJ_OFF_T>::type>(nb_bytes); in opj_seek_from_memory()
Djpx_decode_utils.h33 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
34 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
Djpx_unittest.cpp17 static const OPJ_OFF_T kSkipError = static_cast<OPJ_OFF_T>(-1);
266 EXPECT_EQ(std::numeric_limits<OPJ_OFF_T>::max(), in TEST()
267 opj_skip_from_memory(std::numeric_limits<OPJ_OFF_T>::max(), &dd)); in TEST()
302 opj_skip_from_memory(std::numeric_limits<OPJ_OFF_T>::min(), &dd)); in TEST()
344 opj_seek_from_memory(std::numeric_limits<OPJ_OFF_T>::min(), &dd)); in TEST()
377 EXPECT_TRUE(opj_seek_from_memory(std::numeric_limits<OPJ_OFF_T>::max(), &dd)); in TEST()
/external/ImageMagick/coders/
Djp2.c213 static OPJ_BOOL JP2SeekHandler(OPJ_OFF_T offset,void *context) in JP2SeekHandler()
222 static OPJ_OFF_T JP2SkipHandler(OPJ_OFF_T offset,void *context) in JP2SkipHandler()