Lines Matching full:comps
48 image->comps = (opj_image_comp_t*)opj_calloc(1,image->numcomps * sizeof(opj_image_comp_t));
49 if(!image->comps) {
57 opj_image_comp_t *comp = &image->comps[compno];
82 if(image->comps) {
87 opj_image_comp_t *image_comp = &(image->comps[compno]);
92 opj_free(image->comps);
123 l_img_comp = p_image_header->comps;
161 if (p_image_dest->comps){
163 opj_image_comp_t *image_comp = &(p_image_dest->comps[compno]);
168 opj_free(p_image_dest->comps);
169 p_image_dest->comps = NULL;
174 p_image_dest->comps = (opj_image_comp_t*) opj_malloc(p_image_dest->numcomps * sizeof(opj_image_comp_t));
175 if (!p_image_dest->comps){
176 p_image_dest->comps = NULL;
182 memcpy( &(p_image_dest->comps[compno]),
183 &(p_image_src->comps[compno]),
185 p_image_dest->comps[compno].data = NULL;
220 image->comps = (opj_image_comp_t*)opj_calloc(image->numcomps, sizeof(opj_image_comp_t));
221 if (!image->comps) {
228 opj_image_comp_t *comp = &image->comps[compno];