Searched refs:icc_profile_buf (Results 1 – 6 of 6) sorted by relevance
108 if (image->icc_profile_buf) { in opj_image_destroy()109 opj_free(image->icc_profile_buf); in opj_image_destroy()211 p_image_dest->icc_profile_buf = (OPJ_BYTE*)opj_malloc( in opj_copy_image_header()213 if (!p_image_dest->icc_profile_buf) { in opj_copy_image_header()214 p_image_dest->icc_profile_buf = NULL; in opj_copy_image_header()218 memcpy(p_image_dest->icc_profile_buf, in opj_copy_image_header()219 p_image_src->icc_profile_buf, in opj_copy_image_header()222 p_image_dest->icc_profile_buf = NULL; in opj_copy_image_header()
864 opj_write_bytes(l_current_colr_ptr, jp2->color.icc_profile_buf[i], 1); in opj_jp2_write_colr()1572 jp2->color.icc_profile_buf = (OPJ_BYTE*)cielab; in opj_jp2_read_colr()1582 jp2->color.icc_profile_buf = (OPJ_BYTE*) opj_calloc(1, (size_t)icc_len); in opj_jp2_read_colr()1583 if (!jp2->color.icc_profile_buf) { in opj_jp2_read_colr()1591 jp2->color.icc_profile_buf[it_icc_value] = (OPJ_BYTE) l_value; in opj_jp2_read_colr()1665 if (jp2->color.icc_profile_buf) { in opj_jp2_decode()1666 p_image->icc_profile_buf = jp2->color.icc_profile_buf; in opj_jp2_decode()1668 jp2->color.icc_profile_buf = NULL; in opj_jp2_decode()3041 if (jp2->color.icc_profile_buf) { in opj_jp2_destroy()3042 opj_free(jp2->color.icc_profile_buf); in opj_jp2_destroy()[all …]
129 OPJ_BYTE *icc_profile_buf; member
685 OPJ_BYTE *icc_profile_buf; member
476 if (m_Image->icc_profile_buf) { in StartDecode()481 opj_free(m_Image->icc_profile_buf); in StartDecode()483 free(m_Image->icc_profile_buf); in StartDecode()485 m_Image->icc_profile_buf = nullptr; in StartDecode()
431 if (jp2_image->icc_profile_buf != (unsigned char *) NULL) in ReadJP2Image()436 profile=BlobToStringInfo(jp2_image->icc_profile_buf, in ReadJP2Image()