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

1 2 3 4 5 67 8 91011>>

  /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/media/mca/filterfw/native/core/
gl_frame.cpp 347 bool GLFrame::ReadFboPixels(uint8_t* pixels) const {
356 pixels);
362 bool GLFrame::ReadTexturePixels(uint8_t* pixels) const {
363 // Read pixels from texture if we do not have an FBO
388 return target.ReadFboPixels(pixels);
448 bool GLFrame::UploadTexturePixels(const uint8_t* pixels) {
454 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
IconLoader.java 245 int[] pixels = new int[numOfPixels]; local
256 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01);
262 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
302 int[] pixels = new int[numOfPixels]; local
319 pixels[pixelIndex++] = Color.rgb(clut[clutIndex],
324 return Bitmap.createBitmap(pixels, width, height,
  /external/ImageMagick/MagickCore/
image-view.c 264 *magick_restrict pixels;
271 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y,
273 if (pixels == (const Quantum *) NULL)
360 % GetImageViewAuthenticPixels() returns the image view authentic pixels.
512 % the pixels in your callback are ignored.
578 *pixels;
582 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y,
584 if (pixels == (const Quantum *) NULL)
653 % GetImageViewVirtualPixels() returns the image view virtual pixels.
259 *magick_restrict pixels; local
567 *pixels; local
918 *magick_restrict pixels; local
1046 *magick_restrict pixels; local
1174 *magick_restrict pixels; local
    [all...]
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...]
morphology.c 2700 *magick_restrict pixels; local
2848 *magick_restrict pixels; local
3335 *magick_restrict pixels; local
3496 *magick_restrict pixels; local
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/png/
png.py 109 Consider an image that is 3 pixels wide by 2 pixels high, and each pixel
117 Each row appears as its own list, but the pixels are flattened so that
142 In all cases the top row comes first, and for each row the pixels are
152 bit depth is less than 8, several pixels are packed into each byte;
247 Return an array of pixels consisting of the `ipsize` elements of data
343 Image size in pixels, as two separate arguments.
345 Image size (w,h) in pixels, as single argument.
367 The image size (in pixels) can be specified either by using the
425 this will not change the values of the pixels as they appear i
    [all...]
  /external/ImageMagick/coders/
raw.c 103 *pixels;
161 pixels=(const unsigned char *) NULL;
172 pixels=(const unsigned char *) ReadBlobStream(image,length,
184 Read pixels to virtual canvas image then push to image.
195 pixels=(const unsigned char *) ReadBlobStream(image,length,
219 quantum_type,pixels,exception);
249 pixels=(const unsigned char *) ReadBlobStream(image,length,
465 *pixels;
561 Convert image to RAW raster pixels.
566 pixels=(unsigned char *) GetQuantumPixels(quantum_info)
100 *pixels; local
459 *pixels; local
    [all...]
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...]
  /frameworks/base/media/mca/filterfw/jni/
jni_gl_frame.cpp 201 // Read the frame pixels
202 uint8_t* pixels = new uint8_t[frame->Size()]; local
203 frame->CopyDataTo(pixels, frame->Size());
206 ConvertRGBAToFloats(pixels, frame->Size(), float_array);
209 delete[] pixels;
222 uint8_t* pixels; local
223 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels));
225 const bool success = frame->WriteData(pixels, size);
238 uint8_t* pixels; local
239 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels));
    [all...]
  /external/mesa3d/src/mesa/main/
teximage.h 180 GLenum format, GLenum type, const GLvoid *pixels );
186 GLenum format, GLenum type, const GLvoid *pixels );
192 GLenum format, GLenum type, const GLvoid *pixels );
199 const GLvoid *pixels );
208 const GLvoid *pixels );
216 const GLvoid *pixels );
224 const GLvoid *pixels );
  /external/skia/src/core/
SkPixmap.cpp 67 const void* pixels = nullptr; local
70 pixels = (const uint8_t*)fPixels + r.fTop * fRowBytes + r.fLeft * bpp;
72 result->reset(fInfo.makeWH(r.width(), r.height()), pixels, fRowBytes, fCTable);
96 // if x or y are negative, then we have to adjust pixels
298 void* pixels = sk_malloc_flags(size, 0); local
299 if (nullptr == pixels) {
302 this->reset(info, pixels, rb);
303 fStorage = pixels;
SkImageGenerator.cpp 16 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
21 if (nullptr == pixels) {
40 const bool success = this->onGetPixels(info, pixels, rowBytes, ctable, ctableCount);
47 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) {
52 return this->getPixels(info, pixels, rowBytes, nullptr, nullptr);
215 // allocate space for all the pixels.
  /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...]
  /external/skia/samplecode/
SampleVertices.cpp 36 uint32_t* pixels = (uint32_t*) bm.getPixels(); local
37 pixels[0] = pixels[2] = color0;
38 pixels[1] = pixels[3] = color1;
  /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]);
  /packages/apps/Launcher3/src/com/android/launcher3/
HolographicOutlineHelper.java 99 byte[] pixels = new byte[srcDst.getWidth() * srcDst.getHeight()];
100 ByteBuffer buffer = ByteBuffer.wrap(pixels);
104 for (int i = 0; i < pixels.length; i++) {
105 if ((pixels[i] & 0xFF) < 188) {
106 pixels[i] = 0;
  /prebuilts/misc/windows/sdl2/test/
testrendercopyex.c 56 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels);
61 (*(Uint16 *) temp->pixels) & 0x00007FFF);
64 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels);
68 (*(Uint32 *) temp->pixels) & 0x00FFFFFF);
71 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels);
  /external/opencv3/modules/videoio/src/
cap_avfoundation.mm 687 CVPixelBufferRef pixels;
690 pixels = CVBufferRetain(mCurrentImageBuffer);
694 CVPixelBufferLockBaseAddress(pixels, 0);
695 uint32_t* baseaddress = (uint32_t*)CVPixelBufferGetBaseAddress(pixels);
697 size_t width = CVPixelBufferGetWidth(pixels);
698 size_t height = CVPixelBufferGetHeight(pixels);
699 size_t rowBytes = CVPixelBufferGetBytesPerRow(pixels);
749 CVPixelBufferUnlockBaseAddress(pixels, 0);
750 CVBufferRelease(pixels);
920 CVPixelBufferRef pixels = CVBufferRetain(frame)
    [all...]
cap_qtkit.mm 567 CVPixelBufferRef pixels;
570 pixels = CVBufferRetain(mCurrentImageBuffer);
574 CVPixelBufferLockBaseAddress(pixels, 0);
575 uint32_t* baseaddress = (uint32_t*)CVPixelBufferGetBaseAddress(pixels);
577 size_t width = CVPixelBufferGetWidth(pixels);
578 size_t height = CVPixelBufferGetHeight(pixels);
579 size_t rowBytes = CVPixelBufferGetBytesPerRow(pixels);
619 CVPixelBufferUnlockBaseAddress(pixels, 0);
620 CVBufferRelease(pixels);
743 CVPixelBufferRef pixels = CVBufferRetain(frame)
    [all...]

Completed in 1280 milliseconds

1 2 3 4 5 67 8 91011>>