Lines Matching refs:l_Z_ppm
3786 OPJ_UINT32 l_Z_ppm; in opj_j2k_read_ppm() local
3802 opj_read_bytes(p_header_data, &l_Z_ppm, 1); /* Z_ppm */ in opj_j2k_read_ppm()
3808 OPJ_UINT32 l_newCount = l_Z_ppm + 1U; /* can't overflow, l_Z_ppm is UINT8 */ in opj_j2k_read_ppm()
3817 } else if (l_cp->ppm_markers_count <= l_Z_ppm) { in opj_j2k_read_ppm()
3818 OPJ_UINT32 l_newCount = l_Z_ppm + 1U; /* can't overflow, l_Z_ppm is UINT8 */ in opj_j2k_read_ppm()
3833 if (l_cp->ppm_markers[l_Z_ppm].m_data != NULL) { in opj_j2k_read_ppm()
3835 opj_event_msg(p_manager, EVT_ERROR, "Zppm %u already read\n", l_Z_ppm); 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()
3846 memcpy(l_cp->ppm_markers[l_Z_ppm].m_data, p_header_data, p_header_size); in opj_j2k_read_ppm()