OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CSHIFT
(Results
1 - 2
of
2
) sorted by null
/external/skia/src/images/
SkImageDecoder_libjpeg.cpp
724
#define
CSHIFT
16
738
#define
CSHIFT
8
746
int y = ( CYR*r + CYG*g + CYB*b ) >>
CSHIFT
;
747
int u = ( CUR*r + CUG*g + CUB*b ) >>
CSHIFT
;
748
int v = ( CVR*r + CVG*g + CVB*b ) >>
CSHIFT
;
760
int y = ( CYR*r + CYG*g + CYB*b ) >> (
CSHIFT
- 4);
761
int u = ( CUR*r + CUG*g + CUB*b ) >> (
CSHIFT
- 4);
762
int v = ( CVR*r + CVG*g + CVB*b ) >> (
CSHIFT
- 4);
774
int y = ( 2*CYR*r + CYG*g + 2*CYB*b ) >> (
CSHIFT
- 2);
775
int u = ( 2*CUR*r + CUG*g + 2*CUB*b ) >> (
CSHIFT
- 2)
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/cts/
YuvImageTest.java
47
private static final int
CSHIFT
= 16;
427
yuv[0] = (byte) ((CYR * r + CYG * g + CYB * b) >>
CSHIFT
);
428
yuv[1] = (byte) (((CUR * r + CUG * g + CUB * b) >>
CSHIFT
) + 128);
429
yuv[2] = (byte) (((CVR * r + CVG * g + CVB * b) >>
CSHIFT
) + 128);
Completed in 1092 milliseconds