Searched defs:pixels (Results 1 - 25 of 129) sorted by last modified time

123456

/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/oned/ ...
/external/webp/src/dsp/
H A Dlossless_neon.c79 const uint8x8_t pixels = vld1_u8((uint8_t*)src); local
80 vst1_u8(dst, vtbl1_u8(pixels, shuffle));
99 uint8x8x4_t pixels; local
100 INIT_VECTOR4(pixels,
105 vst1_u8(dst + 0, vtbl4_u8(pixels, shuffle0));
106 vst1_u8(dst + 8, vtbl4_u8(pixels, shuffle1));
107 vst1_u8(dst + 16, vtbl4_u8(pixels, shuffle2));
126 uint8x8x4_t pixels; local
127 INIT_VECTOR4(pixels,
132 vst1_u8(dst + 0, vtbl4_u8(pixels, shuffle
[all...]
/external/v8/test/cctest/
H A Dtest-api.cc15774 i::Handle<i::ExternalUint8ClampedArray> pixels = local
15782 pixels->set(i, i % 256);
15787 CHECK_EQ(i % 256, pixels->get_scalar(i));
15793 // Set the elements to be the pixels.
15794 // jsobj->set_elements(*pixels);
15798 context->Global()->Set(v8_str("pixels"), obj);
15799 v8::Handle<v8::Value> result = CompileRun("pixels.field");
15801 result = CompileRun("pixels[1]");
15806 " sum += pixels[i] = pixels[
16188 i::Handle<i::ExternalUint8ClampedArray> pixels = local
[all...]
/external/skia/samplecode/
H A DSampleFilterFuzz.cpp216 SkColor* pixels = (SkColor*)(data->writable_data()); local
229 pixels[(size * ((size * b) + g)) + r] = SkColorSetARGB(0xFF,
H A DSampleHairline.cpp41 static bool check_zeros(const SkPMColor pixels[], int count, int skip) { argument
43 if (*pixels) {
46 pixels += skip;
H A DSampleVertices.cpp36 uint32_t* pixels = (uint32_t*) bm.getPixels(); local
37 pixels[0] = pixels[2] = color0;
38 pixels[1] = pixels[3] = color1;
/external/skia/src/animator/
H A DSkSnapshot.cpp64 SkBitmap pixels; local
65 pixels.allocPixels(maker.fCanvas->imageInfo());
66 maker.fCanvas->readPixels(&pixels, 0, 0);
67 encoder->encodeFile(name.c_str(), pixels, SkScalarFloorToInt(quality));
/external/skia/src/c/
H A Dsk_surface.cpp201 sk_image_t* sk_image_new_raster_copy(const sk_imageinfo_t* cinfo, const void* pixels, argument
207 return (sk_image_t*)SkImage::NewRasterCopy(info, pixels, rowBytes);
401 sk_surface_t* sk_surface_new_raster_direct(const sk_imageinfo_t* cinfo, void* pixels, argument
407 return (sk_surface_t*)SkSurface::NewRasterDirect(info, pixels, rowBytes);
/external/skia/src/codec/
H A DSkCodec_wbmp.cpp104 void* pixels,
139 uint8_t* dst = static_cast<uint8_t*>(pixels);
103 onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options&, SkPMColor ctable[], int* ctableCount) argument
/external/skia/src/core/
H A DSkBitmap.cpp64 // way to track changes to raw pixels across multiple SkBitmaps.
160 void* p = fPixelRef->pixels();
340 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb, argument
351 SkPixelRef* pr = SkMallocPixelRef::NewWithProc(correctedInfo, rb, ct, pixels, releaseProc,
409 /** We explicitly use the same allocator for our pixels that SkMask does,
777 return false; // no src pixels
889 // if x or y are negative, then we have to adjust pixels
903 // since we don't stop creating un-pixeled devices yet, check for no pixels here
920 // if we have a texture, first get those pixels
931 // (GrPixelRef) assumes premultiplied pixels
[all...]
H A DSkCanvas.cpp357 * imagefilter to the pixels of that layer (its backing surface/image), and then
361 * 2. Generate the src pixels:
367 * src pixels of the primitive). It returns a new "filtered" buffer, which we
774 bool SkCanvas::writePixels(const SkImageInfo& origInfo, const void* pixels, size_t rowBytes, argument
783 if (NULL == pixels || rowBytes < origInfo.minRowBytes()) {
801 // if x or y are negative, then we have to adjust pixels
809 pixels = ((const char*)pixels - y * rowBytes - x * info.bytesPerPixel());
815 return device->writePixels(info, pixels, rowBytes, target.x(), target.y());
1142 void* pixels local
2660 NewRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes) argument
[all...]
H A DSkDevice.cpp201 bool SkBaseDevice::writePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes, argument
205 SkASSERT(pixels);
213 return this->onWritePixels(info, pixels, rowBytes, x, y);
H A DSkDraw.cpp135 typedef void (*BitmapXferProc)(void* pixels, size_t bytes, uint32_t data);
137 static void D_Clear_BitmapXferProc(void* pixels, size_t bytes, uint32_t) { argument
138 sk_bzero(pixels, bytes);
143 static void D32_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { argument
144 sk_memset32((uint32_t*)pixels, data, SkToInt(bytes >> 2));
147 static void D16_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { argument
148 sk_memset16((uint16_t*)pixels, data, SkToInt(bytes >> 1));
151 static void DA8_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { argument
152 memset(pixels, data, bytes);
241 uint8_t* pixels local
[all...]
H A DSkImageGenerator.cpp10 SkImageGenerator::Result SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, argument
16 if (NULL == pixels) {
40 const Result result = this->onGetPixels(info, pixels, rowBytes, *options, ctable, ctableCount);
48 SkImageGenerator::Result SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, argument
54 return this->getPixels(info, pixels, rowBytes, NULL, NULL, NULL);
H A DSkPixelRef.cpp143 void SkPixelRef::setPreLocked(void* pixels, size_t rowBytes, SkColorTable* ctable) { argument
147 fRec.fPixels = pixels;
/external/skia/src/effects/
H A DSkBlurMask.cpp37 * "transpose" parameter is true, it will transpose the pixels on write,
716 void SkBlurMask::ComputeBlurredScanline(uint8_t *pixels, const uint8_t *profile, argument
731 pixels[x] = ProfileLookup(profile, x, width, w);
735 pixels[x] = (uint8_t) (255 * (gaussianIntegral(giX) - gaussianIntegral(giX + span)));
/external/skia/src/gpu/
H A DSkGpuDevice.cpp241 // TODO: teach fRenderTarget to take ImageInfo directly to specify the src pixels
255 bool SkGpuDevice::onWritePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes, argument
257 // TODO: teach fRenderTarget to take ImageInfo directly to specify the src pixels
266 fRenderTarget->writePixels(x, y, info.width(), info.height(), config, pixels, rowBytes, flags);
942 // pixels from the bitmap are necessary.
1102 // destination pixels sample the border area.
H A DSkGr.cpp179 const void* pixels,
181 GrTexture* result = ctx->textureProvider()->createTexture(desc, true, pixels, rowBytes);
442 // the bitmap has available pixels, then they might not be what the decompressed
175 create_texture_for_bmp(GrContext* ctx, const GrUniqueKey& optionalKey, GrSurfaceDesc desc, SkPixelRef* pixelRefForInvalidationNotification, const void* pixels, size_t rowBytes) argument
/external/skia/src/gpu/gl/
H A DGrGLCreateNullInterface.cpp193 GrGLvoid GR_GL_FUNCTION_TYPE nullGLReadPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, GrGLvoid* pixels) {} argument
H A DGrGLNoOpInterface.cpp240 const GrGLvoid* pixels) {
273 const GrGLvoid* pixels) {
232 noOpGLTexImage2D(GrGLenum target, GrGLint level, GrGLint internalformat, GrGLsizei width, GrGLsizei height, GrGLint border, GrGLenum format, GrGLenum type, const GrGLvoid* pixels) argument
265 noOpGLTexSubImage2D(GrGLenum target, GrGLint level, GrGLint xoffset, GrGLint yoffset, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, const GrGLvoid* pixels) argument
H A DSkNullGLContext.cpp187 GrGLvoid GR_GL_FUNCTION_TYPE nullGLReadPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, GrGLvoid* pixels) {} argument
/external/skia/src/gpu/gl/debug/
H A DGrGLCreateDebugInterface.cpp135 GrGLvoid* pixels) {
185 GrGLchar *scanline = static_cast<GrGLchar *>(pixels);
129 debugGLReadPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, GrGLvoid* pixels) argument
/external/skia/src/image/
H A DSkImage_Gpu.cpp64 static void apply_premul(const SkImageInfo& info, void* pixels, size_t rowBytes) { argument
77 SkColor* row = (SkColor*)pixels;
85 bool SkImage_Gpu::onReadPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, argument
95 pixels, rowBytes, flags)) {
107 apply_premul(info, pixels, rowBytes);
H A DSkImage_Raster.cpp148 SkImage* SkImage::NewRasterCopy(const SkImageInfo& info, const void* pixels, size_t rowBytes) { argument
149 if (!SkImage_Raster::ValidArgs(info, rowBytes) || !pixels) {
154 SkAutoDataUnref data(SkData::NewWithCopy(pixels, info.height() * rowBytes));
H A DSkReadPixelsRec.h17 SkReadPixelsRec(const SkImageInfo& info, void* pixels, size_t rowBytes, int x, int y) argument
18 : fPixels(pixels)

Completed in 429 milliseconds

123456