Lines Matching +full:3 +full:d

3    Decompression for chipset version 2 et 3
107 else if (k >= 1 && k < 3) in build_table_color()
109 else if (k >= 3 && k < 6) in build_table_color()
116 bit = (r[0] >> 3) & 7; in build_table_color()
128 p0[k + 0x20] = (3 * pw) + 0x80; in build_table_color()
132 p0[k + 0x60] = (-3 * pw) + 0x80; in build_table_color()
164 * elif look_bits(3) == 7: # op == 1 in the lookup table
165 * skip_bits(3)
258 {0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3,},
259 {0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3,},
263 {1, 3, 0, 2, 1, 3, 0, 2, 1, 3, 0, 2, 1, 3, 0, 2,},
264 {0, 3, 3, 0, 1, 2, 2, 1, 2, 1, 1, 2, 3, 0, 0, 3,},
265 {0, 1, 2, 3, 3, 2, 1, 0, 3, 2, 1, 0, 0, 1, 2, 3,},
266 {1, 1, 1, 1, 3, 3, 3, 3, 0, 0, 0, 0, 2, 2, 2, 2,},
270 {1, 3, 0, 2, 2, 0, 3, 1, 2, 0, 3, 1, 1, 3, 0, 2,},
271 {1, 2, 2, 1, 3, 0, 0, 3, 0, 3, 3, 0, 2, 1, 1, 2,},
318 version = cmd[2] >> 3; in pwc_dec23_init()
354 unsigned char *d = dst; in copy_image_block_Y() local
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()
361 d = dst + bytes_per_line; 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()
367 d = dst + bytes_per_line*2; 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()
373 d = dst + bytes_per_line*3; 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()
381 unsigned char *d = dst; in copy_image_block_Y()
383 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
385 d = dst + bytes_per_line; in copy_image_block_Y()
387 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
389 d = dst + bytes_per_line*2; in copy_image_block_Y()
391 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
393 d = dst + bytes_per_line*3; in copy_image_block_Y()
395 *d++ = CLAMP((*c) >> scalebits); in copy_image_block_Y()
409 unsigned char *d = dst; in copy_image_block_CrCb() local
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()
420 d = dst + bytes_per_line; 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()
433 unsigned char *d = dst; 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()
440 d = dst + bytes_per_line; 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()
511 __get_nbits(pdec, 3, channel_v); in decode_block()
545 skip_nbits(pdec, 3); in decode_block()
566 * offset1 is coded on 3 bits in decode_block()
573 rows = ptable0004[offset1 + hash_table_ops [htable_idx * 4 + 3]]; in decode_block()