HomeSort by relevance Sort by last modified time
    Searched defs:pixels (Results 101 - 125 of 252) sorted by null

1 2 3 45 6 7 8 91011

  /external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
CameraConfigurationManager.java 140 int pixels = supportedPreviewSize.height * supportedPreviewSize.width; local
141 if (pixels < MIN_PREVIEW_PIXELS || pixels > MAX_PREVIEW_PIXELS) {
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapTest.java 89 int[] pixels = new int[100]; local
90 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10);
93 assertEquals("getPixels", p, pixels[i]);
114 int[] pixels = new int[100]; local
115 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10);
118 assertEquals("getPixels", p, pixels[i]);
  /frameworks/base/libs/hwui/
GradientCache.cpp 244 uint8_t pixels[rowBytes * texture->height]; local
268 uint8_t* dst = pixels;
285 memcpy(pixels + rowBytes, pixels, rowBytes);
294 GL_RGBA, GL_FLOAT, pixels);
297 GL_RGBA, GL_UNSIGNED_BYTE, pixels);
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
AutoFixFilter.java 276 int pixels = (width - 2 * x_border_thickness) * (height - 2 * y_border_thickness); local
293 long temp = (256 * 256 - 1l) * histArray[i] / pixels;
  /frameworks/base/tests/touchlag/
touchlag.cpp 46 uint32_t* pixels; member in union:Buffer::__anon38554
51 android_memset32(buf->pixels, pixel, buf->s * buf->h * 4);
56 uint32_t* bits = buf->pixels + y * buf->s;
78 uint32_t* bits = buf->pixels + y * buf->s + x;
97 uint32_t* bits = buf->pixels + y * buf->s + x;
  /frameworks/native/opengl/tests/gl_perf/
fill_common.cpp 125 double pixels = (gWidth * gHeight) * count; local
126 double mpps = pixels / delta / 1000000;
  /frameworks/native/opengl/tests/tritex/
tritex.cpp 210 const unsigned int pixels[] = local
223 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
IccUtils.java 395 int[] pixels = new int[numOfPixels]; local
406 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01);
412 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
IccUtils.java 395 int[] pixels = new int[numOfPixels]; local
406 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01);
412 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
HistogramView.java 47 int[] pixels = new int[w * h]; local
48 bitmap.getPixels(pixels, 0, w, 0, 0, w, h);
52 int r = Color.red(pixels[index]);
53 int g = Color.green(pixels[index]);
54 int b = Color.blue(pixels[index]);
  /sdk/emulator/opengl/tests/translator_tests/GLES_CM/
triangleCM.cpp 217 unsigned char *pixels = NULL; local
219 pixels = genPalette4_rgb8(TEX_WIDTH,TEX_HEIGHT,3);
220 glCompressedTexImage2D(GL_TEXTURE_2D,0,GL_PALETTE4_RGB8_OES,TEX_WIDTH,TEX_HEIGHT,0,3*16+TEX_WIDTH*TEX_HEIGHT/2,pixels);
223 pixels = genTexture(TEX_WIDTH, TEX_HEIGHT, 4);
224 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, TEX_WIDTH, TEX_HEIGHT, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
227 delete pixels;
246 pixels = genPalette4_rgb8(TEX_WIDTH,TEX_HEIGHT,1);
247 glCompressedTexSubImage2D(GL_TEXTURE_2D,0,TEX_WIDTH/4,TEX_HEIGHT/4,TEX_WIDTH/8,TEX_HEIGHT/8,GL_PALETTE4_RGB8_OES,3*16+(TEX_WIDTH*TEX_HEIGHT/128),pixels);
249 pixels = genRedTexture(TEX_WIDTH/8, TEX_HEIGHT/8, 4);
250 glTexSubImage2D(GL_TEXTURE_2D,0,TEX_WIDTH/4,TEX_HEIGHT/4,TEX_WIDTH/8,TEX_HEIGHT/8,GL_RGBA,GL_UNSIGNED_BYTE,pixels);
    [all...]
  /system/extras/tests/bionic/libc/other/
test_jpeg.c 147 char* pixels; local
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
BackingStore.java 605 ByteBuffer pixels = (ByteBuffer) backing.lock(ACCESS_BYTES); local
606 mTexture.allocateWithPixels(pixels, mDimensions[0], mDimensions[1]);
627 ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); local
628 allocation.copyTo(pixels.array());
629 mTexture.allocateWithPixels(pixels, mDimensions[0], mDimensions[1]);
846 ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); local
847 GLToolbox.readTarget(target, pixels, mDimensions[0], mDimensions[1]);
848 mAllocation.copyFrom(pixels.array());
  /development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
