HomeSort by relevance Sort by last modified time
    Searched refs:pixels (Results 201 - 225 of 993) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/base/media/mca/filterfw/jni/
jni_gl_frame.cpp 193 // Read the frame pixels
194 uint8_t* pixels = new uint8_t[frame->Size()]; local
195 frame->CopyDataTo(pixels, frame->Size());
198 ConvertRGBAToFloats(pixels, frame->Size(), float_array);
201 delete[] pixels;
214 uint8_t* pixels; local
215 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels));
217 const bool success = frame->WriteData(pixels, size);
230 uint8_t* pixels; local
231 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels));
    [all...]
  /external/ImageMagick/coders/
fits.c 213 const size_t bits_per_pixel,const EndianType endian,unsigned char *pixels)
219 pixels+=(bits_per_pixel >> 3)-1;
222 *pixels^=0x80;
223 pixels+=bits_per_pixel >> 3;
453 Convert FITS pixels to pixel packets.
642 *pixels;
734 pixels=(unsigned char *) GetQuantumPixels(quantum_info);
744 GrayQuantum,pixels,exception);
747 pixels);
751 pixels);
634 *pixels; local
    [all...]
sgi.c 173 unsigned char *pixels)
186 q=pixels;
297 *pixels;
375 Allocate SGI pixels.
383 bytes_per_pixel*sizeof(*pixels));
386 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
401 p=pixels+bytes_per_pixel*z;
489 p=pixels;
517 p=pixels;
565 p=pixels+(image->rows-y-1)*8*image->columns
293 *pixels; local
899 *pixels, local
    [all...]
jbig.c 404 static void JBIGEncode(unsigned char *pixels,size_t length,void *data)
410 (void) WriteBlob(image,length,pixels);
449 *pixels;
474 pixel_info=AcquireVirtualMemory(number_packets,image->rows*sizeof(*pixels));
477 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
479 Convert pixels to a bitmap.
482 q=pixels;
518 image->rows,1,&pixels,(void (*)(unsigned char *,size_t,void *))
443 *pixels; local
bmp.c 172 % DecodeImage unpacks the packed image pixels into runlength-encoded
178 % const size_t compression,unsigned char *pixels)
185 % compressed pixels are runlength encoded for a 256-color bitmap.
189 % o pixels: The address of a byte (8 bits) array of pixel data created by
194 unsigned char *pixels)
217 assert(pixels != (unsigned char *) NULL);
218 (void) ResetMagickMemory(pixels,0,(size_t) image->columns*image->rows*
219 sizeof(*pixels));
222 p=pixels;
223 q=pixels+(size_t) image->columns*image->rows
531 *pixels; local
1552 *pixels; local
2146 (void) WriteBlob(image,(size_t) bmp_info.image_size,pixels); local
    [all...]
ps3.c 463 *pixels;
537 pixels=(unsigned char *) NULL;
549 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
551 Ascii85Encode(image,pixels[i]);
572 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
573 status=LZWEncodeImage(image,length,pixels,exception);
583 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
584 status=PackbitsEncodeImage(image,length,pixels,exception);
594 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
595 status=ZLIBEncodeImage(image,length,pixels,exception)
457 *pixels; local
874 *pixels; local
    [all...]
  /external/ImageMagick/MagickCore/
