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

1 2 3 4 5 6

  /cts/tests/tests/graphics/src/android/graphics/cts/
PixelFormatTest.java 44 assertEquals(4, mPixelFormat.bytesPerPixel);
48 assertEquals(4, mPixelFormat.bytesPerPixel);
52 assertEquals(3, mPixelFormat.bytesPerPixel);
56 assertEquals(2, mPixelFormat.bytesPerPixel);
60 assertEquals(2, mPixelFormat.bytesPerPixel);
64 assertEquals(2, mPixelFormat.bytesPerPixel);
68 assertEquals(1, mPixelFormat.bytesPerPixel);
72 assertEquals(1, mPixelFormat.bytesPerPixel);
76 assertEquals(2, mPixelFormat.bytesPerPixel);
80 assertEquals(1, mPixelFormat.bytesPerPixel);
    [all...]
  /frameworks/base/core/jni/
android_graphics_PixelFormat.cpp 34 jfieldID bytesPerPixel;
53 info.bytesPerPixel = 1;
58 info.bytesPerPixel = 1;
63 info.bytesPerPixel = 1;
75 env->SetIntField(pixelFormatObject, offsets.bytesPerPixel, info.bytesPerPixel);
94 offsets.bytesPerPixel = env->GetFieldID(clazz, "bytesPerPixel", "I");
  /external/webkit/Source/WebCore/platform/image-decoders/webp/
WEBPImageDecoder.cpp 80 static const int bytesPerPixel = 3;
99 int stride = width * bytesPerPixel;
136 buffer.setRGBA(x, y, src[bytesPerPixel * x + 0], src[bytesPerPixel * x + 1], src[bytesPerPixel * x + 2], 0xff);
  /frameworks/native/libs/ui/
PixelFormat.cpp 73 size = width * bytesPerPixel;
78 ssize_t bytesPerPixel(PixelFormat format)
82 return (err < 0) ? err : info.bytesPerPixel;
112 info->bytesPerPixel = 1;
128 info->bytesPerPixel = i->size;
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
PFMLoader.java 108 int bytesPerPixel = format.getBitsPerPixel() / 8;
109 int scanLineBytes = bytesPerPixel * width;
111 ByteBuffer imageData = BufferUtils.createByteBuffer(width * height * bytesPerPixel);
112 byte[] scanline = new byte[width * bytesPerPixel];
  /external/qemu/distrib/sdl-1.2.15/docs/man3/
