Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg20/
Dj2k.c3807 if (l_cp->ppm_markers == NULL) { /* first PPM marker */ in opj_j2k_read_ppm()
3811 l_cp->ppm_markers = (opj_ppx *) opj_calloc(l_newCount, sizeof(opj_ppx)); in opj_j2k_read_ppm()
3812 if (l_cp->ppm_markers == NULL) { in opj_j2k_read_ppm()
3820 new_ppm_markers = (opj_ppx *) opj_realloc(l_cp->ppm_markers, in opj_j2k_read_ppm()
3827 l_cp->ppm_markers = new_ppm_markers; in opj_j2k_read_ppm()
3828 memset(l_cp->ppm_markers + l_cp->ppm_markers_count, 0, in opj_j2k_read_ppm()
3833 if (l_cp->ppm_markers[l_Z_ppm].m_data != NULL) { in opj_j2k_read_ppm()
3839 l_cp->ppm_markers[l_Z_ppm].m_data = (OPJ_BYTE *) opj_malloc(p_header_size); in opj_j2k_read_ppm()
3840 if (l_cp->ppm_markers[l_Z_ppm].m_data == NULL) { in opj_j2k_read_ppm()
3845 l_cp->ppm_markers[l_Z_ppm].m_data_size = p_header_size; in opj_j2k_read_ppm()
[all …]
Dj2k.h370 opj_ppx* ppm_markers; member