HomeSort by relevance Sort by last modified time
    Searched refs:pixels (Results 301 - 325 of 959) sorted by null

<<11121314151617181920>>

  /external/ImageMagick/coders/
pdb.c 157 % DecodeImage unpacks the packed image pixels into runlength-encoded
162 % MagickBooleanType DecodeImage(Image *image,unsigned char *pixels,
169 % o pixels: The address of a byte (8 bits) array of pixel data created by
172 % o length: Number of bytes to read into buffer 'pixels'.
175 static MagickBooleanType DecodeImage(Image *image, unsigned char *pixels,
186 for (p = pixels; p < pixels + length; p++) {
316 *pixels;
423 pixels=(unsigned char *) AcquireQuantumMemory(packets+257UL,image->rows*
424 sizeof(*pixels));
311 *pixels; local
    [all...]
pango.c 171 *pixels;
388 pixel_info=AcquireVirtualMemory(image->rows,stride*sizeof(*pixels));
395 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
396 surface=cairo_image_surface_create_for_data(pixels,CAIRO_FORMAT_ARGB32,
415 p=pixels;
169 *pixels; local
xwd.c 702 *pixels;
827 Allocate memory for pixels.
832 pixels=(unsigned char *) AcquireQuantumMemory(length,sizeof(*pixels));
833 if (pixels == (unsigned char *) NULL)
835 (void) ResetMagickMemory(pixels,0,length);
837 Convert MIFF to XWD raster pixels.
845 q=pixels;
864 (void) WriteBlob(image,(size_t) (q-pixels),pixels);
695 *pixels; local
    [all...]
  /external/ImageMagick/www/api/
feature.php 89 <dd>percentage of edge pixels in the lower threshold. </dd>
93 <dd>percentage of edge pixels in the upper threshold. </dd>
176 <p>MeanShiftImage() delineate arbitrarily shaped clusters in the image. For each pixel, it visits all the pixels in the neighborhood specified by the window centered at the pixel and excludes those that are outside the radius=(window-1)/2 surrounding the pixel. From those pixels, it finds those that are within the specified color distance from the current mean, and computes a new x,y centroid from those coordinates and a new mean. This new x,y centroid is used as the center for a new window. This process iterates until it converges and the final mean is replaces the (original window center) pixel value. It repeats this process for the next pixel, etc., until it processes all pixels in the image. Results are typically better with colorspaces other than sRGB. We recommend YIQ, YUV or YCbCr.</p>
198 <dd>find pixels in this neighborhood. </dd>
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_pixel_bitmap.c 316 * - per pixel or run of pixels
330 const GLubyte * pixels)
336 unpack, pixels))
339 _mesa_meta_Bitmap(ctx, x, y, width, height, unpack, pixels);
  /external/mesa3d/src/mesa/drivers/x11/
xm_dd.c 344 const GLvoid *pixels )
361 format, type, INT_MAX, pixels)) {
376 pixels = ADD_POINTERS(buf, pixels);
404 ximage.data = (char *) pixels
426 format, type, unpack, pixels);
478 const GLvoid *pixels )
495 format, type, INT_MAX, pixels)) {
510 pixels = ADD_POINTERS(buf, pixels);
    [all...]
  /external/skia/samplecode/
SampleHairline.cpp 41 static bool check_zeros(const SkPMColor pixels[], int count, int skip) {
43 if (*pixels) {
46 pixels += skip;
  /external/skia/src/core/
SkPixelRef.cpp 102 void SkPixelRef::setPreLocked(void* pixels, size_t rowBytes, SkColorTable* ctable) {
103 SkASSERT(pixels);
107 fRec.fPixels = pixels;
130 // no pixels, so we failed (somehow)
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_render.h 229 * \param w The width of the texture in pixels.
230 * \param h The height of the texture in pixels.
268 * \param w A pointer filled in with the width of the texture in pixels.
269 * \param h A pointer filled in with the height of the texture in pixels.
371 * \param rect A pointer to the rectangle of pixels to update, or NULL to
373 * \param pixels The raw pixel data.
382 const void *pixels, int pitch);
388 * \param rect A pointer to the rectangle of pixels to update, or NULL to
416 * \param pixels This is filled in with a pointer to the locked pixels,
    [all...]
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_render.h 229 * \param w The width of the texture in pixels.
230 * \param h The height of the texture in pixels.
268 * \param w A pointer filled in with the width of the texture in pixels.
269 * \param h A pointer filled in with the height of the texture in pixels.
371 * \param rect A pointer to the rectangle of pixels to update, or NULL to
373 * \param pixels The raw pixel data.
382 const void *pixels, int pitch);
388 * \param rect A pointer to the rectangle of pixels to update, or NULL to
416 * \param pixels This is filled in with a pointer to the locked pixels,
    [all...]
  /prebuilts/misc/windows/sdl2/include/
SDL_render.h 229 * \param w The width of the texture in pixels.
230 * \param h The height of the texture in pixels.
268 * \param w A pointer filled in with the width of the texture in pixels.
269 * \param h A pointer filled in with the height of the texture in pixels.
371 * \param rect A pointer to the rectangle of pixels to update, or NULL to
373 * \param pixels The raw pixel data.
382 const void *pixels, int pitch);
388 * \param rect A pointer to the rectangle of pixels to update, or NULL to
416 * \param pixels This is filled in with a pointer to the locked pixels,
    [all...]
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_render.h 229 * \param w The width of the texture in pixels.
230 * \param h The height of the texture in pixels.
268 * \param w A pointer filled in with the width of the texture in pixels.
269 * \param h A pointer filled in with the height of the texture in pixels.
371 * \param rect A pointer to the rectangle of pixels to update, or NULL to
373 * \param pixels The raw pixel data.
382 const void *pixels, int pitch);
388 * \param rect A pointer to the rectangle of pixels to update, or NULL to
416 * \param pixels This is filled in with a pointer to the locked pixels,
    [all...]
  /external/skia/gm/
