Home
last modified time | relevance | path

Searched refs:icc_profile_buf (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dimage.c93 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()
Djp2.c797 opj_write_bytes(l_current_colr_ptr, jp2->color.icc_profile_buf[i], 1); in opj_jp2_write_colr()
1371 jp2->color.icc_profile_buf = (OPJ_BYTE*) opj_calloc(1,(size_t)icc_len); in opj_jp2_read_colr()
1372 if (!jp2->color.icc_profile_buf) in opj_jp2_read_colr()
1382 jp2->color.icc_profile_buf[it_icc_value] = (OPJ_BYTE) l_value; in opj_jp2_read_colr()
1441 if(jp2->color.icc_profile_buf) { in opj_jp2_decode()
1442 p_image->icc_profile_buf = jp2->color.icc_profile_buf; in opj_jp2_decode()
1444 jp2->color.icc_profile_buf = NULL; in opj_jp2_decode()
2633 if (jp2->color.icc_profile_buf) { in opj_jp2_destroy()
2634 opj_free(jp2->color.icc_profile_buf); in opj_jp2_destroy()
2635 jp2->color.icc_profile_buf = 00; in opj_jp2_destroy()
[all …]
Djp2.h136 OPJ_BYTE *icc_profile_buf; member
Dopenjpeg.h677 OPJ_BYTE *icc_profile_buf; member
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_opj.cpp362 cmsOpenProfileFromMem(image->icc_profile_buf, image->icc_profile_len); in color_apply_icc_profile()
505 row = (int*)image->icc_profile_buf; in color_apply_conversion()
689 if(image->icc_profile_buf) { in Init()
690 FX_Free(image->icc_profile_buf); in Init()
691 image->icc_profile_buf = NULL; in Init()