cache.c 291 % AcquirePixelCachePixels() returns the pixels associated with the specified
325 return((const void *) cache_info->pixels);
593 (void) memcpy(clone_info->pixels,cache_info->pixels,
595 sizeof(*cache_info->pixels));
631 *pixels;
647 pixels=SetPixelCacheNexusPixels(cache_info,ReadMode,&region,
649 if (pixels == (Quantum *) NULL)
655 pixels=SetPixelCacheNexusPixels(clone_info,WriteMode,&region,
657 if (pixels == (Quantum *) NULL
618 *pixels; local
708 *pixels; local
1224 *magick_restrict pixels; local
1387 *pixels; local
1449 *magick_restrict pixels; local
2587 *magick_restrict pixels, local
3878 *magick_restrict pixels; local
3964 *magick_restrict pixels; local
4044 *magick_restrict pixels; local
    [all...]
cache-view.c 286 % GetCacheViewAuthenticPixels() gets pixels from the in-memory or disk pixel
287 % cache as defined by the geometry parameters. A pointer to the pixels is
288 % returned if the pixels are transferred, otherwise a NULL is returned.
301 % pixels.
314 *magick_restrict pixels;
319 pixels=GetAuthenticPixelCacheNexus(cache_view->image,x,y,columns,rows,
321 return(pixels);
374 % GetCacheViewAuthenticPixelQueue() returns the pixels associated with the
376 % GetCacheViewAuthenticPixels(). The pixels are authentic and therefore can be
397 return(cache_view->nexus_info[id]->pixels);
307 *magick_restrict pixels; local
608 *magick_restrict pixels; local
659 *magick_restrict pixels; local
985 *magick_restrict pixels; local
    [all...]
  /external/skia/gm/
yuvtorgbeffect.cpp 56 unsigned char* pixels[3]; variable
58 pixels[i] = (unsigned char*)fBmp[i].getPixels();
67 pixels[i][j] = (unsigned char)color[i];
183 unsigned char* pixels = (unsigned char*)fBmp[0].getPixels(); variable
186 pixels[j] = (unsigned char)color[0];
193 uint32_t* pixels = fBmp[1].getAddr32(0, y); variable
195 pixels[j] = SkColorSetARGB(0, color[1], color[2], 0);
gamma.cpp 27 SkPMColor* pixels = reinterpret_cast<SkPMColor*>(ditherBmp.getPixels()); local
28 pixels[0] = pixels[3] = SkPackARGB32(0xFF, 0xFF, 0xFF, 0xFF);
29 pixels[1] = pixels[2] = SkPackARGB32(0xFF, 0, 0, 0);
  /external/skqp/gm/
yuvtorgbeffect.cpp 56 unsigned char* pixels[3]; variable
58 pixels[i] = (unsigned char*)fBmp[i].getPixels();
67 pixels[i][j] = (unsigned char)color[i];
182 unsigned char* pixels = (unsigned char*)fBmp[0].getPixels(); variable
185 pixels[j] = (unsigned char)color[0];
192 uint32_t* pixels = fBmp[1].getAddr32(0, y); variable
194 pixels[j] = SkColorSetARGB(0, color[1], color[2], 0);
gamma.cpp 27 SkPMColor* pixels = reinterpret_cast<SkPMColor*>(ditherBmp.getPixels()); local
28 pixels[0] = pixels[3] = SkPackARGB32(0xFF, 0xFF, 0xFF, 0xFF);
29 pixels[1] = pixels[2] = SkPackARGB32(0xFF, 0, 0, 0);
  /frameworks/base/core/java/android/app/
WallpaperColors.java 84 // We also check if the image has dark pixels in it,
369 int[] pixels = new int[source.getWidth() * source.getHeight()]; local
371 final int maxDarkPixels = (int) (pixels.length * MAX_DARK_AREA);
373 source.getPixels(pixels, 0 /* offset */, source.getWidth(), 0 /* x */, 0 /* y */,
377 // Let's just loop through the pixels, no sweat!
379 for (int i = 0; i < pixels.length; i++) {
380 ColorUtils.colorToHSL(pixels[i], tmpHsl);
382 final int alpha = Color.alpha(pixels[i]);
392 double meanLuminance = totalLuminance / pixels.length;
  /external/libmpeg2/common/arm/
impeg2_inter_pred.s 308 vld1.8 {d0, d1}, [r1], r2 @load 16 pixels of row1
313 vld1.8 {d4, d5}, [r1], r2 @load 16 pixels row2
318 vext.8 d8, d0, d1, #1 @Extract pixels (1-8) of row1
320 vext.8 d12, d2, d3, #1 @Extract pixels (1-8) of row5
322 vext.8 d16, d4, d5, #1 @Extract pixels (1-8) of row2
324 vext.8 d20, d6, d7, #1 @Extract pixels (1-8) of row6
336 vext.8 d1, d9, d10, #1 @Extract pixels (1-8) of row3
338 vext.8 d3, d13, d14, #1 @Extract pixels (1-8) of row7
342 vext.8 d5, d17, d18, #1 @Extract pixels (1-8) of row4
344 vext.8 d7, d21, d22, #1 @Extract pixels (1-8) of row
    [all...]
  /device/generic/goldfish-opengl/system/renderControl_enc/
renderControl_entry.cpp 31 void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels);
32 int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels);
42 int rcUpdateColorBufferDMA(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels, uint32_t pixels_size);
191 void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels)
194 ctx->rcReadColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels);
197 int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels)
200 return ctx->rcUpdateColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels);
257 int rcUpdateColorBufferDMA(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels, uint32_t pixels_size)
260 return ctx->rcUpdateColorBufferDMA(ctx, colorbuffer, x, y, width, height, format, type, pixels, pixels_size);
  /external/skia/tests/
ImageTest.cpp 133 static void Release(const void* pixels, void* context) {
268 SkPMColor pixels[4]; local
269 memset(pixels, 0xFF, sizeof(pixels)); // init with values we don't expect
274 REPORTER_ASSERT(reporter, image1->readPixels(dstInfo, pixels, dstRowBytes, 0, 0));
275 for (size_t i = 0; i < SK_ARRAY_COUNT(pixels); ++i) {
276 REPORTER_ASSERT(reporter, pixels[i] == green);
286 REPORTER_ASSERT(reporter, image2->readPixels(dstInfo, pixels, dstRowBytes, 0, 0));
287 REPORTER_ASSERT(reporter, pixels[0] == green);
288 REPORTER_ASSERT(reporter, pixels[1] == green)
631 SkPMColor pixels[w*h]; local
    [all...]
EGLImageTest.cpp 123 SkAutoTMalloc<uint32_t> pixels(kSize * kSize);
125 pixels.get()[i] = 0xDDAABBCC;
130 GR_GL_RGBA, GR_GL_UNSIGNED_BYTE, pixels.get()));
172 test_read_pixels(reporter, surfaceContext.get(), pixels.get(), "EGLImageTest-read");
180 pixels.get(), true, "EGLImageTest-copy");
  /external/skqp/tests/
