Searched defs:scanline (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/skia/src/effects/
H A DSkStippleMaskFilter.cpp34 uint8_t* scanline = dst->fImage; local
38 scanline[x] = srcScanLine[x] && ((x+y) & 0x1) ? 0xFF : 0x00;
40 scanline += dst->fRowBytes;
/external/skia/src/effects/
H A DSkStippleMaskFilter.cpp34 uint8_t* scanline = dst->fImage; local
38 scanline[x] = srcScanLine[x] && ((x+y) & 0x1) ? 0xFF : 0x00;
40 scanline += dst->fRowBytes;
/external/jpeg/
H A Drdrle.c154 * A place to hold each scanline while it's converted.
245 JSAMPROW scanline, red_ptr, green_ptr, blue_ptr; local
290 scanline = * (*cinfo->mem->access_virt_sarray)
297 *scanline++ = (JSAMPLE)
313 scanline = * (*cinfo->mem->access_virt_sarray)
322 *scanline++ = *red_ptr++;
323 *scanline++ = *green_ptr++;
324 *scanline++ = *blue_ptr++;
/external/qemu/distrib/jpeg-6b/
H A Drdrle.c154 * A place to hold each scanline while it's converted.
245 JSAMPROW scanline, red_ptr, green_ptr, blue_ptr; local
290 scanline = * (*cinfo->mem->access_virt_sarray)
297 *scanline++ = (JSAMPLE)
313 scanline = * (*cinfo->mem->access_virt_sarray)
322 *scanline++ = *red_ptr++;
323 *scanline++ = *green_ptr++;
324 *scanline++ = *blue_ptr++;
/external/chromium_org/native_client_sdk/src/examples/api/mouse_lock/
H A Dmouse_lock.cc149 // Create a scanline for fill.
226 Log("ClearToBackground with no scanline.");
233 uint32_t* scanline = image->GetAddr32(pp::Point(0, y)); local
234 memcpy(scanline,
/external/chromium_org/third_party/skia/bench/
H A DGameBench.cpp256 SkPMColor* scanline = fCheckerboard.getAddr32(0, y); local
260 *scanline++ = 0xFFFF0000;
262 *scanline++ = 0x00000000;
291 SkPMColor* scanline = fAtlas.getAddr32(0, y); local
293 for (int x = 0; x < kTotAtlasWidth; ++x, ++scanline) {
299 *scanline = colors[colorX][colorY];
301 *scanline = 0x00000000;
/external/chromium_org/third_party/skia/gm/
H A Dbleed.cpp29 SkPMColor* scanline = result->getAddr32(0, 0); local
31 scanline[x] = kBlue;
33 scanline = result->getAddr32(0, 1);
34 scanline[0] = kBlue;
36 scanline[x] = kRed;
38 scanline[width-1] = kBlue;
41 scanline = result->getAddr32(0, y);
42 scanline[0] = kBlue;
43 scanline[1] = kRed;
45 scanline[
[all...]
H A Doptimizations.cpp397 SkPMColor* scanline = fCheckerboard.getAddr32(0, y); local
399 *scanline++ = 0xFFFFFFFF;
400 *scanline++ = 0xFF000000;
402 scanline = fCheckerboard.getAddr32(0, y + 1);
404 *scanline++ = 0xFF000000;
405 *scanline++ = 0xFFFFFFFF;
/external/skia/bench/
H A DGameBench.cpp256 SkPMColor* scanline = fCheckerboard.getAddr32(0, y); local
260 *scanline++ = 0xFFFF0000;
262 *scanline++ = 0x00000000;
291 SkPMColor* scanline = fAtlas.getAddr32(0, y); local
293 for (int x = 0; x < kTotAtlasWidth; ++x, ++scanline) {
299 *scanline = colors[colorX][colorY];
301 *scanline = 0x00000000;
/external/skia/gm/
H A Dbleed.cpp29 SkPMColor* scanline = result->getAddr32(0, 0); local
31 scanline[x] = kBlue;
33 scanline = result->getAddr32(0, 1);
34 scanline[0] = kBlue;
36 scanline[x] = kRed;
38 scanline[width-1] = kBlue;
41 scanline = result->getAddr32(0, y);
42 scanline[0] = kBlue;
43 scanline[1] = kRed;
45 scanline[
[all...]
H A Doptimizations.cpp397 SkPMColor* scanline = fCheckerboard.getAddr32(0, y); local
399 *scanline++ = 0xFFFFFFFF;
400 *scanline++ = 0xFF000000;
402 scanline = fCheckerboard.getAddr32(0, y + 1);
404 *scanline++ = 0xFF000000;
405 *scanline++ = 0xFFFFFFFF;
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_libgif.cpp381 uint8_t* scanline = (uint8_t*) storage.get(); local
417 // now decode each scanline
423 if (DGifGetLine(gif, scanline, innerWidth) == GIF_ERROR) {
425 memset(scanline, fillIndex, innerWidth);
427 sampler.sampleInterlaced(scanline, iter.currY());
432 sampler.sampleInterlaced(scanline, iter.currY());
438 skip_src_rows(gif, scanline, innerWidth, sampler.srcY0());
440 if (DGifGetLine(gif, scanline, innerWidth) == GIF_ERROR) {
442 memset(scanline, fillIndex, innerWidth);
444 sampler.next(scanline);
[all...]
H A DSkImageDecoder_libjpeg.cpp338 // Convert a scanline of CMYK samples to RGBX in place. Note that this
339 // method moves the "scanline" pointer in its processing
340 static void convert_CMYK_to_RGB(uint8_t* scanline, unsigned int width) { argument
353 for (unsigned int x = 0; x < width; ++x, scanline += 4) {
354 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]);
355 scanline[1] = SkMulDiv255Round(scanline[1], scanline[
[all...]
/external/skia/src/images/
H A DSkImageDecoder_libgif.cpp381 uint8_t* scanline = (uint8_t*) storage.get(); local
417 // now decode each scanline
423 if (DGifGetLine(gif, scanline, innerWidth) == GIF_ERROR) {
425 memset(scanline, fillIndex, innerWidth);
427 sampler.sampleInterlaced(scanline, iter.currY());
432 sampler.sampleInterlaced(scanline, iter.currY());
438 skip_src_rows(gif, scanline, innerWidth, sampler.srcY0());
440 if (DGifGetLine(gif, scanline, innerWidth) == GIF_ERROR) {
442 memset(scanline, fillIndex, innerWidth);
444 sampler.next(scanline);
[all...]
H A DSkImageDecoder_libjpeg.cpp338 // Convert a scanline of CMYK samples to RGBX in place. Note that this
339 // method moves the "scanline" pointer in its processing
340 static void convert_CMYK_to_RGB(uint8_t* scanline, unsigned int width) { argument
353 for (unsigned int x = 0; x < width; ++x, scanline += 4) {
354 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]);
355 scanline[1] = SkMulDiv255Round(scanline[1], scanline[
[all...]
/external/chromium_org/third_party/skia/src/gpu/gl/debug/
H A DGrGLCreateDebugInterface.cpp185 GrGLchar *scanline = static_cast<GrGLchar *>(pixels); local
187 memset(scanline, 0, componentsPerPixel * componentSize * width);
188 scanline += rowStride;
/external/pdfium/core/src/fxge/agg/agg23/
H A Dfx_agg_driver.cpp317 agg::scanline_u8 scanline; local
318 agg::render_scanlines(rasterizer, scanline, final_render, (m_FillFlags & FXFILL_NOPATHSMOOTH) != 0);
1128 agg::scanline_u8 scanline;
1129 agg::render_scanlines(rasterizer, scanline, render, (m_FillFlags & FXFILL_NOPATHSMOOTH) != 0);
/external/skia/src/gpu/gl/debug/
H A DGrGLCreateDebugInterface.cpp185 GrGLchar *scanline = static_cast<GrGLchar *>(pixels); local
187 memset(scanline, 0, componentsPerPixel * componentSize * width);
188 scanline += rowStride;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
H A DDrawingBuffer.cpp1030 uint8* scanline = &m_scanline[0]; local
1036 memcpy(scanline, rowB, rowBytes);
1038 memcpy(rowA, scanline, rowBytes);
/external/chromium_org/third_party/skia/src/core/
H A DSkRegion.cpp31 * Return the beginning of the next scanline (i.e. the next Y-value)
304 runs[2] = 1; // 1 interval for this scanline
327 // Just walk this scanline, checking each interval. The X-sentinel will
380 const RunType* scanline = fRunHead->findScanline(r.fTop); local
382 if (!scanline_contains(scanline, r.fLeft, r.fRight)) {
385 if (r.fBottom <= scanline_bottom(scanline)) {
388 scanline = scanline_next(scanline);
465 const RunType* scanline = fRunHead->findScanline(sect.fTop); local
467 if (scanline_intersects(scanline, sec
[all...]
/external/pdfium/core/src/fxge/dib/
H A Dfx_dib_convert.cpp1011 FX_LPBYTE scanline = m_pBuffer + row * m_Pitch + 3; local
1013 *scanline = 0xff;
1014 scanline += 4;
H A Dfx_dib_composite.cpp4518 void CFX_BitmapComposer::ComposeScanline(int line, FX_LPCBYTE scanline, FX_LPCBYTE scan_extra_alpha) argument
4521 ComposeScanlineV(line, scanline, scan_extra_alpha);
4532 DoCompose(dest_scan, scanline, m_DestWidth, clip_scan, scan_extra_alpha, dest_alpha_scan);
4534 void CFX_BitmapComposer::ComposeScanlineV(int line, FX_LPCBYTE scanline, FX_LPCBYTE scan_extra_alpha) argument
4585 DoCompose(m_pScanlineV, scanline, m_DestHeight, clip_scan, scan_extra_alpha, m_pScanlineAlphaV);
H A Dfx_dib_main.cpp1173 FX_LPBYTE scanline = m_pBuffer + line * m_Pitch; local
1184 dest_scan[i] = (scanline[src_x / 8] & (1 << (7 - src_x % 8))) ? 255 : 0;
1200 FX_ARGB argb = m_pPalette[scanline[src_x]];
1206 FX_CMYK cmyk = m_pPalette[scanline[src_x]];
1213 dest_scan[dest_pos] = scanline[src_x];
1225 dest_scan[dest_pos + b] = scanline[src_x + b];
1288 FX_LPBYTE scanline = m_pBuffer + row * m_Pitch; local
1291 AdobeCMYK_to_sRGB1(scanline[0], scanline[1], scanline[
1303 FX_LPBYTE scanline = m_pBuffer + row * m_Pitch; local
1317 FX_LPBYTE scanline = m_pBuffer + row * m_Pitch; local
1331 FX_LPBYTE scanline = m_pBuffer + row * m_Pitch; local
1707 ComposeScanline(int line, FX_LPCBYTE scanline, FX_LPCBYTE scan_extra_alpha) argument
[all...]
/external/skia/src/core/
H A DSkRegion.cpp31 * Return the beginning of the next scanline (i.e. the next Y-value)
304 runs[2] = 1; // 1 interval for this scanline
327 // Just walk this scanline, checking each interval. The X-sentinel will
380 const RunType* scanline = fRunHead->findScanline(r.fTop); local
382 if (!scanline_contains(scanline, r.fLeft, r.fRight)) {
385 if (r.fBottom <= scanline_bottom(scanline)) {
388 scanline = scanline_next(scanline);
465 const RunType* scanline = fRunHead->findScanline(sect.fTop); local
467 if (scanline_intersects(scanline, sec
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_loadimage.cpp709 FX_LPBYTE scanline = (FX_LPBYTE)m_pCachedBitmap->GetScanline(row); local
711 *scanline = (*scanline) >> scale;
712 scanline++;

Completed in 747 milliseconds

12