HomeSort by relevance Sort by last modified time
    Searched full:bytesperpixel (Results 1 - 25 of 172) sorted by null

1 2 3 4 5 6 7

  /prebuilts/go/darwin-x86/src/image/png/
paeth_test.go 36 func slowFilterPaeth(cdat, pdat []byte, bytesPerPixel int) {
37 for i := 0; i < bytesPerPixel; i++ {
40 for i := bytesPerPixel; i < len(cdat); i++ {
41 cdat[i] += paeth(cdat[i-bytesPerPixel], pdat[i], pdat[i-bytesPerPixel])
73 for bytesPerPixel := 1; bytesPerPixel <= 8; bytesPerPixel++ {
83 filterPaeth(cdat1, pdat1, bytesPerPixel)
84 slowFilterPaeth(cdat2, pdat2, bytesPerPixel)
    [all...]
paeth.go 47 func filterPaeth(cdat, pdat []byte, bytesPerPixel int) {
49 for i := 0; i < bytesPerPixel; i++ {
51 for j := i; j < len(cdat); j += bytesPerPixel {
reader.go 492 bytesPerPixel := (bitsPerPixel + 7) / 8
517 for i := bytesPerPixel; i < len(cdat); i++ {
518 cdat[i] += cdat[i-bytesPerPixel]
528 for i := 0; i < bytesPerPixel; i++ {
531 for i := bytesPerPixel; i < len(cdat); i++ {
532 cdat[i] += uint8((int(cdat[i-bytesPerPixel]) + int(pdat[i])) / 2)
535 filterPaeth(cdat, pdat, bytesPerPixel)
774 bytesPerPixel int
780 bytesPerPixel = 1
784 bytesPerPixel =
    [all...]
  /prebuilts/go/linux-x86/src/image/png/
paeth_test.go 36 func slowFilterPaeth(cdat, pdat []byte, bytesPerPixel int) {
37 for i := 0; i < bytesPerPixel; i++ {
40 for i := bytesPerPixel; i < len(cdat); i++ {
41 cdat[i] += paeth(cdat[i-bytesPerPixel], pdat[i], pdat[i-bytesPerPixel])
73 for bytesPerPixel := 1; bytesPerPixel <= 8; bytesPerPixel++ {
83 filterPaeth(cdat1, pdat1, bytesPerPixel)
84 slowFilterPaeth(cdat2, pdat2, bytesPerPixel)
    [all...]
paeth.go 47 func filterPaeth(cdat, pdat []byte, bytesPerPixel int) {
49 for i := 0; i < bytesPerPixel; i++ {
51 for j := i; j < len(cdat); j += bytesPerPixel {
reader.go 492 bytesPerPixel := (bitsPerPixel + 7) / 8
517 for i := bytesPerPixel; i < len(cdat); i++ {
518 cdat[i] += cdat[i-bytesPerPixel]
528 for i := 0; i < bytesPerPixel; i++ {
531 for i := bytesPerPixel; i < len(cdat); i++ {
532 cdat[i] += uint8((int(cdat[i-bytesPerPixel]) + int(pdat[i])) / 2)
535 filterPaeth(cdat, pdat, bytesPerPixel)
774 bytesPerPixel int
780 bytesPerPixel = 1
784 bytesPerPixel =
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PixelFormatTest.java 43 assertEquals(4, pixelFormat.bytesPerPixel);
47 assertEquals(4, pixelFormat.bytesPerPixel);
51 assertEquals(3, pixelFormat.bytesPerPixel);
55 assertEquals(2, pixelFormat.bytesPerPixel);
59 assertEquals(2, pixelFormat.bytesPerPixel);
63 assertEquals(2, pixelFormat.bytesPerPixel);
67 assertEquals(1, pixelFormat.bytesPerPixel);
71 assertEquals(1, pixelFormat.bytesPerPixel);
75 assertEquals(2, pixelFormat.bytesPerPixel);
79 assertEquals(1, pixelFormat.bytesPerPixel);
    [all...]
  /external/libvncserver/examples/
pnmshow.c 23 int bytesPerPixel,bitsPerPixelInFile;
36 bytesPerPixel=4; bitsPerPixelInFile=3*8;
39 bytesPerPixel=1; bitsPerPixelInFile=1*8;
42 bytesPerPixel=1; bitsPerPixelInFile=1;
67 rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,(bitsPerPixelInFile+7)/8,bytesPerPixel);
81 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*bytesPerPixel*height);
  /device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/
HdLcd.c 71 UINT32 BytesPerPixel;
90 BytesPerPixel = GetBytesPerPixel(LcdBpp);
96 MmioWrite32(HDLCD_REG_FB_LINE_LENGTH, HRes * BytesPerPixel);
97 MmioWrite32(HDLCD_REG_FB_LINE_PITCH, HRes * BytesPerPixel);
  /external/libvncserver/libvncclient/
cursor.c 48 int bytesPerPixel;
56 bytesPerPixel = client->format.bitsPerPixel / 8;
67 client->rcSource = malloc(width * height * bytesPerPixel);
105 ptr += bytesPerPixel;
110 ptr += bytesPerPixel;
115 switch (bytesPerPixel) {
132 if (!ReadFromRFBServer(client, (char *)client->rcSource, width * height * bytesPerPixel)) {
171 client->GotCursorShape(client, xhot, yhot, width, height, bytesPerPixel);
  /frameworks/base/graphics/java/android/graphics/
PixelFormat.java 100 public int bytesPerPixel;
109 info.bytesPerPixel = 4;
113 info.bytesPerPixel = 3;
120 info.bytesPerPixel = 2;
126 info.bytesPerPixel = 1;
131 info.bytesPerPixel = 1;
135 info.bytesPerPixel = 1;
139 info.bytesPerPixel = 8;
  /external/glide/library/src/main/java/com/bumptech/glide/util/
Util.java 94 int bytesPerPixel;
97 bytesPerPixel = 1;
101 bytesPerPixel = 2;
105 bytesPerPixel = 4;
107 return bytesPerPixel;
  /external/pdfium/core/fxcodec/codec/
fx_codec_flate.cpp 288 int BytesPerPixel = (bpc * nColors + 7) / 8;
299 if (byte >= BytesPerPixel) {
300 left = pDestData[byte - BytesPerPixel];
315 if (byte >= BytesPerPixel) {
316 left = pDestData[byte - BytesPerPixel];
327 if (byte >= BytesPerPixel) {
328 left = pDestData[byte - BytesPerPixel];
335 if (byte >= BytesPerPixel && pLastLine) {
336 upper_left = pLastLine[byte - BytesPerPixel];
353 const int BytesPerPixel = (Colors * BitsPerComponent + 7) / 8
    [all...]
  /external/libvncserver/libvncserver/
scale.c 144 int bitsPerPixel, bytesPerPixel, bytesPerLine, areaX, areaY, area2;
162 bytesPerPixel = bitsPerPixel / 8;
163 bytesPerLine = w1 * bytesPerPixel;
165 (y0 * screen->paddedWidthInBytes + x0 * bytesPerPixel));
167 ( y1 * ptr->paddedWidthInBytes + x1 * bytesPerPixel));
206 srcptr2 = &srcptr[(((x * areaX) + w) * bytesPerPixel) +
211 switch (bytesPerPixel) {
217 for (z = 0; z < bytesPerPixel; z++)
222 srcptr2 += bytesPerPixel;
238 switch (bytesPerPixel) {
    [all...]
  /hardware/libhardware/modules/gralloc/
gralloc.cpp 211 int bytesPerPixel = 0;
214 bytesPerPixel = 8;
219 bytesPerPixel = 4;
222 bytesPerPixel = 3;
226 bytesPerPixel = 2;
236 size_t size = align(height, tileHeight) * stride * bytesPerPixel + 4;
  /external/skia/tools/viewer/sk_app/unix/
RasterWindowContext_unix.cpp 66 int bitsPerPixel = pm.info().bytesPerPixel() * 8;
78 image.bytes_per_line = pm.rowBytes() - pm.width() * pm.info().bytesPerPixel();
  /frameworks/base/media/jni/
android_media_Utils.cpp 662 int bytesPerPixel = 0;
739 bytesPerPixel = 2;
744 dataSize = buffer->stride * buffer->height * bytesPerPixel;
745 pStride = bytesPerPixel;
768 bytesPerPixel = 2;
771 dataSize = buffer->stride * buffer->height * bytesPerPixel;
772 pStride = bytesPerPixel;
818 bytesPerPixel = 4;
821 dataSize = buffer->stride * buffer->height * bytesPerPixel;
822 pStride = bytesPerPixel;
    [all...]
  /external/skia/src/core/
SkImageInfo.cpp 123 fPixels = ((char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel());
159 fPixels = ((const char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel());
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_cl.py 30 'BUFFER_NOT_CREATED', 'BUF_DATA', 'BUF_FRAME', 'BytesPerPixel',
  /external/skia/include/core/
SkImageInfo.h 272 int bytesPerPixel() const { return SkColorTypeBytesPerPixel(fColorType); }
277 return sk_64_mul(fWidth, this->bytesPerPixel());
310 return sk_64_mul(fHeight - 1, rowBytes) + sk_64_mul(fWidth, this->bytesPerPixel());
322 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel());
  /frameworks/base/libs/hwui/
GradientCache.cpp 158 const uint32_t size = info.width * 2 * bytesPerPixel();
171 " width = %" PRIu32 " bytesPerPixel() = %zu",
172 size, texture->objectSize(), info.width, bytesPerPixel());
178 size_t GradientCache::bytesPerPixel() const {
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_cl.py 30 'BUFFER_NOT_CREATED', 'BUF_DATA', 'BUF_FRAME', 'BytesPerPixel',
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_cl.py 30 'BUFFER_NOT_CREATED', 'BUF_DATA', 'BUF_FRAME', 'BytesPerPixel',
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_cl.py 30 'BUFFER_NOT_CREATED', 'BUF_DATA', 'BUF_FRAME', 'BytesPerPixel',
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_cl.py 30 'BUFFER_NOT_CREATED', 'BUF_DATA', 'BUF_FRAME', 'BytesPerPixel',

Completed in 2027 milliseconds

1 2 3 4 5 6 7