ImageTest.cpp 132 static void Release(const void* pixels, void* context) {
267 SkPMColor pixels[4]; local
268 memset(pixels, 0xFF, sizeof(pixels)); // init with values we don't expect
273 REPORTER_ASSERT(reporter, image1->readPixels(dstInfo, pixels, dstRowBytes, 0, 0));
274 for (size_t i = 0; i < SK_ARRAY_COUNT(pixels); ++i) {
275 REPORTER_ASSERT(reporter, pixels[i] == green);
285 REPORTER_ASSERT(reporter, image2->readPixels(dstInfo, pixels, dstRowBytes, 0, 0));
286 REPORTER_ASSERT(reporter, pixels[0] == green);
287 REPORTER_ASSERT(reporter, pixels[1] == green)
537 SkPMColor pixels[w*h]; local
    [all...]
  /external/swiftshader/src/OpenGL/libGLESv2/
Texture.cpp 336 void Texture::setImage(GLenum format, GLenum type, const gl::PixelStorageModes &unpackParameters, const void *pixels, egl::Image *image)
338 if(pixels && image)
341 image->loadImageData(0, 0, 0, image->getWidth(), image->getHeight(), depth, format, type, unpackParameters, pixels);
345 void Texture::setCompressedImage(GLsizei imageSize, const void *pixels, egl::Image *image)
347 if(pixels && image && (imageSize > 0)) // imageSize's correlation to width and height is already validated with gl::ComputeCompressedSize() at the API level
350 image->loadCompressedData(0, 0, 0, image->getWidth(), image->getHeight(), depth, imageSize, pixels);
354 void Texture::subImage(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const gl::PixelStorageModes &unpackParameters, const void *pixels, egl::Image *image)
361 if(pixels && width > 0 && height > 0 && depth > 0)
363 image->loadImageData(xoffset, yoffset, zoffset, width, height, depth, format, type, unpackParameters, pixels);
367 void Texture::subImageCompressed(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pixels, egl::Image *image
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_texture.c 444 GLenum format, GLenum type, const GLvoid *pixels,
461 pixels = _mesa_validate_pbo_compressed_teximage(ctx,
463 pixels, packing, "glCompressedTexImage");
465 pixels = _mesa_validate_pbo_teximage(ctx,
467 pixels, packing, "glTexImage");
469 if (pixels) {
482 pixels, map, row_stride);
489 format, type, pixels, packing);
516 GLenum format, GLenum type, const GLvoid *pixels,
519 nouveau_teximage(ctx, dims, ti, 0, format, type, pixels,
    [all...]
  /external/skia/include/codec/
SkCodec.h 86 * Parameters (besides info) are invalid. e.g. NULL pixels, rowBytes
311 * Decode into the given pixels, a block of memory of size at
341 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options*);
346 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) {
347 return this->getPixels(info, pixels, rowBytes, nullptr);
712 void* pixels, size_t rowBytes, const Options&,
754 * @return The value with which to fill uninitialized pixels.
    [all...]
  /external/skia/samplecode/
SampleVertices.cpp 34 uint32_t* pixels = (uint32_t*) bm.getPixels(); local
35 pixels[0] = pixels[2] = color0;
36 pixels[1] = pixels[3] = color1;
  /external/skia/src/ports/
SkImageEncoder_WIC.cpp 79 // WIC expects unpremultiplied pixels. Unpremultiply if necessary.
81 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap.getPixels()); local
84 uint8_t* bytes = pixels + y * bitmap.rowBytes() + x * bitmap.bytesPerPixel();
93 void* pixels = bitmap.getPixels(); local
112 pixels = pixelStorage.get();
198 //Write the pixels into the frame.
203 reinterpret_cast<BYTE*>(pixels));
  /external/skqp/include/codec/
SkCodec.h 86 * Parameters (besides info) are invalid. e.g. NULL pixels, rowBytes
311 * Decode into the given pixels, a block of memory of size at
341 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options*);
346 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) {
347 return this->getPixels(info, pixels, rowBytes, nullptr);
712 void* pixels, size_t rowBytes, const Options&,
754 * @return The value with which to fill uninitialized pixels.
    [all...]
  /external/skqp/samplecode/
SampleVertices.cpp 34 uint32_t* pixels = (uint32_t*) bm.getPixels(); local
35 pixels[0] = pixels[2] = color0;
36 pixels[1] = pixels[3] = color1;

Completed in 1080 milliseconds

1 2 3 4 5 6 7 891011>>