HomeSort by relevance Sort by last modified time
    Searched defs:bpp (Results 1 - 25 of 177) sorted by null

1 2 3 4 5 6 7 8

  /external/drm_gralloc/
gralloc_drm.h 50 int bpp; local
56 bpp = 4;
59 bpp = 3;
63 bpp = 2;
69 bpp = 1;
72 bpp = 0;
76 return bpp;
gralloc.cpp 158 int size, bpp, err; local
160 bpp = gralloc_drm_get_bpp(format);
161 if (!bpp)
170 *stride /= bpp;
  /external/libvncserver/libvncserver/
draw.c 5 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3; local
10 colour += 4-bpp;
13 memcpy(s->frameBuffer+j*rowstride+i*bpp,colour,bpp);
18 memcpy(s->frameBuffer+(y)*rowstride+(x)*bpp,colour,bpp)
22 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3; local
26 colour += 4-bpp;
33 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3; local
38 colour += 4-bpp;
    [all...]
font.c 10 int bpp=rfbScreen->serverFormat.bitsPerPixel/8; local
14 colour += 4-bpp;
29 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp,colour,bpp);
57 int bpp=rfbScreen->serverFormat.bitsPerPixel/8,extra_bytes=0; local
62 colour+=4-bpp;
63 bcolour+=4-bpp;
89 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp,
90 colour,bpp);
92 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp,
    [all...]
  /external/libdrm/tests/planetest/
bo.h 14 uint32_t bpp; member in struct:sp_bo
26 uint32_t depth, uint32_t bpp, uint32_t format, uint32_t flags);
  /external/libvncserver/client_examples/
