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.h141 OPJ_OFF_T (* m_opj_skip)(struct opj_stream_private * ,OPJ_OFF_T , struct opj_event_mgr *);
146 OPJ_BOOL (* m_opj_seek) (struct opj_stream_private * , OPJ_OFF_T , struct opj_event_mgr *);
156 OPJ_OFF_T m_byte_offset;
301 OPJ_OFF_T opj_stream_skip (opj_stream_private_t * p_stream,OPJ_OFF_T p_size, struct opj_event_mgr *…
310 OPJ_OFF_T opj_stream_tell (const opj_stream_private_t * p_stream);
320 OPJ_OFF_T opj_stream_get_number_byte_left (const opj_stream_private_t * p_stream);
329 OPJ_OFF_T opj_stream_write_skip (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, struct opj_even…
338 OPJ_OFF_T opj_stream_read_skip (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, struct opj_event…
347 OPJ_BOOL opj_stream_read_seek (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, struct opj_event_…
356 OPJ_BOOL opj_stream_write_seek (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, struct opj_event…
[all …]
Dcio.c274 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_read_data()
283 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
295 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
327 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
335 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_read_data()
358 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
364 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
395 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_write_data()
411 p_stream->m_byte_offset += (OPJ_OFF_T)l_remaining_bytes; in opj_stream_write_data()
450 OPJ_OFF_T opj_stream_read_skip (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, opj_event_mgr_t … in opj_stream_read_skip()
[all …]
Dopenjpeg.h130 typedef int64_t OPJ_OFF_T; /* 64-bit file offset type */ typedef
603 typedef OPJ_OFF_T (* opj_stream_skip_fn) (OPJ_OFF_T p_nb_bytes, void * p_user_data) ;
608 typedef OPJ_BOOL (* opj_stream_seek_fn) (OPJ_OFF_T p_nb_bytes, void * p_user_data) ;
723 OPJ_OFF_T start_pos;
725 OPJ_OFF_T end_ph_pos;
727 OPJ_OFF_T end_pos;
741 OPJ_OFF_T pos;
950 OPJ_OFF_T start_pos;
952 OPJ_OFF_T end_header;
954 OPJ_OFF_T end_pos;
[all …]
Djp2.h189 OPJ_OFF_T j2k_codestream_offset;
190 OPJ_OFF_T jpip_iptr_offset;
Dopenjpeg.c99 OPJ_OFF_T file_length = 0; in opj_get_data_length_from_file()
102 file_length = (OPJ_OFF_T)OPJ_FTELL(p_file); in opj_get_data_length_from_file()
113 static OPJ_OFF_T opj_skip_from_file (OPJ_OFF_T p_nb_bytes, FILE * p_user_data) in opj_skip_from_file()
122 static OPJ_BOOL opj_seek_from_file (OPJ_OFF_T p_nb_bytes, FILE * p_user_data) in opj_seek_from_file()
Dj2k.h491 OPJ_OFF_T m_last_sot_read_pos;
521 OPJ_OFF_T m_tlm_start;
Djp2.c486 const OPJ_OFF_T bleft = opj_stream_get_number_byte_left(cio); in opj_jp2_read_boxhdr()
488 assert( (OPJ_OFF_T)box->length == bleft ); in opj_jp2_read_boxhdr()
1691 OPJ_OFF_T j2k_codestream_exit; in opj_jp2_write_jp2c()
2161 if ((OPJ_OFF_T)l_current_data_size > opj_stream_get_number_byte_left(stream)) { in opj_jp2_read_header_procedure()
2990 OPJ_OFF_T j2k_codestream_exit; in opj_jpip_write_iptr()
3032 OPJ_OFF_T j2k_codestream_exit; in opj_jpip_write_fidx()
3064 OPJ_OFF_T j2k_codestream_exit; in opj_jpip_write_cidx()
3108 OPJ_OFF_T len, lenp;
3144 OPJ_OFF_T len, lenp;
Dj2k.c947 static OPJ_BOOL opj_j2k_add_mhmarker(opj_codestream_index_t *cstr_index, OPJ_UINT32 type, OPJ_OFF_T
956 …OPJ_UINT32 tileno, opj_codestream_index_t *cstr_index, OPJ_UINT32 type, OPJ_OFF_T pos, OPJ_UINT32 …
4348 …if ((OPJ_OFF_T)p_j2k->m_specific_param.m_decoder.m_sot_length > opj_stream_get_number_byte_left(p_… in opj_j2k_read_sod()
4382 OPJ_OFF_T l_current_pos = opj_stream_tell(p_stream) - 2; in opj_j2k_read_sod()
6646 static OPJ_BOOL opj_j2k_add_mhmarker(opj_codestream_index_t *cstr_index, OPJ_UINT32 type, OPJ_OFF_T in opj_j2k_add_mhmarker()
6674 …OPJ_UINT32 tileno, opj_codestream_index_t *cstr_index, OPJ_UINT32 type, OPJ_OFF_T pos, OPJ_UINT32 … in opj_j2k_add_tlmarker()
7681 OPJ_OFF_T l_stream_pos_backup; in opj_j2k_need_nb_tile_parts_correction()
7756 if (opj_stream_skip(p_stream, (OPJ_OFF_T)(l_tot_len), p_manager) != (OPJ_OFF_T)(l_tot_len)) { in opj_j2k_need_nb_tile_parts_correction()
7859 … if ((OPJ_OFF_T)l_marker_size > opj_stream_get_number_byte_left(p_stream)) { in opj_j2k_read_tile_header()
10614 OPJ_OFF_T l_tlm_position, l_current_position; in opj_j2k_write_updated_tlm()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_unittest.cpp13 static const OPJ_OFF_T kSkipError = static_cast<OPJ_OFF_T>(-1);
352 EXPECT_EQ(std::numeric_limits<OPJ_OFF_T>::max(), in TEST()
353 opj_skip_from_memory(std::numeric_limits<OPJ_OFF_T>::max(), &dd)); in TEST()
388 opj_skip_from_memory(std::numeric_limits<OPJ_OFF_T>::min(), &dd)); in TEST()
430 opj_seek_from_memory(std::numeric_limits<OPJ_OFF_T>::min(), &dd)); in TEST()
463 EXPECT_TRUE(opj_seek_from_memory(std::numeric_limits<OPJ_OFF_T>::max(), &dd)); in TEST()
Dcodec_int.h424 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
425 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
Dfx_codec_jpx_opj.cpp61 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data) { in opj_skip_from_memory()
92 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data) { in opj_seek_from_memory()
/external/ImageMagick/coders/
Djp2.c212 static OPJ_BOOL JP2SeekHandler(OPJ_OFF_T offset,void *context) in JP2SeekHandler()
221 static OPJ_OFF_T JP2SkipHandler(OPJ_OFF_T offset,void *context) in JP2SkipHandler()