/external/libvncserver/libvncclient/ |
D | cursor.c | 48 int bytesPerPixel; in HandleCursorShape() local 56 bytesPerPixel = client->format.bitsPerPixel / 8; in HandleCursorShape() 67 client->rcSource = malloc(width * height * bytesPerPixel); in HandleCursorShape() 105 ptr += bytesPerPixel; in HandleCursorShape() 110 ptr += bytesPerPixel; in HandleCursorShape() 115 switch (bytesPerPixel) { in HandleCursorShape() 132 if (!ReadFromRFBServer(client, (char *)client->rcSource, width * height * bytesPerPixel)) { in HandleCursorShape() 171 client->GotCursorShape(client, xhot, yhot, width, height, bytesPerPixel); in HandleCursorShape()
|
/external/libvncserver/libvncserver/ |
D | scale.c | 144 int bitsPerPixel, bytesPerPixel, bytesPerLine, areaX, areaY, area2; in rfbScaledScreenUpdateRect() local 162 bytesPerPixel = bitsPerPixel / 8; in rfbScaledScreenUpdateRect() 163 bytesPerLine = w1 * bytesPerPixel; in rfbScaledScreenUpdateRect() 165 (y0 * screen->paddedWidthInBytes + x0 * bytesPerPixel)); in rfbScaledScreenUpdateRect() 167 ( y1 * ptr->paddedWidthInBytes + x1 * bytesPerPixel)); in rfbScaledScreenUpdateRect() 206 srcptr2 = &srcptr[(((x * areaX) + w) * bytesPerPixel) + in rfbScaledScreenUpdateRect() 211 switch (bytesPerPixel) { in rfbScaledScreenUpdateRect() 217 for (z = 0; z < bytesPerPixel; z++) in rfbScaledScreenUpdateRect() 238 switch (bytesPerPixel) { in rfbScaledScreenUpdateRect() 244 for (z = 0; z < bytesPerPixel; z++) in rfbScaledScreenUpdateRect() [all …]
|
D | main.c | 811 int bytesPerPixel) in rfbGetScreen() argument 861 screen->bitsPerPixel = screen->depth = 8*bytesPerPixel; in rfbGetScreen() 896 screen->paddedWidthInBytes = width*bytesPerPixel; in rfbGetScreen() 943 int bytesPerPixel) in rfbNewFramebuffer() argument 959 screen->bitsPerPixel = screen->depth = 8*bytesPerPixel; in rfbNewFramebuffer() 960 screen->paddedWidthInBytes = width*bytesPerPixel; in rfbNewFramebuffer()
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
D | Util.java | 94 int bytesPerPixel; in getBytesPerPixel() local 97 bytesPerPixel = 1; in getBytesPerPixel() 101 bytesPerPixel = 2; in getBytesPerPixel() 105 bytesPerPixel = 4; in getBytesPerPixel() 107 return bytesPerPixel; in getBytesPerPixel()
|
/external/libvncserver/examples/ |
D | pnmshow.c | 23 int bytesPerPixel,bitsPerPixelInFile; in main() local 36 bytesPerPixel=4; bitsPerPixelInFile=3*8; in main() 39 bytesPerPixel=1; bitsPerPixelInFile=1*8; in main() 42 bytesPerPixel=1; bitsPerPixelInFile=1; in main() 67 rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,(bitsPerPixelInFile+7)/8,bytesPerPixel); in main() 81 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*bytesPerPixel*height); in main()
|
/external/opencv3/modules/videoio/src/ |
D | cap_winrt_video.cpp | 125 props->Subtype = MediaEncodingSubtypes::Rgb24; bytesPerPixel = 3; in initGrabber() 160 unsigned int colBytes = width * bytesPerPixel; in __anonf7812a090402() 202 for (unsigned int i = 0; i < colBytes; i += bytesPerPixel) in __anonf7812a090402() 241 const unsigned int bytesPerPixel = 3; in CopyOutput() local 243 auto plPitch = width * bytesPerPixel; in CopyOutput() 257 for (unsigned int i = 0, j = 0; i < plPitch; i += bytesPerPixel, j += 4) in CopyOutput()
|
D | cap_winrt_capture.hpp | 67 int bytesPerPixel; member in cv::VideoCapture_WinRT
|
D | cap_winrt_video.hpp | 72 int bytesPerPixel; member in Video
|
/external/skia/src/codec/ |
D | SkCodecPriv.h | 199 inline size_t compute_row_bytes_bpp(int width, uint32_t bytesPerPixel) { in compute_row_bytes_bpp() argument 200 return width * bytesPerPixel; in compute_row_bytes_bpp() 213 const uint32_t bytesPerPixel = bitsPerPixel / 8; in compute_row_bytes() local 214 return compute_row_bytes_bpp(width, bytesPerPixel); in compute_row_bytes()
|
/external/skia/src/core/ |
D | SkConfig8888.cpp | 182 size_t bytes = width * srcInfo.bytesPerPixel(); in CopyPixels() 192 if (4 == srcInfo.bytesPerPixel() && 4 == dstInfo.bytesPerPixel()) { in CopyPixels() 225 SkRectMemcpy(dstPixels, dstRB, srcPixels, srcRB, width * srcInfo.bytesPerPixel(), height); in CopyPixels() 234 if (kGray_8_SkColorType == srcInfo.colorType() && 4 == dstInfo.bytesPerPixel()) { in CopyPixels() 238 if (kGray_8_SkColorType == dstInfo.colorType() && 4 == srcInfo.bytesPerPixel()) { in CopyPixels()
|
D | SkPixmap.cpp | 69 const size_t bpp = fInfo.bytesPerPixel(); in extractSubset() 104 dstPixels = ((char*)dstPixels - y * dstRB - x * dstInfo.bytesPerPixel()); in readPixels()
|
D | SkImageInfo.cpp | 116 fPixels = ((char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel()); in trim()
|
D | SkBitmapProcState_procs.h | 91 #define CHECKSTATE(state) SkASSERT(4 == state.fPixmap.info().bytesPerPixel()); \ 102 #define CHECKSTATE(state) SkASSERT(4 == state.fPixmap.info().bytesPerPixel()); \
|
/external/skia/include/core/ |
D | SkBitmap.h | 94 int bytesPerPixel() const { return fInfo.bytesPerPixel(); } in bytesPerPixel() function 108 int shiftPerPixel() const { return this->bytesPerPixel() >> 1; } in shiftPerPixel() 807 SkASSERT(4 == this->bytesPerPixel()); in getAddr32() 814 SkASSERT(2 == this->bytesPerPixel()); in getAddr16() 821 SkASSERT(1 == this->bytesPerPixel()); in getAddr8()
|
D | SkImageInfo.h | 255 int bytesPerPixel() const { in bytesPerPixel() function 260 return sk_64_mul(fWidth, this->bytesPerPixel()); in minRowBytes64() 287 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel(); in getSafeSize64() 299 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel()); in validRowBytes()
|
/external/libvncserver/client_examples/ |
D | SDLvncviewer.c | 25 static int realWidth, realHeight, bytesPerPixel, rowStride; variable 178 switch (bytesPerPixel) { in get() 183 rfbClientErr("Unknown bytes/pixel: %d", bytesPerPixel); in get() 190 switch (bytesPerPixel) { in put() 195 rfbClientErr("Unknown bytes/pixel: %d", bytesPerPixel); in put() 270 bytesPerPixel = client->format.bitsPerPixel / 8; in setRealDimension() 271 size = client->width * bytesPerPixel * client->height; in setRealDimension()
|
/external/opencv3/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/ |
D | main.cpp | 105 int bytesPerPixel = 3; in cvFilterColor() local 107 for (int i = 0; i < 640 * 100 * bytesPerPixel;) in cvFilterColor()
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
D | ImfTiledMisc.cpp | 115 size_t bytesPerPixel = 0; in calculateBytesPerPixel() local 121 bytesPerPixel += pixelTypeSize (c.channel().type); in calculateBytesPerPixel() 124 return bytesPerPixel; in calculateBytesPerPixel()
|
D | ImfTiledInputFile.cpp | 222 size_t bytesPerPixel; // size of an uncompressed pixel member 464 int sizeOfTile = _ifd->bytesPerPixel * numPixelsInTile; in execute() 743 _data->bytesPerPixel = calculateBytesPerPixel (_data->header); in initialize() 745 _data->maxBytesPerTileLine = _data->bytesPerPixel * _data->tileDesc.xSize; in initialize()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
D | DrawUtils.java | 309 int bytesPerPixel = Math.max(1, srcData.depth / 8); in rotateOptimized() local 311 ((srcData.height * bytesPerPixel - 1) / srcData.scanlinePad + 1) * srcData.scanlinePad; in rotateOptimized() 317 int destIndex = destY * destBytesPerLine + destX * bytesPerPixel; in rotateOptimized() 318 int srcIndex = srcY * srcData.bytesPerLine + srcX * bytesPerPixel; in rotateOptimized() 319 System.arraycopy(srcData.data, srcIndex, newData, destIndex, bytesPerPixel); in rotateOptimized()
|
/external/mesa3d/src/mesa/main/ |
D | image.c | 295 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type); in _mesa_image_row_stride() local 296 if (bytesPerPixel <= 0) in _mesa_image_row_stride() 299 bytesPerRow = bytesPerPixel * width; in _mesa_image_row_stride() 302 bytesPerRow = bytesPerPixel * packing->RowLength; in _mesa_image_row_stride() 342 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type); in _mesa_image_image_stride() local 344 if (bytesPerPixel <= 0) in _mesa_image_image_stride() 347 bytesPerRow = bytesPerPixel * width; in _mesa_image_image_stride() 350 bytesPerRow = bytesPerPixel * packing->RowLength; in _mesa_image_image_stride()
|
/external/skia/src/gpu/text/ |
D | GrBatchFontCache.cpp | 215 int bytesPerPixel = GrMaskFormatBytesPerPixel(expectedMaskFormat); in addGlyphToAtlas() local 217 size_t size = glyph->fBounds.area() * bytesPerPixel; in addGlyphToAtlas() 228 glyph->width() * bytesPerPixel, expectedMaskFormat, in addGlyphToAtlas()
|
/external/autotest/client/deps/nvmap_compactor/src/ |
D | nvmap_carveout_compactor.c | 137 int x, y, bytesPerPixel; in CreateTexture() local 143 bytesPerPixel = 4; in CreateTexture() 145 data = (char *)malloc((size_t)(width*height*bytesPerPixel)); in CreateTexture() 151 int idx = (y*width + x)*bytesPerPixel; in CreateTexture()
|
/external/libvncserver/rfb/ |
D | rfbclient.h | 177 …hapeProc)(struct _rfbClient* client, int xhot, int yhot, int width, int height, int bytesPerPixel); 600 rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,int bytesPerPixel);
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
D | wmesa.c | 289 UINT bytesPerPixel = pwfb->cColorBits / 8; in clear() local 303 switch (bytesPerPixel) { in clear() 346 bytesPerPixel * x; in clear() 347 switch (bytesPerPixel) { in clear() 388 rowSize = width * bytesPerPixel; in clear()
|