• Home
  • Raw
  • Download

Lines Matching refs:comps

169                 desc->comp[3].depth >= image->comps[3].prec &&  in libopenjpeg_matches_pix_fmt()
170 1 == image->comps[3].dx && in libopenjpeg_matches_pix_fmt()
171 1 == image->comps[3].dy; in libopenjpeg_matches_pix_fmt()
174 desc->comp[2].depth >= image->comps[2].prec && in libopenjpeg_matches_pix_fmt()
175 1 << desc->log2_chroma_w == image->comps[2].dx && in libopenjpeg_matches_pix_fmt()
176 1 << desc->log2_chroma_h == image->comps[2].dy; in libopenjpeg_matches_pix_fmt()
179 desc->comp[1].depth >= image->comps[1].prec && in libopenjpeg_matches_pix_fmt()
180 1 << desc->log2_chroma_w == image->comps[1].dx && in libopenjpeg_matches_pix_fmt()
181 1 << desc->log2_chroma_h == image->comps[1].dy; in libopenjpeg_matches_pix_fmt()
184 desc->comp[0].depth >= image->comps[0].prec && in libopenjpeg_matches_pix_fmt()
185 1 == image->comps[0].dx && in libopenjpeg_matches_pix_fmt()
186 1 == image->comps[0].dy; in libopenjpeg_matches_pix_fmt()
249 *img_ptr++ = 0x80 * image->comps[c].sgnd + image->comps[c].data[index]; in libopenjpeg_copy_to_packed8()
259 … adjust[x] = FFMAX(FFMIN(desc->comp[x].depth - image->comps[x].prec, 8), 0) + desc->comp[x].shift; in libopenjpeg_copy_to_packed16()
266 *img_ptr++ = (1 << image->comps[c].prec - 1) * image->comps[c].sgnd + in libopenjpeg_copy_to_packed16()
267 (unsigned)image->comps[c].data[index] << adjust[c]; in libopenjpeg_copy_to_packed16()
277 comp_data = image->comps[index].data; in libopenjpeg_copyto8()
278 for (y = 0; y < image->comps[index].h; y++) { in libopenjpeg_copyto8()
280 for (x = 0; x < image->comps[index].w; x++) { in libopenjpeg_copyto8()
281 *img_ptr = 0x80 * image->comps[index].sgnd + *comp_data; in libopenjpeg_copyto8()
296 … adjust[x] = FFMAX(FFMIN(desc->comp[x].depth - image->comps[x].prec, 8), 0) + desc->comp[x].shift; in libopenjpeg_copyto16()
299 comp_data = image->comps[index].data; in libopenjpeg_copyto16()
300 for (y = 0; y < image->comps[index].h; y++) { in libopenjpeg_copyto16()
302 for (x = 0; x < image->comps[index].w; x++) { in libopenjpeg_copyto16()
303 *img_ptr = (1 << image->comps[index].prec - 1) * image->comps[index].sgnd + in libopenjpeg_copyto16()
417 if (image->comps[i].prec > avctx->bits_per_raw_sample) in libopenjpeg_decode_frame()
418 avctx->bits_per_raw_sample = image->comps[i].prec; in libopenjpeg_decode_frame()
432 if (!image->comps[i].data) { in libopenjpeg_decode_frame()