/external/pdfium/third_party/libopenjpeg20/ |
cio.h | 151 OPJ_SIZE_T m_bytes_in_buffer; 161 OPJ_SIZE_T m_buffer_size; 274 OPJ_SIZE_T opj_stream_read_data (opj_stream_private_t * p_stream,OPJ_BYTE * p_buffer, OPJ_SIZE_T p_size, struct opj_event_mgr * p_event_mgr); 284 OPJ_SIZE_T opj_stream_write_data (opj_stream_private_t * p_stream,const OPJ_BYTE * p_buffer, OPJ_SIZE_T p_size, struct opj_event_mgr * p_event_mgr); 375 OPJ_SIZE_T opj_stream_default_read (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_data); 380 OPJ_SIZE_T opj_stream_default_write (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_data) [all...] |
cio.c | 151 opj_stream_t* OPJ_CALLCONV opj_stream_create(OPJ_SIZE_T p_buffer_size,OPJ_BOOL l_is_input) 266 OPJ_SIZE_T opj_stream_read_data (opj_stream_private_t * p_stream,OPJ_BYTE * p_buffer, OPJ_SIZE_T p_size, opj_event_mgr_t * p_event_mgr) 268 OPJ_SIZE_T l_read_nb_bytes = 0; 285 return l_read_nb_bytes ? l_read_nb_bytes : (OPJ_SIZE_T)-1; 311 if (p_stream->m_bytes_in_buffer == (OPJ_SIZE_T)-1) { 318 return l_read_nb_bytes ? l_read_nb_bytes : (OPJ_SIZE_T)-1; 343 if (p_stream->m_bytes_in_buffer == (OPJ_SIZE_T)-1) { 350 return l_read_nb_bytes ? l_read_nb_bytes : (OPJ_SIZE_T)-1; 373 OPJ_SIZE_T opj_stream_write_data (opj_stream_private_t * p_stream [all...] |
bio.c | 84 if ((OPJ_SIZE_T)bio->bp >= (OPJ_SIZE_T)bio->end) { 94 if ((OPJ_SIZE_T)bio->bp >= (OPJ_SIZE_T)bio->end) {
|
mct.c | 82 OPJ_SIZE_T i; 83 const OPJ_SIZE_T len = n; 120 OPJ_SIZE_T i; 121 const OPJ_SIZE_T len = n; 147 OPJ_SIZE_T i; 148 const OPJ_SIZE_T len = n; 214 OPJ_SIZE_T i; 215 const OPJ_SIZE_T len = n;
|
openjpeg.h | 133 typedef size_t OPJ_SIZE_T; 593 typedef OPJ_SIZE_T (* opj_stream_read_fn) (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_data) ; 598 typedef OPJ_SIZE_T (* opj_stream_write_fn) (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_data) ; [all...] |
dwt.c | 54 OPJ_SIZE_T mem_count; 108 static void opj_dwt_encode_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas); 113 static void opj_dwt_decode_1_(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas); 117 static void opj_dwt_encode_1_real(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas); 128 void(*p_function)(OPJ_INT32 *, OPJ_SIZE_T, OPJ_INT32, OPJ_INT32, OPJ_INT32)); 291 static void opj_dwt_encode_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas) { 312 static void opj_dwt_decode_1_(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas) { 340 static void opj_dwt_encode_1_real(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas) { 393 static INLINE OPJ_BOOL opj_dwt_encode_procedure(const opj_tcd_tilecomp_t * tilec, void(*p_function)(OPJ_INT32 *, OPJ_SIZE_T, OPJ_INT32, OPJ_INT32, OPJ_INT32)) 403 OPJ_SIZE_T l_data_count [all...] |
openjpeg.c | 91 static OPJ_SIZE_T opj_read_from_file (void * p_buffer, OPJ_SIZE_T p_nb_bytes, FILE * p_file) 93 OPJ_SIZE_T l_nb_read = fread(p_buffer,1,p_nb_bytes,p_file); 94 return l_nb_read ? l_nb_read : (OPJ_SIZE_T)-1; 108 static OPJ_SIZE_T opj_write_from_file (void * p_buffer, OPJ_SIZE_T p_nb_bytes, FILE * p_file) 927 OPJ_SIZE_T p_size,
|
t2.c | [all...] |
j2k.c | [all...] |
tcd.c | 110 static INLINE OPJ_BOOL opj_tcd_init_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no, OPJ_BOOL isEncoder, OPJ_FLOAT32 fraction, OPJ_SIZE_T sizeof_block, opj_event_mgr_t* manager); [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
codec_int.h | 18 #include "third_party/libopenjpeg20/openjpeg.h" // For OPJ_SIZE_T. 408 DecodeData(unsigned char* src_data, OPJ_SIZE_T src_size) 411 OPJ_SIZE_T src_size; 412 OPJ_SIZE_T offset; 418 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, 419 OPJ_SIZE_T nb_bytes, 421 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, 422 OPJ_SIZE_T nb_bytes,
|
fx_codec_jpx_opj.cpp | 27 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, 28 OPJ_SIZE_T nb_bytes, 38 OPJ_SIZE_T bufferLength = srcData->src_size - srcData->offset; 39 OPJ_SIZE_T readlength = nb_bytes < bufferLength ? nb_bytes : bufferLength; 44 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, 45 OPJ_SIZE_T nb_bytes, 55 OPJ_SIZE_T bufferLength = srcData->src_size - srcData->offset; 56 OPJ_SIZE_T writeLength = nb_bytes < bufferLength ? nb_bytes : bufferLength; 78 std::numeric_limits<OPJ_SIZE_T>::max() - srcData->offset) { 81 OPJ_SIZE_T checkedNbBytes = static_cast<OPJ_SIZE_T>(unsignedNbBytes) [all...] |
fx_codec_jpx_unittest.cpp | 14 static const OPJ_SIZE_T kReadError = static_cast<OPJ_SIZE_T>(-1); 15 static const OPJ_SIZE_T kWriteError = static_cast<OPJ_SIZE_T>(-1); 174 buffer, std::numeric_limits<OPJ_SIZE_T>::max(), &dd));
|
/external/ImageMagick/coders/ |
jp2.c | 202 static OPJ_SIZE_T JP2ReadHandler(void *buffer,OPJ_SIZE_T length,void *context) 213 return((OPJ_SIZE_T) -1); 214 return((OPJ_SIZE_T) count); 245 static OPJ_SIZE_T JP2WriteHandler(void *buffer,OPJ_SIZE_T length,void *context) 255 return((OPJ_SIZE_T) count); [all...] |