ppmtest.c 21 int bpp=pf->bitsPerPixel/8; local
22 int row_stride=client->width*bpp;
31 /* assert bpp=4 */
32 if(bpp!=4 && bpp!=2) {
33 rfbClientLog("bpp = %d (!=4)\n",bpp);
45 for(i=0;i<client->width*bpp;i+=bpp) {
48 if(bpp==4
    [all...]
  /hardware/intel/img/hwcomposer/merrifield/ips/penwell/
PnwGrallocBuffer.h 33 int bpp; member in struct:android::intel::PnwIMGGrallocBuffer
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
ImageFlipper.java 58 int bpp = img.getFormat().getBitsPerPixel() / 8; local
59 int scanline = w * bpp;
  /external/deqp/framework/delibs/deimage/
deTarga.c 79 int bpp = 4; local
86 deARGB* dst = (deUint32*)((deUint8*)image->pixels + dstY*image->width*bpp);
  /external/libvncserver/examples/
zippy.c 7 static int maxx=400, maxy=400, bpp=4; variable
28 if(!rfbProcessSizeArguments(&maxx,&maxy,&bpp,&argc,argv))
31 server = rfbGetScreen (&argc, argv, maxx, maxy, 8, 3, bpp);
35 server->frameBuffer = (char*)malloc(maxx*maxy*bpp);
52 for (i=0; i < maxx * maxy * bpp; i++) frame_buffer[i]=(char) 0;
60 current_pixel = (i*x2 + j) * bpp;
80 /* Dscho's versions (slower, but works for bpp != 3 or 4) */
106 #define ADDR(x,y) s->frameBuffer+(x)*bpp+(y)*s->paddedWidthInBytes
107 memcpy(ADDR(i,j+y1),ADDR(x1,y1),bpp);
108 memcpy(ADDR(i,j+y3),ADDR(x1,y3),bpp);
    [all...]
example.c 37 static const int bpp=4; variable
48 buffer[(j*maxx+i)*bpp+0]=(i+j)*128/(maxx+maxy); /* red */
49 buffer[(j*maxx+i)*bpp+1]=i*128/maxx; /* green */
50 buffer[(j*maxx+i)*bpp+2]=j*256/maxy; /* blue */
52 buffer[j*maxx*bpp+0]=0xff;
53 buffer[j*maxx*bpp+1]=0xff;
54 buffer[j*maxx*bpp+2]=0xff;
55 buffer[j*maxx*bpp+3]=0xff;
87 newfb = (unsigned char*)malloc(maxx * maxy * bpp);
89 rfbNewFramebuffer(screen, (char*)newfb, maxx, maxy, 8, 3, bpp);
    [all...]
  /external/libvncserver/test/
cursortest.c 27 static const int bpp=4; variable
37 buffer[(j*maxx+i)*bpp+0]=(i+j)*128/(maxx+maxy); /* red */
38 buffer[(j*maxx+i)*bpp+1]=i*128/maxx; /* green */
39 buffer[(j*maxx+i)*bpp+2]=j*256/maxy; /* blue */
182 c->richSource = (char*)malloc(w*h*bpp);
185 c->richSource[j*w*bpp+i*bpp+0]=i*0xff/w;
186 c->richSource[j*w*bpp+i*bpp+1]=(i+j)*0xff/(w+h);
187 c->richSource[j*w*bpp+i*bpp+2]=j*0xff/h
    [all...]
  /external/mesa3d/src/gallium/winsys/sw/gdi/
gdi_sw_winsys.c 131 unsigned bpp; local
141 bpp = util_format_get_blocksizebits(format);
155 gdt->bmi.bmiHeader.biBitCount = bpp;
  /external/mesa3d/src/mesa/drivers/dri/swrast/
swrast_priv.h 115 GLuint bpp; member in struct:dri_swrast_renderbuffer
128 #define PF_A8R8G8B8 1 /**< 32bpp TrueColor: 8-A, 8-R, 8-G, 8-B bits */
129 #define PF_R5G6B5 2 /**< 16bpp TrueColor: 5-R, 6-G, 5-B bits */
130 #define PF_R3G3B2 3 /**< 8bpp TrueColor: 3-R, 3-G, 2-B bits */
131 #define PF_X8R8G8B8 4 /**< 32bpp TrueColor: 8-R, 8-G, 8-B bits */
  /frameworks/native/libs/ui/
GraphicBufferAllocator.cpp 122 uint32_t bpp = bytesPerPixel(format); local
129 rec.size = static_cast<size_t>(height * (*stride) * bpp);
  /hardware/libhardware/modules/gralloc/
gralloc.cpp 209 int bpp = 0; local
214 bpp = 4;
217 bpp = 3;
221 bpp = 2;
226 size_t bpr = (w*bpp + (align-1)) & ~(align-1);
228 stride = bpr / bpp;
  /system/core/adb/
framebuffer_service.cpp 43 unsigned int bpp; member in struct:fbinfo
94 fbinfo.bpp = 32;
108 fbinfo.bpp = 32;
122 fbinfo.bpp = 24;
136 fbinfo.bpp = 16;
150 fbinfo.bpp = 32;
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_tile_image.c 31 * 32bpp.
145 const uint bpp = util_format_get_blocksize(format); local
148 const uint tiles_per_row = src_stride / (tile_w * tile_h * bpp);
150 dst_stride /= bpp; /* convert from bytes to words */
152 if (bpp == 4) {
175 assert(bpp == 2);
193 const uint bpp = 4; local
195 const uint bytes_per_tile = tile_w * tile_h * bpp;
235 const uint bpp = util_format_get_blocksize(format); local
238 const uint tiles_per_row = dst_stride / (tile_w * tile_h * bpp);
282 const uint bpp = 4; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/radeon/server/
radeon_dri.h 70 int bpp; /**< \brief bit depth of display (8, 16, 24, 32) */ member in struct:__anon17069
  /external/mesa3d/src/mesa/swrast/
s_renderbuffer.c 61 GLuint bpp; local
119 bpp = _mesa_get_format_bytes(rb->Format);
127 srb->RowStride = width * bpp;
138 width, height, bpp);
  /external/opencv/otherlibs/highgui/
grfmt_imageio.cpp 127 int bpp; // Bytes per pixel local
146 bpp = 1;
152 bpp = 4; /* CG only has 8 and 32 bit color spaces, so we waste a byte */
158 bitmap = (uchar*)malloc( bpp * m_height * m_width );
169 bpp * m_width, /* bytes per row */
213 bitmapIndex += bpp;
282 int bpp = (_channels == 1) ? 1 : 4; local
289 if( bpp == 1 )
291 else if( bpp == 4 )
296 bitmapData = (uchar*)malloc( bpp * height * width )
    [all...]
  /external/skia/src/gpu/
GrAtlas.cpp 42 void GrPlot::init(GrAtlas* atlas, int id, int offX, int offY, int width, int height, size_t bpp,
48 fBytesPerPixel = bpp;
171 size_t bpp = GrBytesPerPixel(fPixelConfig); local
177 currPlot->init(this, y*numPlotsX+x, x, y, plotWidth, plotHeight, bpp, batchUploads);
  /hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
AnnRGBPlane.cpp 90 int bpp; local
110 if (!PixelFormat::convertFormat(mapper.getFormat(), spriteFormat, bpp)) {
123 linoff = srcY * stride + srcX * bpp + (mapper.getCrop().h - 1) * stride + (mapper.getCrop().w - 1) * bpp;
125 linoff = srcY * stride + srcX * bpp;
  /hardware/intel/img/hwcomposer/merrifield/ips/tangier/
TngSpritePlane.cpp 39 int bpp; local
58 if (!PixelFormat::convertFormat(mapper.getFormat(), spriteFormat, bpp)) {
67 linoff = srcY * stride + srcX * bpp;
  /hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
AnnRGBPlane.cpp 149 int bpp; local
169 if (!PixelFormat::convertFormat(mapper.getFormat(), spriteFormat, bpp)) {
182 linoff = srcY * stride + srcX * bpp + (mapper.getCrop().h - 1) * stride + (mapper.getCrop().w - 1) * bpp;
184 linoff = srcY * stride + srcX * bpp;

Completed in 684 milliseconds

1 2 3 4 5 6 7 8