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

1234567891011>>

/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/skia/samplecode/
H A DSampleHairline.cpp54 static bool check_zeros(const SkPMColor pixels[], int count, int skip) { argument
56 if (*pixels) {
59 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/core/
H A DSkBitmap.cpp64 // way to track changes to raw pixels across multiple SkBitmaps.
248 void* p = fPixelRef->pixels();
400 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb, argument
411 SkPixelRef* pr = SkMallocPixelRef::NewWithProc(correctedInfo, rb, ct, pixels, releaseProc,
469 /** We explicitly use the same allocator for our pixels that SkMask does,
822 return false; // no src pixels
906 // if we have a texture, first get those pixels
917 // (GrPixelRef) assumes premultiplied pixels.
987 // to be sure we don't read too much, only copy our logical pixels
1172 // Allocation of pixels fo
[all...]
H A DSkCanvas.cpp691 // if x or y are negative, then we have to adjust pixels
717 bool SkCanvas::writePixels(const SkImageInfo& origInfo, const void* pixels, size_t rowBytes, argument
726 if (NULL == pixels || rowBytes < origInfo.minRowBytes()) {
746 // if x or y are negative, then we have to adjust pixels
754 pixels = ((const char*)pixels - y * rowBytes - x * info.bytesPerPixel());
757 return device->writePixels(info, pixels, rowBytes, target.x(), target.y());
1055 void* pixels = this->onAccessTopLayerPixels(info, rowBytes); local
1056 if (pixels && origin) {
1059 return pixels;
2587 NewRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes) argument
[all...]
H A DSkDevice.cpp94 bool SkBaseDevice::writePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes, argument
98 SkASSERT(pixels);
106 return this->onWritePixels(info, pixels, rowBytes, x, y);
H A DSkDraw.cpp134 typedef void (*BitmapXferProc)(void* pixels, size_t bytes, uint32_t data);
136 static void D_Clear_BitmapXferProc(void* pixels, size_t bytes, uint32_t) { argument
137 sk_bzero(pixels, bytes);
142 static void D32_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { argument
143 sk_memset32((uint32_t*)pixels, data, SkToInt(bytes >> 2));
146 static void D16_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { argument
147 sk_memset16((uint16_t*)pixels, data, SkToInt(bytes >> 1));
150 static void DA8_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { argument
151 memset(pixels, data, bytes);
240 uint8_t* pixels local
[all...]
H A DSkImageGenerator.cpp19 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, argument
24 if (NULL == pixels) {
43 bool success = this->onGetPixels(info, pixels, rowBytes, ctable, ctableCount);
51 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { argument
56 return this->getPixels(info, pixels, rowBytes, NULL, NULL);
H A DSkPixelRef.cpp153 void SkPixelRef::setPreLocked(void* pixels, size_t rowBytes, SkColorTable* ctable) { argument
157 fRec.fPixels = pixels;
171 // pixels (barring overflow). However, each process has its own "namespace"
/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.cpp266 // TODO: teach fRenderTarget to take ImageInfo directly to specify the src pixels
280 bool SkGpuDevice::onWritePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes, argument
282 // TODO: teach fRenderTarget to take ImageInfo directly to specify the src pixels
291 fRenderTarget->writePixels(x, y, info.width(), info.height(), config, pixels, rowBytes, flags);
707 // to properly blend partially covered pixels. This means the AA
881 // pixels from the bitmap are necessary.
1036 // destination pixels sample the border area.
/external/skia/src/gpu/gl/
H A DGrGLCreateNullInterface.cpp139 GrGLvoid GR_GL_FUNCTION_TYPE nullGLReadPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, GrGLvoid* pixels) {} argument
H A DGrGLNoOpInterface.cpp238 const GrGLvoid* pixels) {
271 const GrGLvoid* pixels) {
230 noOpGLTexImage2D(GrGLenum target, GrGLint level, GrGLint internalformat, GrGLsizei width, GrGLsizei height, GrGLint border, GrGLenum format, GrGLenum type, const GrGLvoid* pixels) argument
263 noOpGLTexSubImage2D(GrGLenum target, GrGLint level, GrGLint xoffset, GrGLint yoffset, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, const 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_Raster.cpp153 SkImage* SkImage::NewRasterCopy(const SkImageInfo& info, const void* pixels, size_t rowBytes) { argument
161 if (NULL == pixels) {
166 SkAutoDataUnref data(SkData::NewWithCopy(pixels, info.fHeight * rowBytes));
H A DSkSurface_Raster.cpp79 SkSurface_Raster::SkSurface_Raster(const SkImageInfo& info, void* pixels, size_t rb) argument
82 fBitmap.installPixels(info, pixels, rb);
131 // this as its backend, so we can't modify the image's pixels anymore.
139 SkSurface* SkSurface::NewRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes) { argument
143 if (NULL == pixels) {
147 return SkNEW_ARGS(SkSurface_Raster, (info, pixels, rowBytes));
/external/skia/src/images/
H A DSkDecodingImageGenerator.cpp46 void* pixels, size_t rowBytes,
80 fTarget = NULL; // never alloc same pixels twice!
154 void* pixels, size_t rowBytes,
174 TargetAllocator allocator(fInfo, pixels, rowBytes);
182 if (allocator.isReady()) { // Did not use pixels!
153 onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, SkPMColor ctableEntries[], int* ctableCount) argument
H A Dbmpdecoderhelper.cpp188 uint8 pixels = GetByte(); local
190 uint8 col = pixels;
194 col = pixels & 0xf;
196 col = pixels >> 4;
/external/skia/src/lazy/
H A DSkCachingPixelRef.cpp76 void* pixels = bitmap.getPixels(); local
77 SkASSERT(pixels != NULL);
80 // to remove bitmap's lock on the pixels. We will then
87 rec->fPixels = pixels;
H A DSkDiscardablePixelRef.cpp62 void* pixels = fDiscardableMemory->data(); local
68 if (!fGenerator->getPixels(info, pixels, fRowBytes)) {
70 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) {
89 rec->fPixels = pixels;
/external/skia/src/opts/
H A DSkBitmapProcState_arm_neon.cpp118 // touch |filterLength| pixels (4 bytes each) after this.
132 // Load pixels and calc
133 uint8x16_t pixels = vld1q_u8(rowToFilter); local
134 int16x8_t p01_16 = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(pixels)));
135 int16x8_t p23_16 = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(pixels)));
172 // Load pixels and calc
173 uint8x16_t pixels = vld1q_u8(rowToFilter); local
174 int16x8_t p01_16 = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(pixels)));
175 int16x8_t p23_16 = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(pixels)));
214 // Output four pixels pe
423 uint8x16_t pixels; local
460 uint8x16_t pixels; local
[all...]
H A DSkBitmapProcState_opts_SSSE3.cpp35 // @param xy is the location where the xy parameters for four pixels should be
81 // @param xy is the location where the xy parameters for four pixels should be
131 // @param pixel0..3 are the four input pixels
143 // Load 2 pairs of pixels
147 // Interleave pixels.
177 inline __m128i ScaleFourPixels(__m128i* pixels, argument
180 *pixels = _mm_srli_epi16(*pixels, scale);
184 *pixels = _mm_mullo_epi16(*pixels, alph
[all...]
/external/skia/src/ports/
H A DSkImageDecoder_WIC.cpp230 //Copy the pixels into the bitmap.
236 NULL, //Get all the pixels
322 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap->getPixels()); local
325 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel();
416 //Write the pixels into the frame.
/external/skia/src/utils/
H A DSkCanvasStateUtils.cpp64 void* pixels; // The pixels, all (height * rowBytes) of them. member in struct:SkCanvasLayerState::__anon30763::__anon30764
118 // references to the content that is referenced by this canvas (e.g. pixels)
246 layerState->raster.pixels = bitmap.getPixels();
304 layerState.raster.pixels, (size_t) layerState.raster.rowBytes);
H A DSkDeferredCanvas.cpp452 bool SkDeferredDevice::onWritePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes, argument
466 return immediateDevice()->onWritePixels(info, pixels, rowBytes, x, y);
489 bool SkDeferredDevice::onReadPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, argument
492 return fImmediateCanvas->readPixels(info, pixels, rowBytes, x, y);

Completed in 230 milliseconds

1234567891011>>