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

1 2 3 4 5 6 7

  /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...]
  /external/chromium_org/content/common/gpu/client/
gpu_memory_buffer_impl.cc 34 size_t GpuMemoryBufferImpl::BytesPerPixel(unsigned internalformat) {
50 return size_.width() * BytesPerPixel(internalformat_);
gpu_memory_buffer_impl.h 25 static size_t BytesPerPixel(unsigned internalformat);
gpu_memory_buffer_impl_shm.cc 37 if (!shared_memory_->Map(size_.GetArea() * BytesPerPixel(internalformat_)))
  /external/chromium_org/skia/ext/
bitmap_platform_device.h 30 int bytesPerPixel = 4;
31 int64_t bytes = (int64_t)width * height * bytesPerPixel;
  /frameworks/base/graphics/java/android/graphics/
PixelFormat.java 89 info.bytesPerPixel = 4;
93 info.bytesPerPixel = 3;
100 info.bytesPerPixel = 2;
106 info.bytesPerPixel = 1;
111 info.bytesPerPixel = 1;
115 info.bytesPerPixel = 1;
136 public int bytesPerPixel;
  /external/chromium_org/third_party/skia/include/core/
SkImageInfo.h 116 int bytesPerPixel() const {
121 return fWidth * this->bytesPerPixel();
138 return (fHeight - 1) * rowBytes + fWidth * this->bytesPerPixel();
  /external/skia/include/core/
SkImageInfo.h 116 int bytesPerPixel() const {
121 return fWidth * this->bytesPerPixel();
138 return (fHeight - 1) * rowBytes + fWidth * this->bytesPerPixel();
  /external/chromium_org/chrome/browser/thumbnails/
content_analysis.cc 261 0, input_bitmap->bytesPerPixel(),
266 0, intermediate.bytesPerPixel(), false);
270 0, intermediate.bytesPerPixel(),
275 0, input_bitmap->bytesPerPixel(), false);
282 0, input_bitmap->bytesPerPixel(),
287 0, intermediate.bytesPerPixel(), true);
291 0, input_bitmap->bytesPerPixel(),
296 0, intermediate2.bytesPerPixel(), true);
304 0, input_bitmap->bytesPerPixel(),
309 0, intermediate.bytesPerPixel(), false)
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrTextStrike.cpp 300 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat);
305 SkASSERT(1 == bytesPerPixel);
313 size_t stride = width*bytesPerPixel;
315 size_t size = width * height * bytesPerPixel;
322 size_t dfSize = dfWidth * dfHeight * bytesPerPixel;
330 size_t dfStride = dfWidth*bytesPerPixel;
332 dfPtr += DISTANCE_FIELD_PAD*bytesPerPixel;
397 size_t size = glyph->fBounds.area() * bytesPerPixel;
401 glyph->width() * bytesPerPixel,
  /external/skia/src/gpu/
GrTextStrike.cpp 300 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat);
305 SkASSERT(1 == bytesPerPixel);
313 size_t stride = width*bytesPerPixel;
315 size_t size = width * height * bytesPerPixel;
322 size_t dfSize = dfWidth * dfHeight * bytesPerPixel;
330 size_t dfStride = dfWidth*bytesPerPixel;
332 dfPtr += DISTANCE_FIELD_PAD*bytesPerPixel;
397 size_t size = glyph->fBounds.area() * bytesPerPixel;
401 glyph->width() * bytesPerPixel,
  /external/chromium_org/ui/gl/
gl_image_shm.cc 52 GLenum BytesPerPixel(unsigned internalformat) {
110 size_t size = size_.GetArea() * BytesPerPixel(internalformat_);
  /external/chromium_org/cc/resources/
caching_bitmap_content_layer_updater.cc 49 DCHECK_GT(new_bitmap.bytesPerPixel(), 0);
  /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;
  /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();
  /frameworks/native/services/surfaceflinger/tests/resize/
resize.cpp 52 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_cl.py 30 'BUFFER_NOT_CREATED', 'BUF_DATA', 'BUF_FRAME', 'BytesPerPixel',
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_cl.py 30 'BUFFER_NOT_CREATED', 'BUF_DATA', 'BUF_FRAME', 'BytesPerPixel',
  /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;
  /pdk/apps/CameraITS/service/src/com/android/camera2/its/
ItsUtils.java 133 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8;
134 if (pixelStride == bytesPerPixel) {
136 int length = w * bytesPerPixel;

Completed in 507 milliseconds

1 2 3 4 5 6 7