Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dj2k.c3505 l_cp->ppm_buffer = (OPJ_BYTE *) opj_malloc(l_cp->ppm_len); in j2k_read_ppm_v2()
3506 if (l_cp->ppm_buffer == 00) { in j2k_read_ppm_v2()
3510 memset(l_cp->ppm_buffer,0,l_cp->ppm_len); in j2k_read_ppm_v2()
3512 l_cp->ppm_data = l_cp->ppm_buffer; in j2k_read_ppm_v2()
3524 … OPJ_BYTE *new_ppm_buffer = (OPJ_BYTE *) opj_realloc(l_cp->ppm_buffer, l_cp->ppm_len); in j2k_read_ppm_v2()
3526 opj_free(l_cp->ppm_buffer); in j2k_read_ppm_v2()
3527 l_cp->ppm_buffer = NULL; in j2k_read_ppm_v2()
3533 l_cp->ppm_buffer = new_ppm_buffer; in j2k_read_ppm_v2()
3534 memset(l_cp->ppm_buffer+l_cp->ppm_data_size,0,l_N_ppm); in j2k_read_ppm_v2()
3535 l_cp->ppm_data = l_cp->ppm_buffer; in j2k_read_ppm_v2()
[all …]
Dj2k.h372 OPJ_BYTE *ppm_buffer; member