OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:colorCount
(Results
1 - 7
of
7
) sorted by null
/external/skia/src/images/
SkImageDecoder_libgif.cpp
126
if (cmap && ((unsigned)cmap->
ColorCount
> 256 ||
127
cmap->
ColorCount
!= (1 << cmap->BitsPerPixel))) {
134
static int find_transpIndex(const SavedImage& image, int
colorCount
) {
142
if (transpIndex >=
colorCount
) {
217
int
colorCount
= 0;
224
colorCount
= cmap->
ColorCount
;
225
SkColorTable* ctable = SkNEW_ARGS(SkColorTable, (
colorCount
));
227
for (int index = 0; index <
colorCount
; index++)
233
transpIndex = find_transpIndex(temp_save,
colorCount
);
[
all
...]
SkImageDecoder_libico.cpp
152
int
colorCount
= readByte(buf, 8 + choice*16);
173
colorCount
= 2;
177
colorCount
= 16;
181
colorCount
= 256;
185
colorCount
= 0;
189
colorCount
= 0;
209
if (
colorCount
)
211
colors = new SkPMColor[
colorCount
];
212
for (int j = 0; j <
colorCount
; j++)
227
int xorOffset = begin +
colorCount
*4; //beginning of the color bitma
[
all
...]
SkImageDecoder_libpng.cpp
585
int
colorCount
= num_palette + (num_palette < 256);
587
colorTable = SkNEW_ARGS(SkColorTable, (
colorCount
));
[
all
...]
/external/webkit/Source/WebCore/platform/image-decoders/ico/
ICOImageDecoder.cpp
293
int
colorCount
= static_cast<uint8_t>(m_data->data()[m_decodedOffset + 2]);
294
if (!
colorCount
)
295
colorCount
= 256; // Vague in the spec, needed by real-world icons.
296
for (--
colorCount
;
colorCount
;
colorCount
>>= 1)
/external/webkit/Source/WebCore/platform/qt/
PlatformScreenQt.cpp
89
return QApplication::desktop()->screen(screenNumber(w))->
colorCount
() == 2;
/external/skia/src/effects/
SkGradientShader.cpp
124
int
colorCount
, SkShader::TileMode mode, SkUnitMapper* mapper);
199
int
colorCount
, SkShader::TileMode mode, SkUnitMapper* mapper) {
200
SkASSERT(
colorCount
> 1);
222
Thus
colorCount
(the caller's value, and fColorCount (our value) may
224
colorCount
= 2
227
fColorCount =
colorCount
;
233
dummyLast = pos[
colorCount
- 1] != SK_Scalar1;
252
memcpy(origColors, colors,
colorCount
* sizeof(SkColor));
254
origColors +=
colorCount
;
255
*origColors = colors[
colorCount
- 1]
[
all
...]
/external/opencv/cvaux/src/
cvcalibfilter.cpp
547
const int
colorCount
= sizeof(line_colors)/sizeof(line_colors[0]);
561
color = line_colors[(j/cvRound(etalonParams[0]))%
colorCount
];
Completed in 55 milliseconds