OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BitsPerPixel
(Results
1 - 18
of
18
) sorted by null
/external/skia/src/codec/
SkSwizzler.h
77
static int
BitsPerPixel
(SrcConfig sc) {
111
SkASSERT(SkIsAlign8(
BitsPerPixel
(sc)));
112
return
BitsPerPixel
(sc) >> 3;
228
* @param deltaSrc if
bitsPerPixel
% 8 == 0, deltaSrc is bytesPerPixel
229
* else, deltaSrc is
bitsPerPixel
240
const int fDeltaSrc; // if
bitsPerPixel
% 8 == 0
243
// deltaSrc is
bitsPerPixel
SkSwizzler.cpp
26
int
bitsPerPixel
, int y, const SkPMColor ctable[]) {
30
const uint32_t pixelsPerByte = 8 /
bitsPerPixel
;
32
const uint8_t mask = (1 <<
bitsPerPixel
) - 1;
37
uint8_t index = (pixelData >> (8 -
bitsPerPixel
)) & mask;
40
pixelData <<=
bitsPerPixel
;
49
int
bitsPerPixel
, int y, const SkPMColor ctable[]) {
53
const uint32_t pixelsPerByte = 8 /
bitsPerPixel
;
55
const uint8_t mask = (1 <<
bitsPerPixel
) - 1;
60
uint8_t index = (pixelData >> (8 -
bitsPerPixel
)) & mask;
64
pixelData <<=
bitsPerPixel
;
[
all
...]
SkCodec_libgif.cpp
363
(unsigned) (1 << (colorMap->
BitsPerPixel
)));
/external/jpeg/
wrgif.c
223
int
BitsPerPixel
, ColorMapSize, InitCodeSize, FlagByte;
230
BitsPerPixel
= 1;
231
while (num_colors > (1 <<
BitsPerPixel
))
232
BitsPerPixel
++;
233
ColorMapSize = 1 <<
BitsPerPixel
;
234
if (
BitsPerPixel
<= 1)
237
InitCodeSize =
BitsPerPixel
;
252
FlagByte |= (
BitsPerPixel
-1) << 4; /* color resolution */
253
FlagByte |= (
BitsPerPixel
-1); /* size of global color table */
/external/giflib/
gif_lib_private.h
34
BitsPerPixel
, /* Bits per pixel (Codes uses at least this + 1). */
egif_lib.c
28
/* Masks given codes to
BitsPerPixel
, to make sure all codes are in range: */
320
(ColorMap ? ColorMap->
BitsPerPixel
- 1 : 0x07 ); /* Actual size of the
401
(ColorMap ? ColorMap->
BitsPerPixel
- 1 : 0);
459
Mask = CodeMask[Private->
BitsPerPixel
];
488
Pixel &= CodeMask[Private->
BitsPerPixel
];
829
int
BitsPerPixel
;
835
BitsPerPixel
= GifFile->Image.ColorMap->
BitsPerPixel
;
837
BitsPerPixel
= GifFile->SColorMap->
BitsPerPixel
;
[
all
...]
dgif_lib.c
231
int
BitsPerPixel
;
255
BitsPerPixel
= (Buf[0] & 0x07) + 1;
261
GifFile->SColorMap = GifMakeMapObject(1 <<
BitsPerPixel
, NULL);
333
unsigned int
BitsPerPixel
;
355
BitsPerPixel
= (Buf[0] & 0x07) + 1;
367
GifFile->Image.ColorMap = GifMakeMapObject(1 <<
BitsPerPixel
, NULL);
700
*CodeSize = Private->
BitsPerPixel
;
746
int i,
BitsPerPixel
;
752
BitsPerPixel
= CodeSize;
755
Private->
BitsPerPixel
= BitsPerPixel
[
all
...]
gifalloc.c
62
Object->
BitsPerPixel
= GifBitSize(ColorCount);
195
ColorUnion->
BitsPerPixel
= NewGifBitSize;
gif_lib.h
41
int
BitsPerPixel
;
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
xm_api.c
219
int
bitsPerPixel
;
230
bitsPerPixel
= img->bits_per_pixel;
235
return
bitsPerPixel
;
328
&& v->
BitsPerPixel
== 32) {
340
&& v->
BitsPerPixel
== 32) {
352
&& v->
BitsPerPixel
== 32) {
365
&& v->
BitsPerPixel
== 16) {
563
v->
BitsPerPixel
= bits_per_pixel(v);
564
assert(v->
BitsPerPixel
> 0);
582
if (v->
BitsPerPixel
== 32)
[
all
...]
xm_api.h
291
GLint
BitsPerPixel
; /* True bits per pixel for XImages */
/external/mesa3d/src/mesa/drivers/x11/
xm_api.c
170
int
bitsPerPixel
;
181
bitsPerPixel
= img->bits_per_pixel;
186
return
bitsPerPixel
;
513
&& v->
BitsPerPixel
==32
523
if (v->
BitsPerPixel
==32) {
530
else if (v->
BitsPerPixel
== 24) {
538
&& v->
BitsPerPixel
==16
568
v->
BitsPerPixel
= bits_per_pixel(v);
569
assert(v->
BitsPerPixel
> 0);
599
printf("X/Mesa bits per pixel = %d\n", v->
BitsPerPixel
);
[
all
...]
xmesaP.h
81
GLint
BitsPerPixel
; /* True bits per pixel for XImages */
xm_dd.c
721
switch (xmesa->xm_visual->
BitsPerPixel
) {
865
xmvisual->
BitsPerPixel
== 32) {
/external/skia/src/images/
SkImageDecoder_libgif.cpp
130
cmap->ColorCount != (1 << cmap->
BitsPerPixel
))) {
341
SkASSERT(cmap->ColorCount == (1 << (cmap->
BitsPerPixel
)));
SkMovie_gif.cpp
245
if (cmap == NULL || cmap->ColorCount != (1 << cmap->
BitsPerPixel
)) {
/frameworks/ex/framesequence/jni/
FrameSequence_gif.cpp
319
if (cmap == NULL || cmap->ColorCount != (1 << cmap->
BitsPerPixel
)) {
/external/libvncserver/client_examples/
SDLvncviewer.c
32
depth=client->format.
bitsPerPixel
;
53
client->format.
bitsPerPixel
=depth;
270
bytesPerPixel = client->format.
bitsPerPixel
/ 8;
282
int depth = sdl->format->
BitsPerPixel
;
Completed in 373 milliseconds