Lines Matching refs:scalebits
325 pdec->scalebits = SCALEBITS - shift; in pwc_dec23_init()
349 …ge_block_Y(const int *src, unsigned char *dst, unsigned int bytes_per_line, unsigned int scalebits) in copy_image_block_Y() argument
356 *d++ = cm[c[0] >> scalebits]; in copy_image_block_Y()
357 *d++ = cm[c[1] >> scalebits]; in copy_image_block_Y()
358 *d++ = cm[c[2] >> scalebits]; in copy_image_block_Y()
359 *d++ = cm[c[3] >> scalebits]; in copy_image_block_Y()
362 *d++ = cm[c[4] >> scalebits]; in copy_image_block_Y()
363 *d++ = cm[c[5] >> scalebits]; in copy_image_block_Y()
364 *d++ = cm[c[6] >> scalebits]; in copy_image_block_Y()
365 *d++ = cm[c[7] >> scalebits]; in copy_image_block_Y()
368 *d++ = cm[c[8] >> scalebits]; in copy_image_block_Y()
369 *d++ = cm[c[9] >> scalebits]; in copy_image_block_Y()
370 *d++ = cm[c[10] >> scalebits]; in copy_image_block_Y()
371 *d++ = cm[c[11] >> scalebits]; in copy_image_block_Y()
374 *d++ = cm[c[12] >> scalebits]; in copy_image_block_Y()
375 *d++ = cm[c[13] >> scalebits]; in copy_image_block_Y()
376 *d++ = cm[c[14] >> scalebits]; in copy_image_block_Y()
377 *d++ = cm[c[15] >> scalebits]; in copy_image_block_Y()
383 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
387 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
391 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
395 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
403 …block_CrCb(const int *src, unsigned char *dst, unsigned int bytes_per_line, unsigned int scalebits) in copy_image_block_CrCb() argument
411 *d++ = cm[c[0] >> scalebits]; in copy_image_block_CrCb()
412 *d++ = cm[c[4] >> scalebits]; in copy_image_block_CrCb()
413 *d++ = cm[c[1] >> scalebits]; in copy_image_block_CrCb()
414 *d++ = cm[c[5] >> scalebits]; in copy_image_block_CrCb()
415 *d++ = cm[c[2] >> scalebits]; in copy_image_block_CrCb()
416 *d++ = cm[c[6] >> scalebits]; in copy_image_block_CrCb()
417 *d++ = cm[c[3] >> scalebits]; in copy_image_block_CrCb()
418 *d++ = cm[c[7] >> scalebits]; in copy_image_block_CrCb()
421 *d++ = cm[c[12] >> scalebits]; in copy_image_block_CrCb()
422 *d++ = cm[c[8] >> scalebits]; in copy_image_block_CrCb()
423 *d++ = cm[c[13] >> scalebits]; in copy_image_block_CrCb()
424 *d++ = cm[c[9] >> scalebits]; in copy_image_block_CrCb()
425 *d++ = cm[c[14] >> scalebits]; in copy_image_block_CrCb()
426 *d++ = cm[c[10] >> scalebits]; in copy_image_block_CrCb()
427 *d++ = cm[c[15] >> scalebits]; in copy_image_block_CrCb()
428 *d++ = cm[c[11] >> scalebits]; in copy_image_block_CrCb()
436 *d++ = CLAMP((*c1) >> scalebits); in copy_image_block_CrCb()
437 *d++ = CLAMP((*c2) >> scalebits); in copy_image_block_CrCb()
442 *d++ = CLAMP((*c1) >> scalebits); in copy_image_block_CrCb()
443 *d++ = CLAMP((*c2) >> scalebits); in copy_image_block_CrCb()
613 copy_image_block_Y(pdec->temp_colors, planar_y, real_image_width, pdec->scalebits); in DecompressBand23()
627 copy_image_block_CrCb(pdec->temp_colors, planar_u, real_image_width/2, pdec->scalebits); in DecompressBand23()
630 copy_image_block_CrCb(pdec->temp_colors, planar_v, real_image_width/2, pdec->scalebits); in DecompressBand23()