image_pict.cpp 115 bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
130 memcpy(pixels, fBM.getAddr8(0, y), fBM.width());
131 pixels = (char*)pixels + rowBytes;
138 return fBM.readPixels(info, pixels, rowBytes, 0, 0);
  /external/skia/src/image/
SkImage_Gpu.cpp 89 static void apply_premul(const SkImageInfo& info, void* pixels, size_t rowBytes) {
102 SkColor* row = (SkColor*)pixels;
110 bool SkImage_Gpu::onReadPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
120 pixels, rowBytes, flags)) {
132 apply_premul(info, pixels, rowBytes);
  /external/skia/tests/
WritePixelsTest.cpp 191 // Can't use canvas->peekPixels(), as we are trying to look at GPU pixels sometimes as well.
270 static void free_pixels(void* pixels, void* ctx) {
271 sk_free(pixels);
383 // we should change the genID iff pixels were actually written.
398 void* pixels = sk_malloc_throw(size); local
401 memset(pixels, DEV_PAD, size);
403 SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterDirectReleaseProc(info, pixels, rowBytes, free_pixels, nullptr));
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 265 public void readPixelData(ByteBuffer pixels, int width, int height) {
266 GLToolbox.readTarget(this, pixels, width, height);
270 ByteBuffer pixels = ByteBuffer.allocateDirect(width * height * 4); local
271 GLToolbox.readTarget(this, pixels, width, height);
272 return pixels;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageCurves.java 342 int[] pixels = new int[w * h]; local
343 bitmap.getPixels(pixels, 0, w, 0, 0, w, h);
347 int r = Color.red(pixels[index]);
348 int g = Color.green(pixels[index]);
349 int b = Color.blue(pixels[index]);
  /prebuilts/misc/windows/sdl2/test/
testsprite2.c 69 SDL_SetColorKey(temp, 1, *(Uint8 *) temp->pixels);
73 SDL_SetColorKey(temp, 1, (*(Uint16 *) temp->pixels) & 0x00007FFF);
76 SDL_SetColorKey(temp, 1, *(Uint16 *) temp->pixels);
79 SDL_SetColorKey(temp, 1, (*(Uint32 *) temp->pixels) & 0x00FFFFFF);
82 SDL_SetColorKey(temp, 1, *(Uint32 *) temp->pixels);
  /external/ImageMagick/MagickCore/
effect.c 123 % o radius: the radius of the Gaussian, in pixels, not counting the center
126 % o sigma: the standard deviation of the Laplacian, in pixels.
326 *magick_restrict pixels;
347 pixels=p;
359 pixel+=(*k)*pixels[i];
362 pixels+=GetPixelChannels(image);
376 alpha=(double) (QuantumScale*GetPixelAlpha(image,pixels));
377 pixel+=(*k)*alpha*pixels[i];
380 pixels+=GetPixelChannels(image);
445 % o radius: the radius of the Gaussian, in pixels, not counting the cente
324 *magick_restrict pixels; local
645 *magick_restrict pixels; local
993 *magick_restrict pixels; local
1779 *pixels; local
1857 *pixels; local
3237 *magick_restrict pixels; local
    [all...]
quantize.c 50 % For purposes of color allocation, an image is a set of n pixels, where
104 % n1: Number of pixels whose color is contained in the RGB cube which
107 % n2: Number of pixels whose color is not represented in a node at
112 % pixels not classified at a lower depth. The combination of these sums
114 % pixels represented by this node.
141 % For each node, n2 pixels exist for which that node represents the
149 % pixels whose colors should be defined by nodes at a lower level in the
161 % color of all pixels that classify no lower than this node. Each of
423 % color of all pixels that classify no lower than this node. Each of
716 % n1 : Number of pixels whose color is contained in the RGB cub
1443 **pixels; local
1495 **pixels; local
    [all...]
cipher.c 510 % PasskeyDecipherImage() converts cipher pixels to plain pixels.
523 % o passphrase: decipher cipher pixels with this passphrase.
525 % o passkey: decrypt cipher pixels with this passkey.
610 *pixels;
655 Convert cipher pixels to plain pixels.
665 pixels=(unsigned char *) GetQuantumPixels(quantum_info);
680 pixels,exception);
681 p=pixels;
601 *pixels; local
814 *pixels; local
    [all...]
  /external/deqp/modules/gles3/functional/
es3fRasterizerDiscardTests.cpp 351 // Draw a full-screen square that colors all pixels red if they have stencil value 1.
374 tcu::Surface pixels(renderTarget.getWidth(), renderTarget.getHeight());
375 glu::readPixels(m_context.getRenderContext(), 0, 0, pixels.getAccess());
378 int width = pixels.getWidth();
379 int height = pixels.getHeight();
385 if (pixels.getPixel(x,y).getBlue() != 0)
388 if (pixels.getPixel(x,y).getRed() != 0)
408 log << TestLog::Image ("Result image", "Result image", pixels);
es3fShaderPrecisionTests.cpp 369 std::vector<float> pixels (FRAMEBUFFER_WIDTH*FRAMEBUFFER_HEIGHT*4);
402 gl.readPixels(0, 0, FRAMEBUFFER_WIDTH, FRAMEBUFFER_HEIGHT, GL_RGBA_INTEGER, GL_UNSIGNED_INT, &pixels[0]);
405 log << TestLog::Message << " result = " << pixels[0] << " / " << tcu::toHex(tcu::Float32(pixels[0]).bits()) << TestLog::EndMessage;
409 const bool firstPixelOk = compare(in0, in1, refD, pixels[0]);
413 // Check that rest of pixels match to first one.
414 const deUint32 firstPixelBits = tcu::Float32(pixels[0]).bits();
421 const deUint32 pixelBits = tcu::Float32(pixels[(y*FRAMEBUFFER_WIDTH + x)*4]).bits();
581 vector<int> pixels (FRAMEBUFFER_WIDTH*FRAMEBUFFER_HEIGHT*4);
616 gl.readPixels(0, 0, FRAMEBUFFER_WIDTH, FRAMEBUFFER_HEIGHT, GL_RGBA_INTEGER, GL_INT, &pixels[0])
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
Drawable.java 670 * @param left position in pixels of the left bound
671 * @param top position in pixels of the top bound
672 * @param right position in pixels of the right bound
673 * @param bottom position in pixels of the bottom bound
    [all...]
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/
GwtGL20.java 413 public void glReadPixels (int x, int y, int width, int height, int format, int type, Buffer pixels) {
419 if (!(pixels instanceof ByteBuffer)) {
420 throw new GdxRuntimeException("Inputed pixels buffer needs to be of type ByteBuffer for glReadPixels(...).");
425 Uint8Array buffer = TypedArrays.createUint8Array(((HasArrayBufferView)pixels).getTypedArray().buffer(), 0, size);
453 Buffer pixels) {
454 if (pixels == null) {
457 if (pixels.limit() > 1) {
458 HasArrayBufferView arrayHolder = (HasArrayBufferView)pixels;
461 if (pixels instanceof FloatBuffer) {
464 int remainingBytes = pixels.remaining() * 4;
    [all...]

Completed in 1087 milliseconds

<<11121314151617181920>>