Lines Matching refs:comps
170 desc->comp[3].depth >= image->comps[3].prec &&
171 1 == image->comps[3].dx &&
172 1 == image->comps[3].dy;
175 desc->comp[2].depth >= image->comps[2].prec &&
176 1 << desc->log2_chroma_w == image->comps[2].dx &&
177 1 << desc->log2_chroma_h == image->comps[2].dy;
180 desc->comp[1].depth >= image->comps[1].prec &&
181 1 << desc->log2_chroma_w == image->comps[1].dx &&
182 1 << desc->log2_chroma_h == image->comps[1].dy;
185 desc->comp[0].depth >= image->comps[0].prec &&
186 1 == image->comps[0].dx &&
187 1 == image->comps[0].dy;
250 *img_ptr++ = 0x80 * image->comps[c].sgnd + image->comps[c].data[index];
260 adjust[x] = FFMAX(FFMIN(desc->comp[x].depth - image->comps[x].prec, 8), 0) + desc->comp[x].shift;
267 *img_ptr++ = (1 << image->comps[c].prec - 1) * image->comps[c].sgnd +
268 (unsigned)image->comps[c].data[index] << adjust[c];
278 comp_data = image->comps[index].data;
279 for (y = 0; y < image->comps[index].h; y++) {
281 for (x = 0; x < image->comps[index].w; x++) {
282 *img_ptr = 0x80 * image->comps[index].sgnd + *comp_data;
297 adjust[x] = FFMAX(FFMIN(desc->comp[x].depth - image->comps[x].prec, 8), 0) + desc->comp[x].shift;
300 comp_data = image->comps[index].data;
301 for (y = 0; y < image->comps[index].h; y++) {
303 for (x = 0; x < image->comps[index].w; x++) {
304 *img_ptr = (1 << image->comps[index].prec - 1) * image->comps[index].sgnd +
415 if (image->comps[i].prec > avctx->bits_per_raw_sample)
416 avctx->bits_per_raw_sample = image->comps[i].prec;
430 if (!image->comps[i].data) {