Home
last modified time | relevance | path

Searched refs:p_buffer (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dcio.c47 void opj_write_bytes_BE(OPJ_BYTE * p_buffer, OPJ_UINT32 p_value, in opj_write_bytes_BE() argument
55 memcpy(p_buffer, l_data_ptr, p_nb_bytes); in opj_write_bytes_BE()
58 void opj_write_bytes_LE(OPJ_BYTE * p_buffer, OPJ_UINT32 p_value, in opj_write_bytes_LE() argument
67 *(p_buffer++) = *(l_data_ptr--); in opj_write_bytes_LE()
71 void opj_read_bytes_BE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, in opj_read_bytes_BE() argument
79 memcpy(l_data_ptr + sizeof(OPJ_UINT32) - p_nb_bytes, p_buffer, p_nb_bytes); in opj_read_bytes_BE()
82 void opj_read_bytes_LE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, in opj_read_bytes_LE() argument
92 *(l_data_ptr--) = *(p_buffer++); in opj_read_bytes_LE()
96 void opj_write_double_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value) in opj_write_double_BE() argument
99 memcpy(p_buffer, l_data_ptr, sizeof(OPJ_FLOAT64)); in opj_write_double_BE()
[all …]
Dcio.h176 void opj_write_bytes_BE(OPJ_BYTE * p_buffer, OPJ_UINT32 p_value,
186 void opj_read_bytes_BE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value,
196 void opj_write_bytes_LE(OPJ_BYTE * p_buffer, OPJ_UINT32 p_value,
206 void opj_read_bytes_LE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value,
215 void opj_write_double_LE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value);
222 void opj_write_double_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value);
229 void opj_read_double_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value);
236 void opj_read_double_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value);
243 void opj_read_float_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value);
250 void opj_read_float_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value);
[all …]
Dopenjpeg.c91 static OPJ_SIZE_T opj_read_from_file(void * p_buffer, OPJ_SIZE_T p_nb_bytes, in opj_read_from_file() argument
94 OPJ_SIZE_T l_nb_read = fread(p_buffer, 1, p_nb_bytes, p_file); in opj_read_from_file()
109 static OPJ_SIZE_T opj_write_from_file(void * p_buffer, OPJ_SIZE_T p_nb_bytes, in opj_write_from_file() argument
112 return fwrite(p_buffer, 1, p_nb_bytes, p_file); in opj_write_from_file()
Dopenjpeg.h597 typedef OPJ_SIZE_T(* opj_stream_read_fn)(void * p_buffer, OPJ_SIZE_T p_nb_bytes,
603 typedef OPJ_SIZE_T(* opj_stream_write_fn)(void * p_buffer,
/external/pdfium/core/fxcodec/codec/
Dcodec_int.h34 OPJ_SIZE_T opj_read_from_memory(void* p_buffer,
Dfx_codec_jpx_opj.cpp214 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, in opj_read_from_memory() argument
227 memcpy(p_buffer, &srcData->src_data[srcData->offset], readlength); in opj_read_from_memory()