| /external/skia/src/codec/ |
| SkCodecImageGenerator.cpp | 40 bool SkCodecImageGenerator::onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 43 SkCodec::Result result = fCodec->getPixels(info, pixels, rowBytes, nullptr, ctable,
|
| SkJpegCodec.h | 50 Result onGetYUV8Planes(const YUVSizeInfo& sizeInfo, void* pixels[3]) override;
|
| /external/skia/src/images/ |
| SkImageEncoder.cpp | 56 SkData* SkImageEncoder::EncodeData(const SkImageInfo& info, const void* pixels, size_t rowBytes, 59 if (!bm.installPixels(info, const_cast<void*>(pixels), rowBytes)) {
|
| /external/skia/src/opts/ |
| SkBitmapProcState_arm_neon.cpp | 105 // touch |filterLength| pixels (4 bytes each) after this. 119 // Load pixels and calc 120 uint8x16_t pixels = vld1q_u8(rowToFilter); local 121 int16x8_t p01_16 = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(pixels))); 122 int16x8_t p23_16 = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(pixels))); 159 // Load pixels and calc 160 uint8x16_t pixels = vld1q_u8(rowToFilter); local 161 int16x8_t p01_16 = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(pixels))); 162 int16x8_t p23_16 = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(pixels))); 201 // Output four pixels per iteration (16 bytes) 411 uint8x16_t pixels; local 448 uint8x16_t pixels; local [all...] |
| /external/ImageMagick/coders/ |
| pcx.c | 263 *pixels, 406 pixel_info=AcquireVirtualMemory(pcx_packets,2*sizeof(*pixels)); 416 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); 420 p=pixels; 500 p=pixels+(y*pcx_info.bytes_per_line*pcx_info.planes); 796 const unsigned char *pixels,Image *image) 812 q=pixels; 887 *pixels; 257 *pixels, local 878 *pixels; local [all...] |
| pdf.c | 1277 *pixels; local [all...] |
| sun.c | 124 % DecodeImage unpacks the packed image pixels into runlength-encoded pixel 130 % const size_t length,unsigned char *pixels) 140 % o pixels: The address of a byte (8 bits) array of pixel data created by 143 % of the source pixels. 147 const size_t length,unsigned char *pixels,size_t extent) 163 assert(pixels != (unsigned char *) NULL); 165 q=pixels; 167 ((size_t) (q-pixels) < extent)) 186 while ((count >= 0) && ((size_t) (q-pixels) < extent)) 193 return(((size_t) (q-pixels) == extent) ? MagickTrue : MagickFalse) 876 *pixels; local [all...] |
| rle.c | 193 *pixels; 311 Allocate RLE pixels. 322 MagickMax(number_planes_filled,4)*sizeof(*pixels)); 327 pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info); 336 p=pixels; 403 p=pixels+offset; 435 p=pixels+offset; 460 p=pixels; 494 p=pixels; 555 p=pixels; 190 *pixels; local [all...] |
| /external/skia/tests/ |
| SurfaceTest.cpp | 26 static void release_direct_surface_storage(void* pixels, void* context) { 27 SkASSERT(pixels == context); 28 sk_free(pixels); 96 SkAutoTArray<uint32_t> pixels(kW * kH); 97 sk_memset32(pixels.get(), kOrigColor, kW * kH); 98 GrBackendObject texHandle = gpu->createTestingOnlyBackendTexture(pixels.get(), kW, kH, 115 // in pixels that aren't rendered to via the surface. 122 surface->readPixels(readInfo, pixels.get(), kW * sizeof(uint32_t), 0, 0); 134 REPORTER_ASSERT(reporter, rectColorPM == pixels[x + y * kW]); 135 if (rectColorPM != pixels[x + y * kW]) [all...] |
| /external/ImageMagick/MagickCore/ |
| stream.c | 91 *pixels; 169 stream_info->pixels=(unsigned char *) MagickAssumeAligned( 170 AcquireAlignedMemory(1,sizeof(*stream_info->pixels))); 171 if (stream_info->pixels == (unsigned char *) NULL) 208 (void) RelinquishAlignedMemory(cache_info->pixels); 210 (void) UnmapBlob(cache_info->pixels,(size_t) cache_info->length); 211 cache_info->pixels=(Quantum *) NULL; 281 if (stream_info->pixels != (unsigned char *) NULL) 282 stream_info->pixels=(unsigned char *) RelinquishAlignedMemory( 283 stream_info->pixels); 89 *pixels; member in struct:_StreamInfo 365 *pixels; local [all...] |
| /cts/tests/dram/src/android/dram/cts/ |
| BandwidthTest.java | 185 double pixels = size.x * size.y; local 187 double screensPerSecAverage = stat.mAverage / pixels * 1024.0 * 1024.0 / 4.0; 220 double pixels = size.x * size.y; local 222 double screensPerSecAverage = stat.mAverage / pixels * 1024.0 * 1024.0 / 4.0;
|
| /external/libvpx/libvpx/vpx_dsp/ |
| psnrhvs.c | 100 int pixels; local 104 ret = pixels = 0; 198 pixels++; 203 ret /= pixels;
|
| /external/mesa3d/src/mesa/main/ |
| drawpix.c | 50 GLenum format, GLenum type, const GLvoid *pixels ) 61 pixels, 124 "glDrawPixels(drawing color index pixels into RGB buffer)"); 152 1, format, type, INT_MAX, pixels)) { 166 &ctx->Unpack, pixels);
|
| /external/skia/include/core/ |
| SkImageEncoder.h | 65 static SkData* EncodeData(const SkImageInfo&, const void* pixels, size_t rowBytes,
|
| /external/skia/src/effects/ |
| SkBlurMask.h | 30 // but also being able to predict precisely at what pixels the blurred profile of e.g. a 70 @param pixels Location to store the resulting pixel data; allocated and managed by caller 72 @param width Size of the pixels array. 74 this implicitly gives the size of the pixels array. 77 static void ComputeBlurredScanline(uint8_t* pixels, const uint8_t* profile,
|
| /frameworks/base/libs/hwui/ |
| Texture.cpp | 105 GLenum format, GLenum type, const void* pixels) { 116 format, type, pixels); 117 } else if (pixels) { 119 format, type, pixels);
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
| GestureStrokeRecognitionPoints.java | 240 final int pixels = getDistance(lastX, lastY, x, y); local 241 final int pixelsPerSec = pixels * MSEC_PER_SEC; 246 // Equivalent to (pixels / msecs < mStartSpeedThreshold / MSEC_PER_SEC) 297 final int pixels = getDistance(mLastMajorEventX, mLastMajorEventY, x, y); local 298 final int pixelsPerSec = pixels * MSEC_PER_SEC; 299 // Equivalent to (pixels / msecs < mGestureRecognitionThreshold / MSEC_PER_SEC)
|
| /development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
| plasma.c | 188 static void fill_plasma( AndroidBitmapInfo* info, void* pixels, double t ) 200 uint16_t* line = (uint16_t*)pixels; 213 * for every pair of pixels. 264 pixels = (char*)pixels + info->stride; 366 void* pixels; local 387 if ((ret = AndroidBitmap_lockPixels(env, bitmap, &pixels)) < 0) { 394 fill_plasma(&info, pixels, time_ms );
|
| /bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/ |
| Main.java | 71 * pixels in the header rows; don't convert them to jpeg or anything. 229 int[] pixels = new int[maxHeight * width]; 237 bm.getPixels(pixels, 0, w, 0, 0, w, h); 240 // nonblack pixels; we'll copy just that region to the 247 if (pixels[j*w+right-1] != 0xff000000) { 263 if (pixels[j*w+left] != 0xff000000) { 300 out.setPixels(pixels, left, w, 0, p, tw, h);
|
| /external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
| PixmapIO.java | 44 * and format, remaining bytes are zlib compressed pixels. To be able to load the Pixmap to a Texture, use ".cim" as the file
256 ByteBuffer pixels = pixmap.getPixels();
local 257 int oldPosition = pixels.position();
262 pixels.position(py * lineLen);
263 pixels.get(curLine, 0, lineLen);
304 pixels.position(oldPosition);
|
| /frameworks/base/tests/touchlag/ |
| touchlag.cpp | 46 uint32_t* pixels; member in union:Buffer::__anon28377 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;
|
| /prebuilts/misc/windows/sdl2/test/ |
| controllermap.c | 65 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); 70 (*(Uint16 *) temp->pixels) & 0x00007FFF); 73 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); 77 (*(Uint32 *) temp->pixels) & 0x00FFFFFF); 80 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels);
|
| testrendertarget.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/pdfium/core/src/fpdfapi/fpdf_page/ |
| fpdf_page_colors.cpp | 46 void ReverseRGB(uint8_t* pDestBuf, const uint8_t* pSrcBuf, int pixels) { 48 for (int i = 0; i < pixels; i++) { 55 for (int i = 0; i < pixels; i++) { 174 int pixels, 179 for (int i = 0; i < pixels; i++) { 190 ReverseRGB(pDestBuf, pSrcBuf, pixels); 192 for (int i = 0; i < pixels; i++) { 198 for (int i = 0; i < pixels; i++) { 324 int pixels, 374 int 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...] |