Home
last modified time | relevance | path

Searched refs:scanline (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/skia/gm/
Dbleed.cpp29 SkPMColor* scanline = result->getAddr32(0, 0); in make_ringed_bitmap() local
31 scanline[x] = kBlue; in make_ringed_bitmap()
33 scanline = result->getAddr32(0, 1); in make_ringed_bitmap()
34 scanline[0] = kBlue; in make_ringed_bitmap()
36 scanline[x] = kRed; in make_ringed_bitmap()
38 scanline[width-1] = kBlue; in make_ringed_bitmap()
41 scanline = result->getAddr32(0, y); in make_ringed_bitmap()
42 scanline[0] = kBlue; in make_ringed_bitmap()
43 scanline[1] = kRed; in make_ringed_bitmap()
45 scanline[x] = kBlack; in make_ringed_bitmap()
[all …]
Doptimizations.cpp400 SkPMColor* scanline = fCheckerboard.getAddr32(0, y); in makeCheckerboard() local
402 *scanline++ = 0xFFFFFFFF; in makeCheckerboard()
403 *scanline++ = 0xFF000000; in makeCheckerboard()
405 scanline = fCheckerboard.getAddr32(0, y + 1); in makeCheckerboard()
407 *scanline++ = 0xFF000000; in makeCheckerboard()
408 *scanline++ = 0xFFFFFFFF; in makeCheckerboard()
/external/skia/gm/
Dbleed.cpp29 SkPMColor* scanline = result->getAddr32(0, 0); in make_ringed_bitmap() local
31 scanline[x] = kBlue; in make_ringed_bitmap()
33 scanline = result->getAddr32(0, 1); in make_ringed_bitmap()
34 scanline[0] = kBlue; in make_ringed_bitmap()
36 scanline[x] = kRed; in make_ringed_bitmap()
38 scanline[width-1] = kBlue; in make_ringed_bitmap()
41 scanline = result->getAddr32(0, y); in make_ringed_bitmap()
42 scanline[0] = kBlue; in make_ringed_bitmap()
43 scanline[1] = kRed; in make_ringed_bitmap()
45 scanline[x] = kBlack; in make_ringed_bitmap()
[all …]
Doptimizations.cpp397 SkPMColor* scanline = fCheckerboard.getAddr32(0, y); in makeCheckerboard() local
399 *scanline++ = 0xFFFFFFFF; in makeCheckerboard()
400 *scanline++ = 0xFF000000; in makeCheckerboard()
402 scanline = fCheckerboard.getAddr32(0, y + 1); in makeCheckerboard()
404 *scanline++ = 0xFF000000; in makeCheckerboard()
405 *scanline++ = 0xFFFFFFFF; in makeCheckerboard()
/external/chromium_org/third_party/skia/src/images/
DSkImageDecoder_libgif.cpp381 uint8_t* scanline = (uint8_t*) storage.get(); local
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);
449 sampler.next(scanline);
[all …]
DSkImageDecoder_libjpeg.cpp340 static void convert_CMYK_to_RGB(uint8_t* scanline, unsigned int width) { in convert_CMYK_to_RGB() argument
353 for (unsigned int x = 0; x < width; ++x, scanline += 4) { in convert_CMYK_to_RGB()
354 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]); in convert_CMYK_to_RGB()
355 scanline[1] = SkMulDiv255Round(scanline[1], scanline[3]); in convert_CMYK_to_RGB()
356 scanline[2] = SkMulDiv255Round(scanline[2], scanline[3]); in convert_CMYK_to_RGB()
357 scanline[3] = 255; in convert_CMYK_to_RGB()
/external/skia/src/images/
DSkImageDecoder_libgif.cpp382 uint8_t* scanline = (uint8_t*) storage.get(); local
424 if (DGifGetLine(gif, scanline, innerWidth) == GIF_ERROR) {
426 memset(scanline, fillIndex, innerWidth);
428 sampler.sampleInterlaced(scanline, iter.currY());
433 sampler.sampleInterlaced(scanline, iter.currY());
439 skip_src_rows(gif, scanline, innerWidth, sampler.srcY0());
441 if (DGifGetLine(gif, scanline, innerWidth) == GIF_ERROR) {
443 memset(scanline, fillIndex, innerWidth);
445 sampler.next(scanline);
450 sampler.next(scanline);
[all …]
DSkImageDecoder_libjpeg.cpp355 static void convert_CMYK_to_RGB(uint8_t* scanline, unsigned int width) { in convert_CMYK_to_RGB() argument
368 for (unsigned int x = 0; x < width; ++x, scanline += 4) { in convert_CMYK_to_RGB()
369 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]); in convert_CMYK_to_RGB()
370 scanline[1] = SkMulDiv255Round(scanline[1], scanline[3]); in convert_CMYK_to_RGB()
371 scanline[2] = SkMulDiv255Round(scanline[2], scanline[3]); in convert_CMYK_to_RGB()
372 scanline[3] = 255; in convert_CMYK_to_RGB()
/external/pdfium/core/src/fxge/dib/
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[2], scanline[3],
1293 *scanline ++ = 0;
1294 *scanline ++ = 0;
[all …]
/external/skia/src/effects/
DSkStippleMaskFilter.cpp34 uint8_t* scanline = dst->fImage; in filterMask() local
38 scanline[x] = srcScanLine[x] && ((x+y) & 0x1) ? 0xFF : 0x00; in filterMask()
40 scanline += dst->fRowBytes; in filterMask()
/external/chromium_org/third_party/skia/bench/
DGameBench.cpp256 SkPMColor* scanline = fCheckerboard.getAddr32(0, y); in makeCheckerboard() local
260 *scanline++ = 0xFFFF0000; in makeCheckerboard()
262 *scanline++ = 0x00000000; in makeCheckerboard()
291 SkPMColor* scanline = fAtlas.getAddr32(0, y); in makeAtlas() local
293 for (int x = 0; x < kTotAtlasWidth; ++x, ++scanline) { in makeAtlas()
299 *scanline = colors[colorX][colorY]; in makeAtlas()
301 *scanline = 0x00000000; in makeAtlas()
/external/skia/bench/
DGameBench.cpp256 SkPMColor* scanline = fCheckerboard.getAddr32(0, y); in makeCheckerboard() local
260 *scanline++ = 0xFFFF0000; in makeCheckerboard()
262 *scanline++ = 0x00000000; in makeCheckerboard()
291 SkPMColor* scanline = fAtlas.getAddr32(0, y); in makeAtlas() local
293 for (int x = 0; x < kTotAtlasWidth; ++x, ++scanline) { in makeAtlas()
299 *scanline = colors[colorX][colorY]; in makeAtlas()
301 *scanline = 0x00000000; in makeAtlas()
/external/qemu/distrib/jpeg-6b/
Drdrle.c245 JSAMPROW scanline, red_ptr, green_ptr, blue_ptr; in load_image() local
290 scanline = * (*cinfo->mem->access_virt_sarray) in load_image()
297 *scanline++ = (JSAMPLE) in load_image()
313 scanline = * (*cinfo->mem->access_virt_sarray) in load_image()
322 *scanline++ = *red_ptr++; in load_image()
323 *scanline++ = *green_ptr++; in load_image()
324 *scanline++ = *blue_ptr++; in load_image()
/external/jpeg/
Drdrle.c245 JSAMPROW scanline, red_ptr, green_ptr, blue_ptr; in load_image() local
290 scanline = * (*cinfo->mem->access_virt_sarray) in load_image()
297 *scanline++ = (JSAMPLE) in load_image()
313 scanline = * (*cinfo->mem->access_virt_sarray) in load_image()
322 *scanline++ = *red_ptr++; in load_image()
323 *scanline++ = *green_ptr++; in load_image()
324 *scanline++ = *blue_ptr++; in load_image()
/external/chromium_org/third_party/libjpeg_turbo/
Drdrle.c245 JSAMPROW scanline, red_ptr, green_ptr, blue_ptr; in load_image() local
290 scanline = * (*cinfo->mem->access_virt_sarray) in load_image()
297 *scanline++ = (JSAMPLE) in load_image()
313 scanline = * (*cinfo->mem->access_virt_sarray) in load_image()
322 *scanline++ = *red_ptr++; in load_image()
323 *scanline++ = *green_ptr++; in load_image()
324 *scanline++ = *blue_ptr++; in load_image()
/external/chromium_org/tools/telemetry/third_party/png/
Dpng.py911 scanline = array('B', infile.read(row_bytes))
912 return scanline
1443 def undo_filter(self, filter_type, scanline, previous): argument
1462 result = scanline
1482 previous = array('B', [0]*len(scanline))
1492 x = scanline[i]
1501 x = scanline[i]
1510 x = scanline[i]
1525 x = scanline[i]
1551 pngfilters.undo_filter_paeth)[filter_type](fu, scanline, previous, result)
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/jpeg/
DJPEGImageDecoder.cpp880 int scanline = (info->output_scanline + i); in outputRawData() local
881 if (scanline < yMaxH) { in outputRawData()
882 bufferraw2[i] = &outputY[scanline * rowBytesY]; in outputRawData()
883 } else if (scanline == yMaxH) { in outputRawData()
893 int scanline = (scaledScanline + i); in outputRawData() local
894 if (scanline < uvMaxH) { in outputRawData()
895 bufferraw2[16 + i] = &outputU[scanline * rowBytesU]; in outputRawData()
896 bufferraw2[24 + i] = &outputV[scanline * rowBytesV]; in outputRawData()
897 } else if (scanline == uvMaxH) { in outputRawData()
/external/chromium_org/third_party/skia/src/core/
DSkRegion.cpp380 const RunType* scanline = fRunHead->findScanline(r.fTop); in contains() local
382 if (!scanline_contains(scanline, r.fLeft, r.fRight)) { in contains()
385 if (r.fBottom <= scanline_bottom(scanline)) { in contains()
388 scanline = scanline_next(scanline); in contains()
465 const RunType* scanline = fRunHead->findScanline(sect.fTop); in intersects() local
467 if (scanline_intersects(scanline, sect.fLeft, sect.fRight)) { in intersects()
470 if (sect.fBottom <= scanline_bottom(scanline)) { in intersects()
473 scanline = scanline_next(scanline); in intersects()
/external/skia/src/core/
DSkRegion.cpp380 const RunType* scanline = fRunHead->findScanline(r.fTop); in contains() local
382 if (!scanline_contains(scanline, r.fLeft, r.fRight)) { in contains()
385 if (r.fBottom <= scanline_bottom(scanline)) { in contains()
388 scanline = scanline_next(scanline); in contains()
465 const RunType* scanline = fRunHead->findScanline(sect.fTop); in intersects() local
467 if (scanline_intersects(scanline, sect.fLeft, sect.fRight)) { in intersects()
470 if (sect.fBottom <= scanline_bottom(scanline)) { in intersects()
473 scanline = scanline_next(scanline); in intersects()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp4008 static unsigned unfilterScanline(unsigned char* recon, const unsigned char* scanline, const unsigne… in unfilterScanline() argument
4024 for(i = 0; i < length; i++) recon[i] = scanline[i]; in unfilterScanline()
4027 for(i = 0; i < bytewidth; i++) recon[i] = scanline[i]; in unfilterScanline()
4028 for(i = bytewidth; i < length; i++) recon[i] = scanline[i] + recon[i - bytewidth]; in unfilterScanline()
4033 for(i = 0; i < length; i++) recon[i] = scanline[i] + precon[i]; in unfilterScanline()
4037 for(i = 0; i < length; i++) recon[i] = scanline[i]; in unfilterScanline()
4043 for(i = 0; i < bytewidth; i++) recon[i] = scanline[i] + precon[i] / 2; in unfilterScanline()
4044 …for(i = bytewidth; i < length; i++) recon[i] = scanline[i] + ((recon[i - bytewidth] + precon[i]) /… in unfilterScanline()
4048 for(i = 0; i < bytewidth; i++) recon[i] = scanline[i]; in unfilterScanline()
4049 for(i = bytewidth; i < length; i++) recon[i] = scanline[i] + recon[i - bytewidth] / 2; in unfilterScanline()
[all …]
/external/pdfium/core/include/fxge/
Dfx_dib.h406 …virtual void ComposeScanline(int line, FX_LPCBYTE scanline, FX_LPCBYTE scan_extra_alpha = NULL) =…
471 virtual void ComposeScanline(int line, FX_LPCBYTE scanline, FX_LPCBYTE scan_extra_alpha);
488 void ComposeScanlineV(int line, FX_LPCBYTE scanline, FX_LPCBYTE scan_extra_alpha = NULL);
499 virtual void ComposeScanline(int line, FX_LPCBYTE scanline, FX_LPCBYTE scan_extra_alpha);
/external/chromium_org/native_client_sdk/src/examples/api/mouse_lock/
Dmouse_lock.cc233 uint32_t* scanline = image->GetAddr32(pp::Point(0, y)); in ClearToBackground() local
234 memcpy(scanline, in ClearToBackground()
/external/chromium_org/ui/gfx/
Dcanvas_paint_mac.mm40 // Mirror context on the target's rect middle scanline.
/external/zopfli/
DREADME.zopflipng4 - compares several strategies for choosing scanline filter codes,
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
DSDL_riscosASM.S66 ;move to start of next scanline

12