Searched refs:ppm_markers (Results 1 – 2 of 2) sorted by relevance
3535 if (l_cp->ppm_markers == NULL) { /* first PPM marker */ in opj_j2k_read_ppm()3539 l_cp->ppm_markers = (opj_ppx *) opj_calloc(l_newCount, sizeof(opj_ppx)); in opj_j2k_read_ppm()3540 if (l_cp->ppm_markers == NULL) { in opj_j2k_read_ppm()3548 new_ppm_markers = (opj_ppx *) opj_realloc(l_cp->ppm_markers, l_newCount * sizeof(opj_ppx)); in opj_j2k_read_ppm()3554 l_cp->ppm_markers = new_ppm_markers; in opj_j2k_read_ppm()3555 …memset(l_cp->ppm_markers + l_cp->ppm_markers_count, 0, (l_newCount - l_cp->ppm_markers_count) * si… in opj_j2k_read_ppm()3559 if (l_cp->ppm_markers[l_Z_ppm].m_data != NULL) { in opj_j2k_read_ppm()3565 l_cp->ppm_markers[l_Z_ppm].m_data = opj_malloc(p_header_size); in opj_j2k_read_ppm()3566 if (l_cp->ppm_markers[l_Z_ppm].m_data == NULL) { in opj_j2k_read_ppm()3571 l_cp->ppm_markers[l_Z_ppm].m_data_size = p_header_size; in opj_j2k_read_ppm()[all …]
377 opj_ppx* ppm_markers; member