Searched refs:icc_profile_buf (Results 1 – 5 of 5) sorted by relevance
93 if(image->icc_profile_buf) { in opj_image_destroy()94 opj_free(image->icc_profile_buf); in opj_image_destroy()188 p_image_dest->icc_profile_buf = (OPJ_BYTE*)opj_malloc(p_image_dest->icc_profile_len); in opj_copy_image_header()189 if (!p_image_dest->icc_profile_buf){ in opj_copy_image_header()190 p_image_dest->icc_profile_buf = NULL; in opj_copy_image_header()194 memcpy( p_image_dest->icc_profile_buf, in opj_copy_image_header()195 p_image_src->icc_profile_buf, in opj_copy_image_header()199 p_image_dest->icc_profile_buf = NULL; in opj_copy_image_header()
741 opj_write_bytes(l_current_colr_ptr, jp2->color.icc_profile_buf[i], 1); in opj_jp2_write_colr()1284 jp2->color.icc_profile_buf = (unsigned char*)cielab; in opj_jp2_read_colr()1296 jp2->color.icc_profile_buf = (OPJ_BYTE*) opj_malloc((size_t)icc_len); in opj_jp2_read_colr()1297 if (!jp2->color.icc_profile_buf) in opj_jp2_read_colr()1302 memset(jp2->color.icc_profile_buf, 0, (size_t)icc_len * sizeof(OPJ_BYTE)); in opj_jp2_read_colr()1308 jp2->color.icc_profile_buf[it_icc_value] = (OPJ_BYTE) l_value; in opj_jp2_read_colr()1368 if(jp2->color.icc_profile_buf) { in opj_jp2_decode()1369 p_image->icc_profile_buf = jp2->color.icc_profile_buf; in opj_jp2_decode()1371 jp2->color.icc_profile_buf = NULL; in opj_jp2_decode()2457 if (jp2->color.icc_profile_buf) { in opj_jp2_destroy()[all …]
136 OPJ_BYTE *icc_profile_buf; member
597 OPJ_BYTE *icc_profile_buf; member
327 cmsOpenProfileFromMem(image->icc_profile_buf, image->icc_profile_len); in color_apply_icc_profile()470 row = (int*)image->icc_profile_buf; in color_apply_conversion()653 if(image->icc_profile_buf && !image->useColorSpace) { in Init()654 FX_Free(image->icc_profile_buf); in Init()655 image->icc_profile_buf = NULL; in Init()