Lines Matching +full:7 +full:c
3 (C) 2004-2006 Luc Saillard (luc@saillard.org)
36 * 0: use a C version of this tests: { a<0?0:(a>255?255:a) }
120 bit = (r[0] >> 15) & 7; in build_table_color()
122 bit = (r[0] >> 12) & 7; in build_table_color()
124 bit = (r[0] >> 9) & 7; in build_table_color()
126 bit = (r[0] >> 6) & 7; in build_table_color()
128 bit = (r[0] >> 3) & 7; in build_table_color()
130 bit = (r[0]) & 7; in build_table_color()
176 * elif look_bits(3) == 7: # op == 1 in the lookup table
194 * op == 1 when (i%8)==7
273 {6, 7, 8, 9, 7, 10, 11, 8, 8, 11, 10, 7, 9, 8, 7, 6,},
279 {7, 10, 11, 8, 9, 8, 7, 6, 6, 7, 8, 9, 8, 11, 10, 7,},
281 {7, 9, 6, 8, 10, 8, 7, 11, 11, 7, 8, 10, 8, 6, 9, 7,},
284 {10, 8, 7, 11, 8, 6, 9, 7, 7, 9, 6, 8, 11, 7, 8, 10}
310 pdec->nbits = 7; /* More bits, mean more bits to encode the stream, but better quality */ in pwc_dec23_init()
324 pdec->nbits = 7; in pwc_dec23_init()
365 const int *c = src; in copy_image_block_Y() local
368 *d++ = cm[c[0] >> scalebits]; in copy_image_block_Y()
369 *d++ = cm[c[1] >> scalebits]; in copy_image_block_Y()
370 *d++ = cm[c[2] >> scalebits]; in copy_image_block_Y()
371 *d++ = cm[c[3] >> scalebits]; in copy_image_block_Y()
374 *d++ = cm[c[4] >> scalebits]; in copy_image_block_Y()
375 *d++ = cm[c[5] >> scalebits]; in copy_image_block_Y()
376 *d++ = cm[c[6] >> scalebits]; in copy_image_block_Y()
377 *d++ = cm[c[7] >> scalebits]; in copy_image_block_Y()
380 *d++ = cm[c[8] >> scalebits]; in copy_image_block_Y()
381 *d++ = cm[c[9] >> scalebits]; in copy_image_block_Y()
382 *d++ = cm[c[10] >> scalebits]; in copy_image_block_Y()
383 *d++ = cm[c[11] >> scalebits]; in copy_image_block_Y()
386 *d++ = cm[c[12] >> scalebits]; in copy_image_block_Y()
387 *d++ = cm[c[13] >> scalebits]; in copy_image_block_Y()
388 *d++ = cm[c[14] >> scalebits]; in copy_image_block_Y()
389 *d++ = cm[c[15] >> scalebits]; in copy_image_block_Y()
392 const int *c = src; in copy_image_block_Y()
394 for (i = 0; i < 4; i++, c++) in copy_image_block_Y()
395 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
398 for (i = 0; i < 4; i++, c++) in copy_image_block_Y()
399 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
402 for (i = 0; i < 4; i++, c++) in copy_image_block_Y()
403 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
406 for (i = 0; i < 4; i++, c++) in copy_image_block_Y()
407 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
420 const int *c = src; in copy_image_block_CrCb() local
423 *d++ = cm[c[0] >> scalebits]; in copy_image_block_CrCb()
424 *d++ = cm[c[4] >> scalebits]; in copy_image_block_CrCb()
425 *d++ = cm[c[1] >> scalebits]; in copy_image_block_CrCb()
426 *d++ = cm[c[5] >> scalebits]; in copy_image_block_CrCb()
427 *d++ = cm[c[2] >> scalebits]; in copy_image_block_CrCb()
428 *d++ = cm[c[6] >> scalebits]; in copy_image_block_CrCb()
429 *d++ = cm[c[3] >> scalebits]; in copy_image_block_CrCb()
430 *d++ = cm[c[7] >> scalebits]; in copy_image_block_CrCb()
433 *d++ = cm[c[12] >> scalebits]; in copy_image_block_CrCb()
434 *d++ = cm[c[8] >> scalebits]; in copy_image_block_CrCb()
435 *d++ = cm[c[13] >> scalebits]; in copy_image_block_CrCb()
436 *d++ = cm[c[9] >> scalebits]; in copy_image_block_CrCb()
437 *d++ = cm[c[14] >> scalebits]; in copy_image_block_CrCb()
438 *d++ = cm[c[10] >> scalebits]; in copy_image_block_CrCb()
439 *d++ = cm[c[15] >> scalebits]; in copy_image_block_CrCb()
440 *d++ = cm[c[11] >> scalebits]; in copy_image_block_CrCb()