Home
last modified time | relevance | path

Searched refs:l_stream (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dcio.c153 opj_stream_private_t * l_stream = 00; in opj_stream_create() local
154 l_stream = (opj_stream_private_t*) opj_malloc(sizeof(opj_stream_private_t)); in opj_stream_create()
155 if (! l_stream) { in opj_stream_create()
159 memset(l_stream,0,sizeof(opj_stream_private_t)); in opj_stream_create()
160 l_stream->m_buffer_size = p_buffer_size; in opj_stream_create()
161 l_stream->m_stored_data = (OPJ_BYTE *) opj_malloc(p_buffer_size); in opj_stream_create()
162 if (! l_stream->m_stored_data) { in opj_stream_create()
163 opj_free(l_stream); in opj_stream_create()
167 l_stream->m_current_data = l_stream->m_stored_data; in opj_stream_create()
170 l_stream->m_status |= opj_stream_e_input; in opj_stream_create()
[all …]
Dopenjpeg.c384 opj_stream_private_t* l_stream = (opj_stream_private_t*) p_stream; in opj_read_header() local
392 return l_codec->m_codec_data.m_decompression.opj_read_header( l_stream, in opj_read_header()
407 opj_stream_private_t * l_stream = (opj_stream_private_t *) p_stream; in opj_decode() local
414 l_stream, in opj_decode()
455 opj_stream_private_t * l_stream = (opj_stream_private_t *) p_stream; in opj_read_tile_header() local
468 l_stream, in opj_read_tile_header()
483 opj_stream_private_t * l_stream = (opj_stream_private_t *) p_stream; in opj_decode_tile_data() local
493 l_stream, in opj_decode_tile_data()
506 opj_stream_private_t * l_stream = (opj_stream_private_t *) p_stream; in opj_get_decoded_tile() local
513 l_stream, in opj_get_decoded_tile()
[all …]
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_opj.cpp87 opj_stream_t* l_stream = 00; in fx_opj_stream_create_memory_stream() local
91 l_stream = opj_stream_create(p_size, p_is_read_stream); in fx_opj_stream_create_memory_stream()
92 if (! l_stream) { in fx_opj_stream_create_memory_stream()
95 opj_stream_set_user_data_v3(l_stream, data, NULL); in fx_opj_stream_create_memory_stream()
96 opj_stream_set_user_data_length(l_stream, data->src_size); in fx_opj_stream_create_memory_stream()
97 opj_stream_set_read_function(l_stream, (opj_stream_read_fn) opj_read_from_memory); in fx_opj_stream_create_memory_stream()
98 opj_stream_set_write_function(l_stream, (opj_stream_write_fn) opj_write_from_memory); in fx_opj_stream_create_memory_stream()
99 opj_stream_set_skip_function(l_stream, (opj_stream_skip_fn) opj_skip_from_memory); in fx_opj_stream_create_memory_stream()
100 opj_stream_set_seek_function(l_stream, (opj_stream_seek_fn) opj_seek_from_memory); in fx_opj_stream_create_memory_stream()
101 return l_stream; in fx_opj_stream_create_memory_stream()
[all …]