/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
PixelFormat.cpp | 23 bool PixelFormat::convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp) 28 bpp = 4; 32 bpp = 4; 36 bpp = 4; 40 bpp = 4; 44 bpp = 2;
|
PixelFormat.h | 35 static bool convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
PixelFormat.cpp | 24 bool PixelFormat::convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp) 29 bpp = 4; 33 bpp = 4; 37 bpp = 4; 41 bpp = 4; 45 bpp = 2;
|
PixelFormat.h | 35 static bool convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp);
|
/external/libpng/contrib/intel/ |
intel_init.c | 22 png_init_filter_functions_sse2(png_structp pp, unsigned int bpp) 26 * So they generally speed up 3bpp images about 3x, 4bpp images about 4x. 27 * They can scale up to 6 and 8 bpp images and down to 2 bpp images, 28 * but they'd not likely have any benefit for 1bpp images. 33 if (bpp == 3) 40 else if (bpp == 4)
|
/external/pdfium/third_party/libpng16/contrib/intel/ |
intel_init.c | 22 png_init_filter_functions_sse2(png_structp pp, unsigned int bpp) 26 * So they generally speed up 3bpp images about 3x, 4bpp images about 4x. 27 * They can scale up to 6 and 8 bpp images and down to 2 bpp images, 28 * but they'd not likely have any benefit for 1bpp images. 33 if (bpp == 3) 40 else if (bpp == 4)
|
/external/skia/third_party/libpng/contrib/intel/ |
intel_init.c | 22 png_init_filter_functions_sse2(png_structp pp, unsigned int bpp) 26 * So they generally speed up 3bpp images about 3x, 4bpp images about 4x. 27 * They can scale up to 6 and 8 bpp images and down to 2 bpp images, 28 * but they'd not likely have any benefit for 1bpp images. 33 if (bpp == 3) 40 else if (bpp == 4)
|
/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...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
map_v4v6.c | 112 _map_v4v6_hostent(struct hostent *hp, char **bpp, int *lenp)
121 int i = (int)(sizeof(align) - ((size_t)*bpp % sizeof(align)));
128 *bpp += i;
130 _map_v4v6_address(*ap, *bpp);
131 *ap = *bpp;
132 *bpp += IN6ADDRSZ;
|
/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...] |
/hardware/qcom/display/msm8996/libgralloc1/ |
gr_utils.cpp | 103 uint32_t bpp = 0; local 106 bpp = 8; 120 bpp = 4; 123 bpp = 3; 129 bpp = 2; 136 return bpp;
|
/external/libvncserver/examples/ |
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; 88 newfb = (unsigned char*)malloc(maxx * maxy * bpp); 90 rfbNewFramebuffer(screen, (char*)newfb, maxx, maxy, 8, 3, bpp); [all...] |
/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...] |
hextile.c | 76 rfbLog("rfbSendRectEncodingHextile: bpp %d?\n", cl->format.bitsPerPixel); 92 #define DEFINE_SEND_HEXTILES(bpp) \ 95 static rfbBool subrectEncode##bpp(rfbClientPtr cli, uint##bpp##_t *data, \ 96 int w, int h, uint##bpp##_t bg, uint##bpp##_t fg, rfbBool mono);\ 97 static void testColours##bpp(uint##bpp##_t *data, int size, rfbBool *mono, \ 98 rfbBool *solid, uint##bpp##_t *bg, uint##bpp##_t *fg); [all...] |
corre.c | 42 static uint32_t getBgColour(char *data, int size, int bpp); 130 rfbLog("getBgColour: bpp %d?\n",cl->format.bitsPerPixel); 204 #define DEFINE_SUBRECT_ENCODE(bpp) \ 206 subrectEncode##bpp(rfbClientPtr client, uint##bpp##_t *data, int w, int h) { \ 207 uint##bpp##_t cl; \ 213 uint##bpp##_t *seg; \ 214 uint##bpp##_t *line; \ 219 uint##bpp##_t bg = (uint##bpp##_t)getBgColour((char*)data,w*h,bpp); [all...] |
rre.c | 41 static uint32_t getBgColour(char *data, int size, int bpp); 97 rfbLog("getBgColour: bpp %d?\n",cl->format.bitsPerPixel); 171 #define DEFINE_SUBRECT_ENCODE(bpp) \ 173 subrectEncode##bpp(rfbClientPtr client, uint##bpp##_t *data, int w, int h) { \ 174 uint##bpp##_t cl; \ 180 uint##bpp##_t *seg; \ 181 uint##bpp##_t *line; \ 186 uint##bpp##_t bg = (uint##bpp##_t)getBgColour((char*)data,w*h,bpp); [all...] |
/external/drm_gralloc/ |
gralloc_drm.h | 50 int bpp; local 56 bpp = 4; 59 bpp = 3; 63 bpp = 2; 70 bpp = 1; 73 bpp = 0; 77 return bpp;
|
/hardware/qcom/display/msm8998/libgralloc1/ |
gr_utils.cpp | 102 uint32_t bpp = 0; local 108 bpp = 4; 111 bpp = 3; 117 bpp = 2; 124 return bpp;
|
/external/libpng/arm/ |
arm_init.c | 57 png_init_filter_functions_neon(png_structp pp, unsigned int bpp) 118 if (bpp == 3) 126 else if (bpp == 4)
|
/external/libpng/mips/ |
mips_init.c | 58 png_init_filter_functions_msa(png_structp pp, unsigned int bpp) 114 if (bpp == 3) 121 else if (bpp == 4)
|
/external/pdfium/third_party/libpng16/arm/ |
arm_init.c | 57 png_init_filter_functions_neon(png_structp pp, unsigned int bpp) 118 if (bpp == 3) 126 else if (bpp == 4)
|
/external/skia/third_party/libpng/arm/ |
arm_init.c | 57 png_init_filter_functions_neon(png_structp pp, unsigned int bpp) 118 if (bpp == 3) 126 else if (bpp == 4)
|
/hardware/intel/img/hwcomposer/merrifield/ips/penwell/ |
PnwGrallocBuffer.h | 33 int bpp; member in struct:android::intel::PnwIMGGrallocBuffer
|
/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/syslinux/efi/ |
vesa.c | 154 * The code below treats bpp == lfb_depth ; verify 161 mi->bpp = sizeof(EFI_GRAPHICS_OUTPUT_BLT_PIXEL) * 8; 167 mi->logical_scan = lfb_line_size = (mode_info->PixelsPerScanLine * mi->bpp) / 8; 169 dprintf("bpp %d pixperScanLine %d logical_scan %d bytesperPix %d\n", mi->bpp, mode_info->PixelsPerScanLine, 170 mi->logical_scan, (mi->bpp + 7)>>3); 175 mi->bpp = sizeof(EFI_GRAPHICS_OUTPUT_BLT_PIXEL) * 8; 181 mi->logical_scan = lfb_line_size = (mode_info->PixelsPerScanLine * mi->bpp) / 8; 183 dprintf("bpp %d pixperScanLine %d logical_scan %d bytesperPix %d\n", mi->bpp, mode_info->PixelsPerScanLine, [all...] |