Searched refs:ppm_markers (Results 1 – 2 of 2) sorted by relevance
3541 if (l_cp->ppm_markers == NULL) { /* first PPM marker */ in opj_j2k_read_ppm()3545 l_cp->ppm_markers = (opj_ppx *) opj_calloc(l_newCount, sizeof(opj_ppx)); in opj_j2k_read_ppm()3546 if (l_cp->ppm_markers == NULL) { in opj_j2k_read_ppm()3554 new_ppm_markers = (opj_ppx *) opj_realloc(l_cp->ppm_markers, l_newCount * sizeof(opj_ppx)); in opj_j2k_read_ppm()3560 l_cp->ppm_markers = new_ppm_markers; in opj_j2k_read_ppm()3561 …memset(l_cp->ppm_markers + l_cp->ppm_markers_count, 0, (l_newCount - l_cp->ppm_markers_count) * si… in opj_j2k_read_ppm()3565 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 = opj_malloc(p_header_size); in opj_j2k_read_ppm()3572 if (l_cp->ppm_markers[l_Z_ppm].m_data == NULL) { in opj_j2k_read_ppm()3577 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