Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg20/
Dj2k.c3813 if (l_cp->ppm_markers == NULL) { /* first PPM marker */ in opj_j2k_read_ppm()
3817 l_cp->ppm_markers = (opj_ppx *) opj_calloc(l_newCount, sizeof(opj_ppx)); in opj_j2k_read_ppm()
3818 if (l_cp->ppm_markers == NULL) { in opj_j2k_read_ppm()
3826 new_ppm_markers = (opj_ppx *) opj_realloc(l_cp->ppm_markers, in opj_j2k_read_ppm()
3833 l_cp->ppm_markers = new_ppm_markers; in opj_j2k_read_ppm()
3834 memset(l_cp->ppm_markers + l_cp->ppm_markers_count, 0, in opj_j2k_read_ppm()
3839 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 = (OPJ_BYTE *) opj_malloc(p_header_size); in opj_j2k_read_ppm()
3846 if (l_cp->ppm_markers[l_Z_ppm].m_data == NULL) { in opj_j2k_read_ppm()
3851 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