/external/skia/gm/ |
D | bleed.cpp | 52 PIXEL_TYPE* scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, 0); in make_ringed_bitmap() local 54 scanline[x] = outerRingColor; in make_ringed_bitmap() 56 scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, 1); in make_ringed_bitmap() 57 scanline[0] = outerRingColor; in make_ringed_bitmap() 59 scanline[x] = innerRingColor; in make_ringed_bitmap() 61 scanline[width - 1] = outerRingColor; in make_ringed_bitmap() 64 scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, y); in make_ringed_bitmap() 65 scanline[0] = outerRingColor; in make_ringed_bitmap() 66 scanline[1] = innerRingColor; in make_ringed_bitmap() 68 scanline[x] = checkColor1; in make_ringed_bitmap() [all …]
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_next.c | 55 tmsize_t scanline, n; in NeXTDecode() local 68 scanline = tif->tif_scanlinesize; in NeXTDecode() 69 if (occ % scanline) in NeXTDecode() 74 for (row = buf; occ > 0; occ -= scanline, row += scanline) { in NeXTDecode() 81 if (cc < scanline) in NeXTDecode() 83 _TIFFmemcpy(row, bp, scanline); in NeXTDecode() 84 bp += scanline; in NeXTDecode() 85 cc -= scanline; in NeXTDecode() 95 if (cc < 4+n || off+n > scanline) in NeXTDecode()
|
D | tif_strip.c | 350 uint64 scanline; in TIFFRasterScanlineSize64() local 352 scanline = _TIFFMultiply64(tif, td->td_bitspersample, td->td_imagewidth, module); in TIFFRasterScanlineSize64() 354 scanline = _TIFFMultiply64(tif, scanline, td->td_samplesperpixel, module); in TIFFRasterScanlineSize64() 355 return (TIFFhowmany8_64(scanline)); in TIFFRasterScanlineSize64() 357 return (_TIFFMultiply64(tif, TIFFhowmany8_64(scanline), in TIFFRasterScanlineSize64()
|
D | tif_getimage.c | 841 tmsize_t scanline; in gtStripContig() local 863 scanline = TIFFScanlineSize(tif); in gtStripContig() 875 ((row + img->row_offset)%rowsperstrip + nrowsub) * scanline)==(tmsize_t)(-1) in gtStripContig() 882 pos = ((row + img->row_offset) % rowsperstrip) * scanline; in gtStripContig() 922 tmsize_t scanline; in gtStripSeparate() local 972 scanline = TIFFScanlineSize(tif); in gtStripSeparate() 980 p0, ((row + img->row_offset)%rowsperstrip + nrow) * scanline)==(tmsize_t)(-1) in gtStripSeparate() 988 … p1, ((row + img->row_offset)%rowsperstrip + nrow) * scanline) == (tmsize_t)(-1) in gtStripSeparate() 996 … p2, ((row + img->row_offset)%rowsperstrip + nrow) * scanline) == (tmsize_t)(-1) in gtStripSeparate() 1005 pa, ((row + img->row_offset)%rowsperstrip + nrow) * scanline)==(tmsize_t)(-1) in gtStripSeparate() [all …]
|
/external/libvncserver/common/ |
D | zywrletemplate.c | 622 data += scanline-(w+uw); \ 626 #define ZYWRLE_TRANSFER_COEFF(pBuf,data,r,w,h,scanline,level,TRANS) \ argument 644 #define ZYWRLE_PACK_COEFF(pBuf,data,r,width,height,scanline,level) \ argument 645 …ZYWRLE_TRANSFER_COEFF(pBuf,data,r,width,height,scanline,level,ZYWRLE_LOAD_COEFF(pH,R,G,B);ZYWRLE_S… 647 #define ZYWRLE_UNPACK_COEFF(pBuf,data,r,width,height,scanline,level) \ argument 648 …ZYWRLE_TRANSFER_COEFF(pBuf,data,r,width,height,scanline,level,ZYWRLE_LOAD_PIXEL(data,R,G,B);ZYWRLE… 663 pEnd = (int*)(pData+ h*scanline); \ 671 pData += scanline-uw; \ 675 pData= data + h*scanline; \ 676 pEnd = (int*)(pData+ uh*scanline); \ [all …]
|
/external/pdfium/third_party/libtiff/ |
D | tif_next.c | 55 tmsize_t scanline, n; in NeXTDecode() local 68 scanline = tif->tif_scanlinesize; in NeXTDecode() 69 if (occ % scanline) in NeXTDecode() 74 for (row = buf; cc > 0 && occ > 0; occ -= scanline, row += scanline) { in NeXTDecode() 81 if (cc < scanline) in NeXTDecode() 83 _TIFFmemcpy(row, bp, scanline); in NeXTDecode() 84 bp += scanline; in NeXTDecode() 85 cc -= scanline; in NeXTDecode() 97 if (cc < 4+n || off+n > scanline) in NeXTDecode()
|
D | tif_strip.c | 356 uint64 scanline; in TIFFRasterScanlineSize64() local 358 scanline = _TIFFMultiply64(tif, td->td_bitspersample, td->td_imagewidth, module); in TIFFRasterScanlineSize64() 360 scanline = _TIFFMultiply64(tif, scanline, td->td_samplesperpixel, module); in TIFFRasterScanlineSize64() 361 return (TIFFhowmany8_64(scanline)); in TIFFRasterScanlineSize64() 363 return (_TIFFMultiply64(tif, TIFFhowmany8_64(scanline), in TIFFRasterScanlineSize64()
|
D | tif_getimage.c | 892 tmsize_t scanline; in gtStripContig() local 920 scanline = TIFFScanlineSize(tif); in gtStripContig() 932 ((row + img->row_offset)%rowsperstrip + nrowsub) * scanline)==(tmsize_t)(-1) in gtStripContig() 939 pos = ((row + img->row_offset) % rowsperstrip) * scanline + \ in gtStripContig() 980 tmsize_t scanline; in gtStripSeparate() local 1030 scanline = TIFFScanlineSize(tif); in gtStripSeparate() 1038 p0, ((row + img->row_offset)%rowsperstrip + nrow) * scanline)==(tmsize_t)(-1) in gtStripSeparate() 1046 … p1, ((row + img->row_offset)%rowsperstrip + nrow) * scanline) == (tmsize_t)(-1) in gtStripSeparate() 1054 … p2, ((row + img->row_offset)%rowsperstrip + nrow) * scanline) == (tmsize_t)(-1) in gtStripSeparate() 1063 pa, ((row + img->row_offset)%rowsperstrip + nrow) * scanline)==(tmsize_t)(-1) in gtStripSeparate() [all …]
|
/external/skia/tests/ |
D | ReadPixelsTest.cpp | 480 SkPMColor* scanline = result->getAddr32(0, 0); in make_ringed_bitmap() local 482 scanline[x] = kBlue; in make_ringed_bitmap() 484 scanline = result->getAddr32(0, 1); in make_ringed_bitmap() 485 scanline[0] = kBlue; in make_ringed_bitmap() 487 scanline[x] = kRed; in make_ringed_bitmap() 489 scanline[width-1] = kBlue; in make_ringed_bitmap() 492 scanline = result->getAddr32(0, y); in make_ringed_bitmap() 493 scanline[0] = kBlue; in make_ringed_bitmap() 494 scanline[1] = kRed; in make_ringed_bitmap() 496 scanline[x] = kBlack; in make_ringed_bitmap() [all …]
|
/external/skia/src/images/ |
D | SkImageDecoder_libjpeg.cpp | 187 static void convert_CMYK_to_RGB(uint8_t* scanline, unsigned int width) { in convert_CMYK_to_RGB() argument 200 for (unsigned int x = 0; x < width; ++x, scanline += 4) { in convert_CMYK_to_RGB() 201 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]); in convert_CMYK_to_RGB() 202 scanline[1] = SkMulDiv255Round(scanline[1], scanline[3]); in convert_CMYK_to_RGB() 203 scanline[2] = SkMulDiv255Round(scanline[2], scanline[3]); in convert_CMYK_to_RGB() 204 scanline[3] = 255; in convert_CMYK_to_RGB() 624 int scanline = (cinfo.output_scanline + i); in output_raw_data() local 625 if (scanline < yMaxH) { in output_raw_data() 626 bufferraw2[i] = &outputY[scanline * rowBytesY]; in output_raw_data() 627 } else if (scanline == yMaxH) { in output_raw_data() [all …]
|
D | SkImageDecoder_libgif.cpp | 382 uint8_t* scanline = 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 …]
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_main.cpp | 1164 uint8_t* scanline = m_pBuffer + line * m_Pitch; local 1173 dest_scan[i] = (scanline[src_x / 8] & (1 << (7 - src_x % 8))) ? 255 : 0; 1187 FX_ARGB argb = m_pPalette[scanline[src_x]]; 1193 FX_CMYK cmyk = m_pPalette[scanline[src_x]]; 1200 dest_scan[dest_pos] = scanline[src_x]; 1212 dest_scan[dest_pos + b] = scanline[src_x + b]; 1280 uint8_t* scanline = m_pBuffer + row * m_Pitch; local 1283 AdobeCMYK_to_sRGB1(scanline[0], scanline[1], scanline[2], scanline[3], 1285 *scanline++ = 0; 1286 *scanline++ = 0; [all …]
|
D | fx_dib_convert.cpp | 1159 uint8_t* scanline = m_pBuffer + row * m_Pitch + 3; in ConvertFormat() local 1161 *scanline = 0xff; in ConvertFormat() 1162 scanline += 4; in ConvertFormat()
|
/external/skia/src/pdf/ |
D | SkPDFBitmap.cpp | 125 uint32_t* scanline = bm.getAddr32(0, y); in get_neighbor_avg_color() local 127 uint32_t color = scanline[x]; in get_neighbor_avg_color() 190 SkAutoTMalloc<uint8_t> scanline(3 * bm.width()); in bitmap_to_pdf_pixels() local 193 uint8_t* dst = scanline.get(); in bitmap_to_pdf_pixels() 204 out->write(scanline.get(), 3 * bm.width()); in bitmap_to_pdf_pixels() 210 SkAutoTMalloc<uint8_t> scanline(3 * bm.width()); in bitmap_to_pdf_pixels() local 213 uint8_t* dst = scanline.get(); in bitmap_to_pdf_pixels() 220 out->write(scanline.get(), 3 * bm.width()); in bitmap_to_pdf_pixels() 257 SkAutoTMalloc<uint8_t> scanline(bm.width()); in bitmap_alpha_to_a8() local 259 uint8_t* dst = scanline.get(); in bitmap_alpha_to_a8() [all …]
|
/external/skia/bench/ |
D | GameBench.cpp | 256 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/libjpeg-turbo/ |
D | rdrle.c | 247 JSAMPROW scanline, red_ptr, green_ptr, blue_ptr; in load_image() local 291 scanline = * (*cinfo->mem->access_virt_sarray) in load_image() 298 *scanline++ = (JSAMPLE) in load_image() 314 scanline = * (*cinfo->mem->access_virt_sarray) in load_image() 323 *scanline++ = *red_ptr++; in load_image() 324 *scanline++ = *green_ptr++; in load_image() 325 *scanline++ = *blue_ptr++; in load_image()
|
/external/chromium-trace/catapult/telemetry/third_party/png/ |
D | png.py | 911 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/opencv3/modules/imgcodecs/src/ |
D | grfmt_gdal.cpp | 390 double* scanline = new double[nCols]; in readData() local 396 band->RasterIO( GF_Read, 0, y, nCols, 1, scanline, nCols, 1, GDT_Float64, 0, 0); in readData() 404 write_pixel( scanline[x], gdalType, nChannels, img, y, x, c ); in readData() 407 write_ctable_pixel( scanline[x], gdalType, gdalColorTable, img, y, x, c ); in readData() 413 delete [] scanline; in readData()
|
/external/skia/src/core/ |
D | SkRegion.cpp | 380 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/ |
D | lodepng.cpp | 4008 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/ |
D | fx_dib.h | 456 const uint8_t* scanline, 547 const uint8_t* scanline, 570 const uint8_t* scanline, 585 const uint8_t* scanline,
|
/external/skia/site/dev/runtime/ |
D | config.md | 38 description: Which scanline bitmap filter to use \[mitchell, lanczos, hamming,
|
/external/zopfli/ |
D | README.zopflipng | 4 - compares several strategies for choosing scanline filter codes,
|
/external/skia/src/gpu/gl/debug/ |
D | GrGLCreateDebugInterface.cpp | 185 GrGLchar *scanline = static_cast<GrGLchar *>(pixels); in debugGLReadPixels() local 187 memset(scanline, 0, componentsPerPixel * componentSize * width); in debugGLReadPixels() 188 scanline += rowStride; in debugGLReadPixels()
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_loadimage.cpp | 751 uint8_t* scanline = (uint8_t*)m_pCachedBitmap->GetScanline(row); in LoadJpxBitmap() local 753 *scanline = (*scanline) >> scale; in LoadJpxBitmap() 754 ++scanline; in LoadJpxBitmap()
|