SDL_PixelFormat.3 10 Uint8 BytesPerPixel;
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_blit.c 80 (Uint16)srcrect->x*src->format->BytesPerPixel;
83 info.s_skip=src->pitch-info.s_width*src->format->BytesPerPixel;
86 (Uint16)dstrect->x*dst->format->BytesPerPixel;
89 info.d_skip=dst->pitch-info.d_width*dst->format->BytesPerPixel;
161 w = info->d_width*info->dst->BytesPerPixel;
209 w = info->d_width*info->dst->BytesPerPixel;
316 switch ( surface->format->BytesPerPixel ) {
  /external/qemu/distrib/sdl-1.2.15/src/video/riscos/
SDL_riscossprite.c 50 int bytesPerPixel;
56 case 32: bytesPerPixel = 4; break;
57 case 16: bytesPerPixel = 2; break;
59 bytesPerPixel = 1;
67 bytesPerRow = bytesPerPixel * width;
SDL_riscosvideo.c 199 vformat->BytesPerPixel = 2;
207 vformat->BytesPerPixel = 4;
214 vformat->BytesPerPixel = 1;
  /frameworks/native/include/ui/
PixelFormat.h 100 size_t bytesPerPixel;
122 ssize_t bytesPerPixel(PixelFormat format);
  /frameworks/base/libs/hwui/
GradientCache.cpp 120 const uint32_t size = texture->width * texture->height * bytesPerPixel();
183 const uint32_t size = texture->width * texture->height * bytesPerPixel();
196 size_t GradientCache::bytesPerPixel() const {
244 const GLsizei rowBytes = width * bytesPerPixel();
TextureCache.cpp 248 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
254 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
263 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
  /frameworks/native/services/surfaceflinger/tests/resize/
resize.cpp 52 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format);
  /external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
SDL_fbmatrox.c 80 switch (dst->format->BytesPerPixel) {
156 pitch = dst->pitch/dst->format->BytesPerPixel;
191 switch (dst->format->BytesPerPixel) {
  /external/qemu/distrib/sdl-1.2.15/test/
graywin.c 38 if (screen->format->BytesPerPixel==1)
75 if (screen->format->BytesPerPixel!=2) {
77 memset(buffer,(i*(NUM_COLORS-1))/screen->h, screen->w * screen->format->BytesPerPixel);
testoverlay.c 113 p+=s->format->BytesPerPixel;
153 p+=s->format->BytesPerPixel;
186 p+=s->format->BytesPerPixel;
222 p+=s->format->BytesPerPixel;
258 p+=s->format->BytesPerPixel;
498 format.BytesPerPixel=4;
testoverlay2.c 118 p+=s->format->BytesPerPixel;
151 p+=s->format->BytesPerPixel;
184 p+=s->format->BytesPerPixel;
220 p+=s->format->BytesPerPixel;
256 p+=s->format->BytesPerPixel;
443 format.BytesPerPixel=4;
  /external/skia/src/gpu/
GrTextStrike.cpp 188 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat);
189 size_t size = glyph->fBounds.area() * bytesPerPixel;
193 glyph->width() * bytesPerPixel,
  /external/qemu/distrib/sdl-1.2.15/docs/html/
sdlpixelformat.html 96 Uint8 BytesPerPixel;
170 >BytesPerPixel</I
303 >BytesPerPixel</I
308 >BytesPerPixel</I
  /external/qemu/distrib/sdl-1.2.15/src/video/picogui/
SDL_pgvideo.c 178 vformat->BytesPerPixel = this->hidden->mi.bpp >> 3;
180 vformat->BytesPerPixel++;
245 current->format->BytesPerPixel = this->hidden->shm.bpp >> 3;
247 current->format->BytesPerPixel++;
  /external/quake/quake/src/QW/client/
vid_svgalib.c 272 if (modes[modenum].bytesperpixel == 0)
275 Con_Printf("%d bpp\n", modes[modenum].bytesperpixel<<3);
285 if (modes[i].bytesperpixel == 0)
288 Con_Printf("%d bpp\n", modes[i].bytesperpixel<<3);
315 Con_Printf("bpp: %d\n",modes[current_mode].bytesperpixel*8);
342 if (modes[i].bytesperpixel != 1 && modes[i].colors != 256)
372 + (modes[i].bytesperpixel == depth/8)*4;
495 VGA_planar = modes[current_mode].bytesperpixel == 0;
1008 vid.width, vid.height, modes[current_mode].bytesperpixel*8);
  /external/quake/quake/src/WinQuake/
vid_svgalib.cpp 271 if (modes[modenum].bytesperpixel == 0)
274 Con_Printf("%d bpp\n", modes[modenum].bytesperpixel<<3);
284 if (modes[i].bytesperpixel == 0)
287 Con_Printf("%d bpp\n", modes[i].bytesperpixel<<3);
314 Con_Printf("bpp: %d\n",modes[current_mode].bytesperpixel*8);
341 if (modes[i].bytesperpixel != 1 && modes[i].colors != 256)
371 + (modes[i].bytesperpixel == depth/8)*4;
494 VGA_planar = modes[current_mode].bytesperpixel == 0;
995 vid.width, vid.height, modes[current_mode].bytesperpixel*8);
  /frameworks/base/graphics/java/android/graphics/
PixelFormat.java 104 public int bytesPerPixel;
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
ToRGBAFilter.java 80 throw new RuntimeException("Unsupported BytesPerPixel: " + mInputBPP + "!");
ToRGBFilter.java 80 throw new RuntimeException("Unsupported BytesPerPixel: " + mInputBPP + "!");

Completed in 1158 milliseconds

1 2 3 4 5 6