Home | History | Annotate | Download | only in jpeg-6b

Lines Matching refs:cb

18  *	G = Y + K2 * Cb + K3 * Cr
19 * B = Y + K4 * Cb
72 int * Cb_b_tab; /* => table for Cb to B conversion */
74 INT32 * Cb_g_tab; /* => table for Cb to G conversion */
123 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */
127 /* Cb=>B value is nearest int to 1.77200 * x */
132 /* Cb=>G value is scaled-up -0.34414 * x */
256 int cb, cr;
275 cb = GETJSAMPLE(*inptr1++);
278 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
279 cblue = Cbbtab[cb];
294 cb = GETJSAMPLE(*inptr1);
297 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
298 cblue = Cbbtab[cb];
315 int cb, cr;
336 cb = GETJSAMPLE(*inptr1++);
339 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
340 cblue = Cbbtab[cb];
357 cb = GETJSAMPLE(*inptr1);
360 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
361 cblue = Cbbtab[cb];
379 int cb, cr;
402 cb = GETJSAMPLE(*inptr1++);
405 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
406 cblue = Cbbtab[cb];
425 cb = GETJSAMPLE(*inptr1);
428 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
429 cblue = Cbbtab[cb];
453 int cb, cr;
474 cb = GETJSAMPLE(*inptr1++);
477 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
478 cblue = Cbbtab[cb];
503 cb = GETJSAMPLE(*inptr1);
506 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
507 cblue = Cbbtab[cb];
529 int cb, cr;
552 cb = GETJSAMPLE(*inptr1++);
555 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
556 cblue = Cbbtab[cb];
585 cb = GETJSAMPLE(*inptr1);
588 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
589 cblue = Cbbtab[cb];
614 int cb, cr;
641 cb = GETJSAMPLE(*inptr1++);
644 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
645 cblue = Cbbtab[cb];
678 cb = GETJSAMPLE(*inptr1);
681 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS);
682 cblue = Cbbtab[cb];