Lines Matching refs:icc_profile_buf
864 opj_write_bytes(l_current_colr_ptr, jp2->color.icc_profile_buf[i], 1); in opj_jp2_write_colr()
1573 jp2->color.icc_profile_buf = (OPJ_BYTE*)cielab; in opj_jp2_read_colr()
1583 jp2->color.icc_profile_buf = (OPJ_BYTE*) opj_calloc(1, (size_t)icc_len); in opj_jp2_read_colr()
1584 if (!jp2->color.icc_profile_buf) { in opj_jp2_read_colr()
1592 jp2->color.icc_profile_buf[it_icc_value] = (OPJ_BYTE) l_value; in opj_jp2_read_colr()
1666 if (jp2->color.icc_profile_buf) { in opj_jp2_decode()
1667 p_image->icc_profile_buf = jp2->color.icc_profile_buf; in opj_jp2_decode()
1669 jp2->color.icc_profile_buf = NULL; in opj_jp2_decode()
3042 if (jp2->color.icc_profile_buf) { in opj_jp2_destroy()
3043 opj_free(jp2->color.icc_profile_buf); in opj_jp2_destroy()
3044 jp2->color.icc_profile_buf = 00; in opj_jp2_destroy()
3174 if (p_jp2->color.icc_profile_buf) { in opj_jp2_get_tile()
3175 p_image->icc_profile_buf = p_jp2->color.icc_profile_buf; in opj_jp2_get_tile()
3177 p_jp2->color.icc_profile_buf = NULL; in opj_jp2_get_tile()
3205 jp2->color.icc_profile_buf = NULL; in opj_jp2_create()