Searched refs:scalebits (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/media/usb/pwc/
H A Dpwc-dec23.c337 pdec->scalebits = SCALEBITS - shift; pwc_dec23_init()
361 static void copy_image_block_Y(const int *src, unsigned char *dst, unsigned int bytes_per_line, unsigned int scalebits) copy_image_block_Y() argument
368 *d++ = cm[c[0] >> scalebits]; copy_image_block_Y()
369 *d++ = cm[c[1] >> scalebits]; copy_image_block_Y()
370 *d++ = cm[c[2] >> scalebits]; copy_image_block_Y()
371 *d++ = cm[c[3] >> scalebits]; copy_image_block_Y()
374 *d++ = cm[c[4] >> scalebits]; copy_image_block_Y()
375 *d++ = cm[c[5] >> scalebits]; copy_image_block_Y()
376 *d++ = cm[c[6] >> scalebits]; copy_image_block_Y()
377 *d++ = cm[c[7] >> scalebits]; copy_image_block_Y()
380 *d++ = cm[c[8] >> scalebits]; copy_image_block_Y()
381 *d++ = cm[c[9] >> scalebits]; copy_image_block_Y()
382 *d++ = cm[c[10] >> scalebits]; copy_image_block_Y()
383 *d++ = cm[c[11] >> scalebits]; copy_image_block_Y()
386 *d++ = cm[c[12] >> scalebits]; copy_image_block_Y()
387 *d++ = cm[c[13] >> scalebits]; copy_image_block_Y()
388 *d++ = cm[c[14] >> scalebits]; copy_image_block_Y()
389 *d++ = cm[c[15] >> scalebits]; copy_image_block_Y()
395 *d++ = CLAMP((*c) >> scalebits); copy_image_block_Y()
399 *d++ = CLAMP((*c) >> scalebits); copy_image_block_Y()
403 *d++ = CLAMP((*c) >> scalebits); copy_image_block_Y()
407 *d++ = CLAMP((*c) >> scalebits); copy_image_block_Y()
415 static void copy_image_block_CrCb(const int *src, unsigned char *dst, unsigned int bytes_per_line, unsigned int scalebits) copy_image_block_CrCb() argument
423 *d++ = cm[c[0] >> scalebits]; copy_image_block_CrCb()
424 *d++ = cm[c[4] >> scalebits]; copy_image_block_CrCb()
425 *d++ = cm[c[1] >> scalebits]; copy_image_block_CrCb()
426 *d++ = cm[c[5] >> scalebits]; copy_image_block_CrCb()
427 *d++ = cm[c[2] >> scalebits]; copy_image_block_CrCb()
428 *d++ = cm[c[6] >> scalebits]; copy_image_block_CrCb()
429 *d++ = cm[c[3] >> scalebits]; copy_image_block_CrCb()
430 *d++ = cm[c[7] >> scalebits]; copy_image_block_CrCb()
433 *d++ = cm[c[12] >> scalebits]; copy_image_block_CrCb()
434 *d++ = cm[c[8] >> scalebits]; copy_image_block_CrCb()
435 *d++ = cm[c[13] >> scalebits]; copy_image_block_CrCb()
436 *d++ = cm[c[9] >> scalebits]; copy_image_block_CrCb()
437 *d++ = cm[c[14] >> scalebits]; copy_image_block_CrCb()
438 *d++ = cm[c[10] >> scalebits]; copy_image_block_CrCb()
439 *d++ = cm[c[15] >> scalebits]; copy_image_block_CrCb()
440 *d++ = cm[c[11] >> scalebits]; copy_image_block_CrCb()
448 *d++ = CLAMP((*c1) >> scalebits); copy_image_block_CrCb()
449 *d++ = CLAMP((*c2) >> scalebits); copy_image_block_CrCb()
454 *d++ = CLAMP((*c1) >> scalebits); copy_image_block_CrCb()
455 *d++ = CLAMP((*c2) >> scalebits); copy_image_block_CrCb()
625 copy_image_block_Y(pdec->temp_colors, planar_y, real_image_width, pdec->scalebits); DecompressBand23()
639 copy_image_block_CrCb(pdec->temp_colors, planar_u, real_image_width/2, pdec->scalebits); DecompressBand23()
642 copy_image_block_CrCb(pdec->temp_colors, planar_v, real_image_width/2, pdec->scalebits); DecompressBand23()
H A Dpwc-dec23.h36 unsigned int scalebits; member in struct:pwc_dec23_private

Completed in 95 milliseconds