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,
732 OPJ_OFF_T start_pos;
734 OPJ_OFF_T end_ph_pos;
736 OPJ_OFF_T end_pos;
750 OPJ_OFF_T pos;
958 OPJ_OFF_T start_pos;
960 OPJ_OFF_T end_header;
962 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()
1839 OPJ_OFF_T j2k_codestream_exit; in opj_jp2_write_jp2c()
2354 if ((OPJ_OFF_T)l_current_data_size > opj_stream_get_number_byte_left(stream)) { in opj_jp2_read_header_procedure()
3263 OPJ_OFF_T j2k_codestream_exit; in opj_jpip_write_iptr()
3306 OPJ_OFF_T j2k_codestream_exit; in opj_jpip_write_fidx()
3341 OPJ_OFF_T j2k_codestream_exit; in opj_jpip_write_cidx()
3389 OPJ_OFF_T len, lenp;
3426 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,
4730 if ((OPJ_OFF_T)p_j2k->m_specific_param.m_decoder.m_sot_length > in opj_j2k_read_sod()
4786 OPJ_OFF_T l_current_pos = opj_stream_tell(p_stream) - 2; in opj_j2k_read_sod()
7382 OPJ_UINT32 type, OPJ_OFF_T pos, OPJ_UINT32 len) in opj_j2k_add_mhmarker()
7413 … opj_codestream_index_t *cstr_index, OPJ_UINT32 type, OPJ_OFF_T pos, in opj_j2k_add_tlmarker()
8499 OPJ_OFF_T l_stream_pos_backup; in opj_j2k_need_nb_tile_parts_correction()
8581 if (opj_stream_skip(p_stream, (OPJ_OFF_T)(l_tot_len), in opj_j2k_need_nb_tile_parts_correction()
8582 p_manager) != (OPJ_OFF_T)(l_tot_len)) { in opj_j2k_need_nb_tile_parts_correction()
8689 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/codec/
Dcodec_int.h37 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
38 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
Dfx_codec_jpx_unittest.cpp14 static const OPJ_OFF_T kSkipError = static_cast<OPJ_OFF_T>(-1);
286 EXPECT_EQ(std::numeric_limits<OPJ_OFF_T>::max(), in TEST()
287 opj_skip_from_memory(std::numeric_limits<OPJ_OFF_T>::max(), &dd)); in TEST()
322 opj_skip_from_memory(std::numeric_limits<OPJ_OFF_T>::min(), &dd)); in TEST()
364 opj_seek_from_memory(std::numeric_limits<OPJ_OFF_T>::min(), &dd)); in TEST()
397 EXPECT_TRUE(opj_seek_from_memory(std::numeric_limits<OPJ_OFF_T>::max(), &dd)); in TEST()
Dfx_codec_jpx_opj.cpp232 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data) { in opj_skip_from_memory()
235 return static_cast<OPJ_OFF_T>(-1); in opj_skip_from_memory()
242 return static_cast<OPJ_OFF_T>(-1); in opj_skip_from_memory()
264 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data) { in opj_seek_from_memory()
/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()