Searched refs:icc_len (Results 1 – 4 of 4) sorted by relevance
/external/libjpeg-turbo/ |
D | cjpeg.c | 567 long icc_len = 0; in cjpeg() local 661 (icc_len = ftell(icc_file)) < 1 || in cjpeg() 667 if ((icc_profile = (JOCTET *)malloc(icc_len)) == NULL) { in cjpeg() 672 if (fread(icc_profile, icc_len, 1, icc_file) < 1) { in cjpeg() 727 jpeg_write_icc_profile(&cinfo, icc_profile, (unsigned int)icc_len); in cjpeg()
|
D | jpegtran.c | 481 long icc_len = 0; in jpegtran() local 556 (icc_len = ftell(icc_file)) < 1 || in jpegtran() 562 if ((icc_profile = (JOCTET *)malloc(icc_len)) == NULL) { in jpegtran() 567 if (fread(icc_profile, icc_len, 1, icc_file) < 1) { in jpegtran() 694 jpeg_write_icc_profile(&dstinfo, icc_profile, (unsigned int)icc_len); in jpegtran()
|
D | djpeg.c | 829 unsigned int icc_len; in djpeg() local 835 if (jpeg_read_icc_profile(&cinfo, &icc_profile, &icc_len)) { in djpeg() 836 if (fwrite(icc_profile, icc_len, 1, icc_file) < 1) { in djpeg()
|
/external/pdfium/third_party/libopenjpeg20/ |
D | jp2.c | 1579 OPJ_INT32 icc_len = (OPJ_INT32)p_colr_header_size - 3; in opj_jp2_read_colr() local 1581 jp2->color.icc_profile_len = (OPJ_UINT32)icc_len; 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() 1588 for (it_icc_value = 0; it_icc_value < icc_len; ++it_icc_value) { in opj_jp2_read_colr()
|