Lines Matching refs:new_comps
1035 opj_image_comp_t *old_comps, *new_comps; in opj_jp2_apply_pclr() local
1069 new_comps = (opj_image_comp_t*) in opj_jp2_apply_pclr()
1071 if (!new_comps) { in opj_jp2_apply_pclr()
1083 new_comps[i] = old_comps[cmp]; in opj_jp2_apply_pclr()
1086 new_comps[i] = old_comps[cmp]; in opj_jp2_apply_pclr()
1090 new_comps[i].data = (OPJ_INT32*) in opj_jp2_apply_pclr()
1092 if (!new_comps[i].data) { in opj_jp2_apply_pclr()
1095 opj_image_data_free(new_comps[i].data); in opj_jp2_apply_pclr()
1097 opj_free(new_comps); in opj_jp2_apply_pclr()
1102 new_comps[i].prec = channel_size[i]; in opj_jp2_apply_pclr()
1103 new_comps[i].sgnd = channel_sign[i]; in opj_jp2_apply_pclr()
1113 dst = new_comps[i].data; in opj_jp2_apply_pclr()
1114 max = new_comps[i].w * new_comps[i].h; in opj_jp2_apply_pclr()
1119 opj_image_data_free(new_comps[j].data); in opj_jp2_apply_pclr()
1121 opj_free(new_comps); in opj_jp2_apply_pclr()
1122 new_comps = NULL; in opj_jp2_apply_pclr()
1155 image->comps = new_comps; in opj_jp2_apply_pclr()