/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;
|
/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/libpng/intel/ |
intel_init.c | 21 png_init_filter_functions_sse2(png_structp pp, unsigned int bpp) 25 * So they generally speed up 3bpp images about 3x, 4bpp images about 4x. 26 * They can scale up to 6 and 8 bpp images and down to 2 bpp images, 27 * but they'd not likely have any benefit for 1bpp images. 32 if (bpp == 3) 39 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/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;
|
/hardware/qcom/display/msm8998/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;
|
/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/libpng/powerpc/ |
powerpc_init.c | 54 png_init_filter_functions_vsx(png_structp pp, unsigned int bpp) 110 if (bpp == 3) 117 else if (bpp == 4)
|
filter_vsx_intrinsics.c | 164 #define vsx_char_to_short(vec,offset,bpp) (vector unsigned short)vec_perm((vec),VSX_CHAR_ZERO,VSX_CHAR_TO_SHORT##offset##_##bpp) 165 #define vsx_short_to_char(vec,offset,bpp) vec_perm(((vector unsigned char)(vec)),VSX_CHAR_ZERO,VSX_SHORT_TO_CHAR##offset##_##bpp) 176 const png_byte bpp = 4; local 181 vsx_declare_common_vars(row_info,row,prev_row,bpp) 191 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff); 198 for(i=0;i < bpp ; i++) 200 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff); 203 rp -= bpp; 233 const png_byte bpp = 3; local 297 const png_byte bpp = 4; local 384 const png_byte bpp = 3; local 502 const png_byte bpp = 4; local 622 const png_byte bpp = 3; local [all...] |
/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/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
format_traits.h | 58 static const uint32_t bpp{ 0 }; 78 static const uint32_t bpp{ 128 }; 100 static const uint32_t bpp{ 128 }; 122 static const uint32_t bpp{ 128 }; 144 static const uint32_t bpp{ 128 }; 166 static const uint32_t bpp{ 128 }; 188 static const uint32_t bpp{ 128 }; 210 static const uint32_t bpp{ 128 }; 232 static const uint32_t bpp{ 128 }; 254 static const uint32_t bpp{ 96 } [all...] |
/frameworks/av/include/private/media/ |
VideoFrame.h | 41 uint32_t angle, uint32_t bpp, bool hasData, size_t iccSize): 45 mRotationAngle(angle), mBytesPerPixel(bpp), mRowBytes(bpp * width), 46 mSize(hasData ? (bpp * width * height) : 0),
|
/hardware/intel/img/hwcomposer/merrifield/ips/penwell/ |
PnwGrallocBuffer.h | 33 int bpp; member in struct:android::intel::PnwIMGGrallocBuffer
|