HomeSort by relevance Sort by last modified time
    Searched refs:bitsPerPixel (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /external/skia/src/codec/
SkBmpBaseCodec.cpp 14 uint16_t bitsPerPixel, SkCodec::SkScanlineOrder rowOrder)
15 : INHERITED(width, height, info, std::move(stream), bitsPerPixel, rowOrder)
SkMasks.cpp 129 SkMasks* SkMasks::CreateMasks(InputMasks masks, uint32_t bitsPerPixel) {
130 // Trim the input masks according to bitsPerPixel
131 if (bitsPerPixel < 32) {
132 masks.red &= (1 << bitsPerPixel) - 1;
133 masks.green &= (1 << bitsPerPixel) - 1;
134 masks.blue &= (1 << bitsPerPixel) - 1;
135 masks.alpha &= (1 << bitsPerPixel) - 1;
146 const MaskInfo red = process_mask(masks.red, bitsPerPixel);
147 const MaskInfo green = process_mask(masks.green, bitsPerPixel);
148 const MaskInfo blue = process_mask(masks.blue, bitsPerPixel);
    [all...]
SkBmpBaseCodec.h 29 uint16_t bitsPerPixel, SkCodec::SkScanlineOrder rowOrder);
SkBmpCodec.cpp 213 uint16_t bitsPerPixel;
240 bitsPerPixel = get_short(iBuffer.get(), 10);
259 bitsPerPixel = get_short(iBuffer.get(), 6);
308 if (16 == bitsPerPixel) {
316 if (bitsPerPixel != 8) {
318 bitsPerPixel = 8;
323 if (bitsPerPixel != 4) {
325 bitsPerPixel = 4;
393 if (24 == bitsPerPixel) {
440 switch (bitsPerPixel) {
    [all...]
SkBmpMaskCodec.cpp 17 uint16_t bitsPerPixel, SkMasks* masks,
19 : INHERITED(width, height, info, std::move(stream), bitsPerPixel, rowOrder)
69 fMasks.get(), this->bitsPerPixel(), options));
SkBmpMaskCodec.h 30 * @param bitsPerPixel the number of bits used to store each pixel
35 uint16_t bitsPerPixel, SkMasks* masks,
SkMaskSwizzler.h 31 uint32_t bitsPerPixel,
  /external/skqp/src/codec/
SkBmpBaseCodec.cpp 14 uint16_t bitsPerPixel, SkCodec::SkScanlineOrder rowOrder)
15 : INHERITED(width, height, info, std::move(stream), bitsPerPixel, rowOrder)
SkMasks.cpp 129 SkMasks* SkMasks::CreateMasks(InputMasks masks, uint32_t bitsPerPixel) {
130 // Trim the input masks according to bitsPerPixel
131 if (bitsPerPixel < 32) {
132 masks.red &= (1 << bitsPerPixel) - 1;
133 masks.green &= (1 << bitsPerPixel) - 1;
134 masks.blue &= (1 << bitsPerPixel) - 1;
135 masks.alpha &= (1 << bitsPerPixel) - 1;
146 const MaskInfo red = process_mask(masks.red, bitsPerPixel);
147 const MaskInfo green = process_mask(masks.green, bitsPerPixel);
148 const MaskInfo blue = process_mask(masks.blue, bitsPerPixel);
    [all...]
SkBmpBaseCodec.h 29 uint16_t bitsPerPixel, SkCodec::SkScanlineOrder rowOrder);
SkBmpCodec.cpp 213 uint16_t bitsPerPixel;
240 bitsPerPixel = get_short(iBuffer.get(), 10);
259 bitsPerPixel = get_short(iBuffer.get(), 6);
303 if (16 == bitsPerPixel) {
311 if (bitsPerPixel != 8) {
313 bitsPerPixel = 8;
318 if (bitsPerPixel != 4) {
320 bitsPerPixel = 4;
388 if (24 == bitsPerPixel) {
435 switch (bitsPerPixel) {
    [all...]
SkBmpMaskCodec.cpp 17 uint16_t bitsPerPixel, SkMasks* masks,
19 : INHERITED(width, height, info, std::move(stream), bitsPerPixel, rowOrder)
69 fMasks.get(), this->bitsPerPixel(), options));
SkBmpMaskCodec.h 30 * @param bitsPerPixel the number of bits used to store each pixel
35 uint16_t bitsPerPixel, SkMasks* masks,
SkMaskSwizzler.h 31 uint32_t bitsPerPixel,
  /external/libvncserver/libvncserver/
translate.c 48 ((x.bitsPerPixel == y.bitsPerPixel) && \
50 ((x.bigEndian == y.bigEndian) || (x.bitsPerPixel == 8)) && \
229 int bytesPerOutputLine = width * (out->bitsPerPixel / 8);
254 if ((cl->screen->serverFormat.bitsPerPixel != 8) &&
255 (cl->screen->serverFormat.bitsPerPixel != 16) &&
257 (cl->screen->serverFormat.bitsPerPixel != 24) &&
259 (cl->screen->serverFormat.bitsPerPixel != 32))
263 cl->screen->serverFormat.bitsPerPixel);
268 if ((cl->format.bitsPerPixel != 8) &
    [all...]
zlib.c 93 + (x * (cl->scaledScreen->bitsPerPixel / 8)));
99 * (cl->format.bitsPerPixel / 8));
112 if (( w * h * (cl->scaledScreen->bitsPerPixel / 8)) <
119 * updateBuf for the raw encoding) based on the bitsPerPixel of
123 if (( cl->format.bitsPerPixel > 8 ) &&
124 ( cl->ublen % ( cl->format.bitsPerPixel / 8 )) != 0 ) {
158 cl->compStream.avail_in = w * h * (cl->format.bitsPerPixel / 8);
206 + w * (cl->format.bitsPerPixel / 8) * h);
draw.c 5 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3;
22 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3;
33 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3;
  /frameworks/base/graphics/java/android/graphics/
PixelFormat.java 101 public int bitsPerPixel;
108 info.bitsPerPixel = 32;
112 info.bitsPerPixel = 24;
119 info.bitsPerPixel = 16;
125 info.bitsPerPixel = 8;
130 info.bitsPerPixel = 16;
134 info.bitsPerPixel = 12;
138 info.bitsPerPixel = 64;
  /external/libvncserver/examples/
rotatetemplate.c 36 if (screen->serverFormat.bitsPerPixel == 32)
38 else if (screen->serverFormat.bitsPerPixel == 16)
40 else if (screen->serverFormat.bitsPerPixel == 8)
44 screen->serverFormat.bitsPerPixel);
  /frameworks/native/libs/ui/
PixelFormat.cpp 42 uint32_t bitsPerPixel(PixelFormat format) {
  /cts/tests/tests/graphics/src/android/graphics/cts/
PixelFormatTest.java 44 assertEquals(32, pixelFormat.bitsPerPixel);
48 assertEquals(32, pixelFormat.bitsPerPixel);
52 assertEquals(24, pixelFormat.bitsPerPixel);
56 assertEquals(16, pixelFormat.bitsPerPixel);
60 assertEquals(16, pixelFormat.bitsPerPixel);
64 assertEquals(16, pixelFormat.bitsPerPixel);
68 assertEquals(8, pixelFormat.bitsPerPixel);
72 assertEquals(8, pixelFormat.bitsPerPixel);
76 assertEquals(16, pixelFormat.bitsPerPixel);
80 assertEquals(8, pixelFormat.bitsPerPixel);
    [all...]
  /external/deqp/framework/delibs/deimage/
deTarga.c 44 int bitsPerPixel;
61 bitsPerPixel = tgaHeader[16];
62 stride = width * bitsPerPixel / 8;
70 DE_TEST_ASSERT(bitsPerPixel == 24 || bitsPerPixel == 32);
71 format = (bitsPerPixel == 32) ? DE_IMAGEFORMAT_ARGB8888 : DE_IMAGEFORMAT_XRGB8888;
89 if (bitsPerPixel == 24)
106 DE_ASSERT(bitsPerPixel == 32);
  /frameworks/native/libs/ui/include/ui/
PixelFormat.h 70 uint32_t bitsPerPixel(PixelFormat format);
  /external/skia/tools/sk_app/unix/
RasterWindowContext_unix.cpp 68 int bitsPerPixel = pm.info().bytesPerPixel() * 8;
76 image.bitmap_unit = bitsPerPixel;
78 image.bitmap_pad = bitsPerPixel;
81 image.bits_per_pixel = bitsPerPixel;
  /external/skqp/tools/sk_app/unix/
RasterWindowContext_unix.cpp 68 int bitsPerPixel = pm.info().bytesPerPixel() * 8;
76 image.bitmap_unit = bitsPerPixel;
78 image.bitmap_pad = bitsPerPixel;
81 image.bits_per_pixel = bitsPerPixel;

Completed in 544 milliseconds

1 2 3 4 5