ImagePixelization.java 150 * pixels within some region are averaged, and that average pixel value is then
151 * applied to all the pixels within that region. A higher pixelization factor
174 int[] pixels = new int[yPixels * xPixels]; local
198 Arrays.fill(pixels, pixel);
203 mPixelatedBitmap.setPixels(pixels, 0 , w, x , y, w, h);
276 * pixels manually or the one that uses built-in bitmap operations.
  /external/chromium_org/content/browser/compositor/
delegated_frame_host.cc 495 uint8* pixels = static_cast<uint8*>(bitmap->getPixels()); local
510 pixels,
604 // pixels.
  /external/chromium_org/printing/
emf_win.cc 413 const uint32_t* pixels = local
415 if (pixels == NULL) {
426 pixels,
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
videoadapter.cc 95 float pixels = static_cast<float>(width * height); local
98 float test_num_pixels = pixels * scale * scale;
253 // Constrain output resolution to this many pixels overall
455 // Helper function to UPGRADE or DOWNGRADE a number of pixels
506 << " Pixels: " << view_desired_num_pixels_
585 << " Pixels: " << encoder_desired_num_pixels_
675 bool CoordinatedVideoAdapter::IsMinimumFormat(int pixels) {
689 pixels);
775 << " Pixels: " << min_num_pixels
  /external/chromium_org/third_party/skia/src/ports/
SkImageDecoder_WIC.cpp 230 //Copy the pixels into the bitmap.
236 NULL, //Get all the pixels
322 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap->getPixels()); local
325 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel();
416 //Write the pixels into the frame.
  /external/chromium_org/third_party/skia/tests/
ReadPixelsTest.cpp 101 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels()); local
104 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
123 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels()); local
126 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel());
152 // checks the bitmap contains correct pixels after the readPixels
153 // if the bitmap was prefilled with pixels it checks that these weren't
350 // if the bitmap has pixels allocated before the readPixels,
365 // read pixels should never change the gen id
372 // if we had no pixels beforehand and the readPixels
373 // failed then our bitmap should still not have pixels
    [all...]
  /external/opencv/
cvjni.cpp 170 int *pixels = env->GetIntArrayElements(array_data, 0); local
171 if (pixels == 0) {
172 LOGE("Error getting int array of pixels.");
176 IplImage *image = loadPixels(pixels, width, height);
177 env->ReleaseIntArrayElements(array_data, pixels, 0);
677 int* pixels;
706 pixels = env->GetIntArrayElements(photo_data1, 0);
707 frameImage = loadPixels(pixels, width, height);
717 pixels = env->GetIntArrayElements(photo_data2, 0);
718 frameImage = loadPixels(pixels, width, height);
    [all...]
  /external/pixman/demos/
scale.c 268 uint32_t *pixels; local
270 pixels = calloc (1, area->width * area->height * 4);
272 PIXMAN_a8r8g8b8, area->width, area->height, pixels, area->width * 4);
284 (uint8_t *)pixels, CAIRO_FORMAT_ARGB32,
295 free (pixels);
  /external/qemu/android/skin/
surface.c 27 uint32_t* pixels; member in struct:SkinSurface
114 void* pixels,
130 return SDL_CreateRGBSurfaceFrom( pixels, width, height, pitch, depth,
137 void* pixels )
142 s->pixels = pixels;
149 free(pixels);
194 uint32_t* pixels,
208 memcpy( pixcopy, pixels, size );
212 pixcopy ? pixcopy : pixels,
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_surface.c 113 surface->pixels = NULL;
122 /* Get the pixels */
126 surface->pixels = SDL_malloc(surface->h*surface->pitch);
127 if ( surface->pixels == NULL ) {
133 SDL_memset(surface->pixels, 0, surface->h*surface->pitch);
154 SDL_Surface * SDL_CreateRGBSurfaceFrom (void *pixels,
164 surface->pixels = pixels;
318 buf = (Uint8 *)surface->pixels + row * surface->pitch + offset;
603 row = (Uint8 *)dst->pixels+dstrect->y*dst->pitch
689 Uint16 *pixels = (Uint16 *)row; local
710 Uint8 *pixels = row; local
    [all...]
  /external/skia/src/ports/
SkImageDecoder_WIC.cpp 230 //Copy the pixels into the bitmap.
236 NULL, //Get all the pixels
322 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap->getPixels()); local
325 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel();
416 //Write the pixels into the frame.
  /external/skia/tests/
ReadPixelsTest.cpp 101 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels()); local
104 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
123 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels()); local
126 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel());
152 // checks the bitmap contains correct pixels after the readPixels
153 // if the bitmap was prefilled with pixels it checks that these weren't
350 // if the bitmap has pixels allocated before the readPixels,
365 // read pixels should never change the gen id
372 // if we had no pixels beforehand and the readPixels
373 // failed then our bitmap should still not have pixels
    [all...]

Completed in 2171 milliseconds

1 2 3 45 6 7 8 91011