Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg20/
Dcio.c153 opj_stream_private_t * l_stream = 00; in opj_stream_create() local
154 l_stream = (opj_stream_private_t*) opj_calloc(1,sizeof(opj_stream_private_t)); in opj_stream_create()
155 if (! l_stream) { in opj_stream_create()
159 l_stream->m_buffer_size = p_buffer_size; in opj_stream_create()
160 l_stream->m_stored_data = (OPJ_BYTE *) opj_malloc(p_buffer_size); in opj_stream_create()
161 if (! l_stream->m_stored_data) { in opj_stream_create()
162 opj_free(l_stream); in opj_stream_create()
166 l_stream->m_current_data = l_stream->m_stored_data; in opj_stream_create()
169 l_stream->m_status |= opj_stream_e_input; in opj_stream_create()
170 l_stream->m_opj_skip = opj_stream_read_skip; in opj_stream_create()
[all …]
Dopenjpeg.c383 opj_stream_private_t* l_stream = (opj_stream_private_t*) p_stream; in opj_read_header() local
391 return l_codec->m_codec_data.m_decompression.opj_read_header( l_stream, in opj_read_header()
406 opj_stream_private_t * l_stream = (opj_stream_private_t *) p_stream; in opj_decode() local
413 l_stream, in opj_decode()
454 opj_stream_private_t * l_stream = (opj_stream_private_t *) p_stream; in opj_read_tile_header() local
467 l_stream, in opj_read_tile_header()
482 opj_stream_private_t * l_stream = (opj_stream_private_t *) p_stream; in opj_decode_tile_data() local
492 l_stream, in opj_decode_tile_data()
505 opj_stream_private_t * l_stream = (opj_stream_private_t *) p_stream; in opj_get_decoded_tile() local
512 l_stream, in opj_get_decoded_tile()
[all …]
/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpx_opj.cpp124 opj_stream_t* l_stream = 00; in fx_opj_stream_create_memory_stream() local
128 l_stream = opj_stream_create(p_size, p_is_read_stream); in fx_opj_stream_create_memory_stream()
129 if (!l_stream) { in fx_opj_stream_create_memory_stream()
132 opj_stream_set_user_data(l_stream, data, nullptr); in fx_opj_stream_create_memory_stream()
133 opj_stream_set_user_data_length(l_stream, data->src_size); in fx_opj_stream_create_memory_stream()
134 opj_stream_set_read_function(l_stream, opj_read_from_memory); in fx_opj_stream_create_memory_stream()
135 opj_stream_set_write_function(l_stream, opj_write_from_memory); in fx_opj_stream_create_memory_stream()
136 opj_stream_set_skip_function(l_stream, opj_skip_from_memory); in fx_opj_stream_create_memory_stream()
137 opj_stream_set_seek_function(l_stream, opj_seek_from_memory); in fx_opj_stream_create_memory_stream()
138 return l_stream; in fx_opj_stream_create_memory_stream()
[all …]