Home
last modified time | relevance | path

Searched refs:l_tcd (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dtcd.c175 opj_tcd_t *l_tcd = 00; in opj_tcd_create() local
178 l_tcd = (opj_tcd_t*) opj_malloc(sizeof(opj_tcd_t)); in opj_tcd_create()
179 if (!l_tcd) { in opj_tcd_create()
182 memset(l_tcd,0,sizeof(opj_tcd_t)); in opj_tcd_create()
184 l_tcd->m_is_decoder = p_is_decoder ? 1 : 0; in opj_tcd_create()
186 l_tcd->tcd_image = (opj_tcd_image_t*)opj_malloc(sizeof(opj_tcd_image_t)); in opj_tcd_create()
187 if (!l_tcd->tcd_image) { in opj_tcd_create()
188 opj_free(l_tcd); in opj_tcd_create()
191 memset(l_tcd->tcd_image,0,sizeof(opj_tcd_image_t)); in opj_tcd_create()
193 return l_tcd; in opj_tcd_create()
Dj2k.c4752 opj_tcd_t * l_tcd = 00;
4765 l_tcd = opj_tcd_create(OPJ_TRUE);
4766 if (l_tcd == 00) {
4773 if (! opj_tcd_init_decode_tile(l_tcd, i)) {
4774 opj_tcd_destroy(l_tcd);
4779 … l_success = opj_tcd_decode_tile(l_tcd, l_tcp->m_data, l_tcp->m_data_size, i, p_j2k->cstr_index);
4792 opj_tcd_destroy(l_tcd);
9758 opj_tcd_t * l_tcd = 00;
9767 l_tcd = p_j2k->m_tcd;
9773 if (! opj_tcd_copy_tile_data(l_tcd,p_data,p_data_size)) {
[all …]