Home
last modified time | relevance | path

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

123

/external/ImageMagick/coders/
Dexr.c164 *scanline; in ReadEXRImage() local
238 scanline=(ImfRgba *) NULL; in ReadEXRImage()
241 scanline=(ImfRgba *) AcquireQuantumMemory(columns,sizeof(*scanline)); in ReadEXRImage()
242 if (scanline == (ImfRgba *) NULL) in ReadEXRImage()
262 (scanline == (ImfRgba *) NULL)) in ReadEXRImage()
271 memset(scanline,0,columns*sizeof(*scanline)); in ReadEXRImage()
272 ImfInputSetFrameBuffer(file,scanline-data_window.min_x-columns*yy,1, in ReadEXRImage()
286 ImfHalfToFloat(scanline[xx].r)),q); in ReadEXRImage()
288 ImfHalfToFloat(scanline[xx].g)),q); in ReadEXRImage()
290 ImfHalfToFloat(scanline[xx].b)),q); in ReadEXRImage()
[all …]
Dyuv.c135 *scanline; in ReadYUVImage() local
200 scanline=(unsigned char *) AcquireQuantumMemory((size_t) (2UL* in ReadYUVImage()
201 image->columns+2UL),(size_t) quantum*sizeof(*scanline)); in ReadYUVImage()
203 scanline=(unsigned char *) AcquireQuantumMemory(image->columns, in ReadYUVImage()
204 (size_t) quantum*sizeof(*scanline)); in ReadYUVImage()
205 if (scanline == (unsigned char *) NULL) in ReadYUVImage()
215 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in ReadYUVImage()
233 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in ReadYUVImage()
248 count=ReadBlob(image,length,scanline); in ReadYUVImage()
257 p=scanline; in ReadYUVImage()
[all …]
Dpict.c341 scanline[8*256]; in ExpandBuffer() local
344 q=scanline; in ExpandBuffer()
395 return(scanline); in ExpandBuffer()
430 *scanline; in DecodeImage() local
461 scanline=(unsigned char *) AcquireQuantumMemory(row_bytes,2* in DecodeImage()
462 sizeof(*scanline)); in DecodeImage()
463 if (scanline == (unsigned char *) NULL) in DecodeImage()
468 (void) memset(scanline,0,2*row_bytes*sizeof(*scanline)); in DecodeImage()
479 count=ReadBlob(blob,(size_t) number_pixels,scanline); in DecodeImage()
485 p=ExpandBuffer(scanline,bits_per_pixel,&number_pixels); in DecodeImage()
[all …]
Dpcx.c207 if (scanline != (unsigned char *) NULL) \ in ReadPCXImage()
208 scanline=(unsigned char *) RelinquishMagickMemory(scanline); \ in ReadPCXImage()
262 *scanline; in ReadPCXImage() local
285 scanline=(unsigned char *) NULL; in ReadPCXImage()
413 scanline=(unsigned char *) AcquireQuantumMemory(MagickMax(image->columns, in ReadPCXImage()
414 pcx_info.bytes_per_line),MagickMax(pcx_info.planes,8)*sizeof(*scanline)); in ReadPCXImage()
416 if ((scanline == (unsigned char *) NULL) || in ReadPCXImage()
419 if (scanline != (unsigned char *) NULL) in ReadPCXImage()
420 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in ReadPCXImage()
425 (void) memset(scanline,0,(size_t) MagickMax(image->columns, in ReadPCXImage()
[all …]
Dpdb.c782 *scanline; in WritePDBImage() local
864 scanline=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* in WritePDBImage()
865 sizeof(*scanline)); in WritePDBImage()
868 (scanline == (unsigned char *) NULL)) in WritePDBImage()
874 if (scanline != (unsigned char *) NULL) in WritePDBImage()
875 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in WritePDBImage()
891 if (scanline != (unsigned char *) NULL) in WritePDBImage()
892 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in WritePDBImage()
907 GrayQuantum,scanline,exception); in WritePDBImage()
911 buffer[literal+repeat]|=(0xff-scanline[x*packet_size]) >> in WritePDBImage()
[all …]
Dsgi.c401 *scanline; in ReadSGIImage() local
406 scanline=(unsigned char *) AcquireQuantumMemory(iris_info.columns, in ReadSGIImage()
407 bytes_per_pixel*sizeof(*scanline)); in ReadSGIImage()
408 if (scanline == (unsigned char *) NULL) in ReadSGIImage()
418 count=ReadBlob(image,bytes_per_pixel*iris_info.columns,scanline); in ReadSGIImage()
424 *p=scanline[2*x]; in ReadSGIImage()
425 *(p+1)=scanline[2*x+1]; in ReadSGIImage()
431 *p=scanline[x]; in ReadSGIImage()
438 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in ReadSGIImage()
/external/pdfium/third_party/libtiff/
Dtif_next.c55 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()
82 if (cc < scanline) in NeXTDecode()
84 _TIFFmemcpy(row, bp, scanline); in NeXTDecode()
85 bp += scanline; in NeXTDecode()
86 cc -= scanline; in NeXTDecode()
98 if (cc < 4+n || off+n > scanline) in NeXTDecode()
127 while (n-- > 0 && npixels < imagewidth && op_offset < scanline) in NeXTDecode()
[all …]
Dtif_strip.c356 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()
/external/skqp/gm/
Dbleed.cpp52 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/skia/gm/
Dbleed.cpp52 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/pdfium/core/fxge/dib/
Dcfx_dibitmap.cpp631 uint8_t* scanline = m_pBuffer.Get() + line * m_Pitch; in DownSampleScanline() local
640 dest_scan[i] = (scanline[src_x / 8] & (1 << (7 - src_x % 8))) ? 255 : 0; in DownSampleScanline()
654 FX_ARGB argb = m_pPalette.get()[scanline[src_x]]; in DownSampleScanline()
660 FX_CMYK cmyk = m_pPalette.get()[scanline[src_x]]; in DownSampleScanline()
667 dest_scan[dest_pos] = scanline[src_x]; in DownSampleScanline()
679 dest_scan[dest_pos + b] = scanline[src_x + b]; in DownSampleScanline()
711 uint8_t* scanline = m_pBuffer.Get() + row * m_Pitch; in ConvertRGBColorScale() local
714 int gray = FXRGB2GRAY(scanline[2], scanline[1], scanline[0]); in ConvertRGBColorScale()
715 *scanline++ = gray; in ConvertRGBColorScale()
716 *scanline++ = gray; in ConvertRGBColorScale()
[all …]
Dcfx_bitmapcomposer.cpp102 const uint8_t* scanline, in ComposeScanline() argument
105 ComposeScanlineV(line, scanline, scan_extra_alpha); in ComposeScanline()
124 DoCompose(dest_scan, scanline, m_DestWidth, clip_scan, scan_extra_alpha, in ComposeScanline()
129 const uint8_t* scanline, in ComposeScanlineV() argument
184 DoCompose(m_pScanlineV.data(), scanline, m_DestHeight, clip_scan, in ComposeScanlineV()
Dcfx_bitmapstorer.cpp26 const uint8_t* scanline, in ComposeScanline() argument
34 memcpy(dest_buf, scanline, m_pBitmap->GetPitch()); in ComposeScanline()
Dcfx_bitmapcomposer.h45 const uint8_t* scanline,
56 const uint8_t* scanline,
Difx_scanlinecomposer.h17 const uint8_t* scanline,
/external/ImageMagick/MagickCore/
Dcompress.c439 *scanline; in HuffmanDecodeImage() local
456 scanline=(unsigned char *) AcquireQuantumMemory((size_t) image->columns, in HuffmanDecodeImage()
457 sizeof(*scanline)); in HuffmanDecodeImage()
460 (scanline == (unsigned char *) NULL)) in HuffmanDecodeImage()
466 if (scanline != (unsigned char *) NULL) in HuffmanDecodeImage()
467 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in HuffmanDecodeImage()
510 memset(scanline,0,sizeof(*scanline)*image->columns); in HuffmanDecodeImage()
593 scanline[x++]=(unsigned char) 1; in HuffmanDecodeImage()
615 p=scanline; in HuffmanDecodeImage()
642 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in HuffmanDecodeImage()
[all …]
/external/skia/bench/
DGameBench.cpp257 SkPMColor* scanline = fCheckerboard.getAddr32(0, y); in makeCheckerboard() local
261 *scanline++ = 0xFFFF0000; in makeCheckerboard()
263 *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/skqp/bench/
DGameBench.cpp257 SkPMColor* scanline = fCheckerboard.getAddr32(0, y); in makeCheckerboard() local
261 *scanline++ = 0xFFFF0000; in makeCheckerboard()
263 *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/u-boot/drivers/video/
Dstb_truetype.h1721 static void stbtt__fill_active_edges(unsigned char *scanline, int len, stbtt__active_edge *e, int m… in stbtt__fill_active_edges() argument
1740scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
1743scanline[i] = scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> ST… in stbtt__fill_active_edges()
1748scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
1753 scanline[i] = scanline[i] + (stbtt_uint8) max_weight; in stbtt__fill_active_edges()
1770 unsigned char scanline_data[512], *scanline; in stbtt__rasterize_sorted_edges() local
1773 scanline = (unsigned char *) STBTT_malloc(result->w, userdata); in stbtt__rasterize_sorted_edges()
1775 scanline = scanline_data; in stbtt__rasterize_sorted_edges()
1781 STBTT_memset(scanline, 0, result->w); in stbtt__rasterize_sorted_edges()
1847 stbtt__fill_active_edges(scanline, result->w, active, max_weight); in stbtt__rasterize_sorted_edges()
[all …]
/external/libjpeg-turbo/
Drdrle.c248 JSAMPROW scanline, red_ptr, green_ptr, blue_ptr; in load_image() local
292 scanline = *(*cinfo->mem->access_virt_sarray) in load_image()
299 *scanline++ = (JSAMPLE) in load_image()
315 scanline = *(*cinfo->mem->access_virt_sarray) in load_image()
324 *scanline++ = *red_ptr++; in load_image()
325 *scanline++ = *green_ptr++; in load_image()
326 *scanline++ = *blue_ptr++; in load_image()
/external/freetype/docs/
Draster.txt90 A pixel line in the target bitmap is called a `scanline'.
214 /---/ |---| several spans per scanline.
217 V /----------------| current scanline y, we must
237 For each scanline during the sweep, we need the following
240 o The number of spans on the current scanline, given by the
241 number of shape points intersecting the scanline (these are
306 *scanline* crossed by the contour's section containing the
372 - min scanline = FLOOR ( min y )
373 - max scanline = CEILING( max y )
529 for each scanline.
[all …]
/external/skqp/src/core/
DSkRegion.cpp426 const RunType* scanline = fRunHead->findScanline(r.fTop); in contains() local
428 if (!scanline_contains(scanline, r.fLeft, r.fRight)) { in contains()
431 if (r.fBottom <= scanline_bottom(scanline)) { in contains()
434 scanline = scanline_next(scanline); in contains()
511 const RunType* scanline = fRunHead->findScanline(sect.fTop); in intersects() local
513 if (scanline_intersects(scanline, sect.fLeft, sect.fRight)) { in intersects()
516 if (sect.fBottom <= scanline_bottom(scanline)) { in intersects()
519 scanline = scanline_next(scanline); in intersects()
/external/skia/src/core/
DSkRegion.cpp426 const RunType* scanline = fRunHead->findScanline(r.fTop); in contains() local
428 if (!scanline_contains(scanline, r.fLeft, r.fRight)) { in contains()
431 if (r.fBottom <= scanline_bottom(scanline)) { in contains()
434 scanline = scanline_next(scanline); in contains()
511 const RunType* scanline = fRunHead->findScanline(sect.fTop); in intersects() local
513 if (scanline_intersects(scanline, sect.fLeft, sect.fRight)) { in intersects()
516 if (sect.fBottom <= scanline_bottom(scanline)) { in intersects()
519 scanline = scanline_next(scanline); in intersects()
/external/swiftshader/src/D3D9/
DDirect3DSwapChain9.cpp247 unsigned int scanline; in GetRasterStatus() local
248 bool supported = frameBuffer->getScanline(inVerticalBlank, scanline); in GetRasterStatus()
253 rasterStatus->ScanLine = scanline; in GetRasterStatus()
/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 …]

123