Home
last modified time | relevance | path

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

123

/external/ImageMagick/coders/
Dexr.c148 *scanline; in ReadEXRImage() local
220 scanline=(ImfRgba *) AcquireQuantumMemory(image->columns,sizeof(*scanline)); in ReadEXRImage()
221 if (scanline == (ImfRgba *) NULL) in ReadEXRImage()
234 ResetMagickMemory(scanline,0,image->columns*sizeof(*scanline)); in ReadEXRImage()
235 ImfInputSetFrameBuffer(file,scanline-min_x-image->columns*(min_y+y),1, in ReadEXRImage()
241 ImfHalfToFloat(scanline[x].r)),q); in ReadEXRImage()
243 ImfHalfToFloat(scanline[x].g)),q); in ReadEXRImage()
245 ImfHalfToFloat(scanline[x].b)),q); in ReadEXRImage()
247 ImfHalfToFloat(scanline[x].a)),q); in ReadEXRImage()
253 scanline=(ImfRgba *) RelinquishMagickMemory(scanline); in ReadEXRImage()
[all …]
Dpict.c361 scanline[8*256]; in ExpandBuffer() local
364 q=scanline; in ExpandBuffer()
415 return(scanline); in ExpandBuffer()
446 *scanline; in DecodeImage() local
477 scanline=(unsigned char *) AcquireQuantumMemory(row_bytes,2* in DecodeImage()
478 sizeof(*scanline)); in DecodeImage()
479 if (scanline == (unsigned char *) NULL) in DecodeImage()
490 count=ReadBlob(blob,(size_t) number_pixels,scanline); in DecodeImage()
498 p=ExpandBuffer(scanline,&number_pixels,bits_per_pixel); in DecodeImage()
508 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in DecodeImage()
[all …]
Dyuv.c132 *scanline; in ReadYUVImage() local
197 scanline=(unsigned char *) AcquireQuantumMemory((size_t) 2UL* in ReadYUVImage()
198 image->columns+2UL,quantum*sizeof(*scanline)); in ReadYUVImage()
200 scanline=(unsigned char *) AcquireQuantumMemory(image->columns, in ReadYUVImage()
201 quantum*sizeof(*scanline)); in ReadYUVImage()
202 if (scanline == (unsigned char *) NULL) in ReadYUVImage()
238 count=ReadBlob(image,(size_t) (2*quantum*image->columns),scanline); in ReadYUVImage()
239 p=scanline; in ReadYUVImage()
292 count=ReadBlob(image,(size_t) quantum*image->columns,scanline); in ReadYUVImage()
293 p=scanline; in ReadYUVImage()
[all …]
Dpcx.c207 scanline=(unsigned char *) RelinquishMagickMemory(scanline); \ in ReadPCXImage()
258 *scanline; in ReadPCXImage() local
398 scanline=(unsigned char *) AcquireQuantumMemory(MagickMax(image->columns, in ReadPCXImage()
399 pcx_info.bytes_per_line),MagickMax(8,pcx_info.planes)*sizeof(*scanline)); in ReadPCXImage()
401 if ((scanline == (unsigned char *) NULL) || in ReadPCXImage()
404 if (scanline != (unsigned char *) NULL) in ReadPCXImage()
405 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in ReadPCXImage()
498 r=scanline; in ReadPCXImage()
502 r=scanline+i; in ReadPCXImage()
539 r=scanline; in ReadPCXImage()
[all …]
Dpdb.c745 *scanline; in WritePDBImage() local
830 scanline=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* in WritePDBImage()
831 sizeof(*scanline)); in WritePDBImage()
832 if (scanline == (unsigned char *) NULL) in WritePDBImage()
853 GrayQuantum,scanline,exception); in WritePDBImage()
857 buffer[literal+repeat]|=(0xff-scanline[x*packet_size]) >> in WritePDBImage()
907 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in WritePDBImage()
Dsgi.c386 *scanline; in ReadSGIImage() local
391 scanline=(unsigned char *) AcquireQuantumMemory(iris_info.columns, in ReadSGIImage()
392 bytes_per_pixel*sizeof(*scanline)); in ReadSGIImage()
393 if (scanline == (unsigned char *) NULL) in ReadSGIImage()
400 count=ReadBlob(image,bytes_per_pixel*iris_info.columns,scanline); in ReadSGIImage()
406 *p=scanline[2*x]; in ReadSGIImage()
407 *(p+1)=scanline[2*x+1]; in ReadSGIImage()
413 *p=scanline[x]; in ReadSGIImage()
418 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/libvncserver/common/
Dzywrletemplate.c622 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/skia/gm/
Dbleed.cpp54 PIXEL_TYPE* scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, 0); in make_ringed_bitmap() local
56 scanline[x] = outerRingColor; in make_ringed_bitmap()
58 scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, 1); in make_ringed_bitmap()
59 scanline[0] = outerRingColor; in make_ringed_bitmap()
61 scanline[x] = innerRingColor; in make_ringed_bitmap()
63 scanline[width - 1] = outerRingColor; in make_ringed_bitmap()
66 scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, y); in make_ringed_bitmap()
67 scanline[0] = outerRingColor; in make_ringed_bitmap()
68 scanline[1] = innerRingColor; in make_ringed_bitmap()
70 scanline[x] = checkColor1; in make_ringed_bitmap()
[all …]
/external/skqp/gm/
Dbleed.cpp54 PIXEL_TYPE* scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, 0); in make_ringed_bitmap() local
56 scanline[x] = outerRingColor; in make_ringed_bitmap()
58 scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, 1); in make_ringed_bitmap()
59 scanline[0] = outerRingColor; in make_ringed_bitmap()
61 scanline[x] = innerRingColor; in make_ringed_bitmap()
63 scanline[width - 1] = outerRingColor; in make_ringed_bitmap()
66 scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, y); in make_ringed_bitmap()
67 scanline[0] = outerRingColor; in make_ringed_bitmap()
68 scanline[1] = innerRingColor; in make_ringed_bitmap()
70 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,
/external/ImageMagick/MagickCore/
Dcompress.c439 *scanline; in HuffmanDecodeImage() local
454 scanline=(unsigned char *) AcquireQuantumMemory((size_t) image->columns, in HuffmanDecodeImage()
455 sizeof(*scanline)); in HuffmanDecodeImage()
458 (scanline == (unsigned char *) NULL)) in HuffmanDecodeImage()
500 ResetMagickMemory(scanline,0,sizeof(*scanline)*image->columns); in HuffmanDecodeImage()
583 scanline[x++]=(unsigned char) 1; in HuffmanDecodeImage()
605 p=scanline; in HuffmanDecodeImage()
631 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in HuffmanDecodeImage()
730 *scanline; in HuffmanEncodeImage() local
747 scanline=(unsigned char *) AcquireQuantumMemory((size_t) width+1UL, in HuffmanEncodeImage()
[all …]
/external/skia/src/pdf/
DSkPDFBitmap.cpp102 uint32_t* scanline = bm.getAddr32(0, y); in get_neighbor_avg_color() local
104 uint32_t color = scanline[x]; in get_neighbor_avg_color()
177 SkAutoTMalloc<uint8_t> scanline(3 * bm.width()); in bitmap_to_pdf_pixels() local
180 uint8_t* dst = scanline.get(); in bitmap_to_pdf_pixels()
198 out->write(scanline.get(), 3 * bm.width()); in bitmap_to_pdf_pixels()
204 SkAutoTMalloc<uint8_t> scanline(3 * bm.width()); in bitmap_to_pdf_pixels() local
207 uint8_t* dst = scanline.get(); in bitmap_to_pdf_pixels()
214 out->write(scanline.get(), 3 * bm.width()); in bitmap_to_pdf_pixels()
249 SkAutoTMalloc<uint8_t> scanline(bm.width()); in bitmap_alpha_to_a8() local
251 uint8_t* dst = scanline.get(); in bitmap_alpha_to_a8()
[all …]
/external/skqp/src/pdf/
DSkPDFBitmap.cpp102 uint32_t* scanline = bm.getAddr32(0, y); in get_neighbor_avg_color() local
104 uint32_t color = scanline[x]; in get_neighbor_avg_color()
177 SkAutoTMalloc<uint8_t> scanline(3 * bm.width()); in bitmap_to_pdf_pixels() local
180 uint8_t* dst = scanline.get(); in bitmap_to_pdf_pixels()
198 out->write(scanline.get(), 3 * bm.width()); in bitmap_to_pdf_pixels()
204 SkAutoTMalloc<uint8_t> scanline(3 * bm.width()); in bitmap_to_pdf_pixels() local
207 uint8_t* dst = scanline.get(); in bitmap_to_pdf_pixels()
214 out->write(scanline.get(), 3 * bm.width()); in bitmap_to_pdf_pixels()
249 SkAutoTMalloc<uint8_t> scanline(bm.width()); in bitmap_alpha_to_a8() local
251 uint8_t* dst = scanline.get(); in bitmap_alpha_to_a8()
[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/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.cpp382 const RunType* scanline = fRunHead->findScanline(r.fTop); in contains() local
384 if (!scanline_contains(scanline, r.fLeft, r.fRight)) { in contains()
387 if (r.fBottom <= scanline_bottom(scanline)) { in contains()
390 scanline = scanline_next(scanline); in contains()
467 const RunType* scanline = fRunHead->findScanline(sect.fTop); in intersects() local
469 if (scanline_intersects(scanline, sect.fLeft, sect.fRight)) { in intersects()
472 if (sect.fBottom <= scanline_bottom(scanline)) { in intersects()
475 scanline = scanline_next(scanline); in intersects()
/external/skia/src/core/
DSkRegion.cpp382 const RunType* scanline = fRunHead->findScanline(r.fTop); in contains() local
384 if (!scanline_contains(scanline, r.fLeft, r.fRight)) { in contains()
387 if (r.fBottom <= scanline_bottom(scanline)) { in contains()
390 scanline = scanline_next(scanline); in contains()
467 const RunType* scanline = fRunHead->findScanline(sect.fTop); in intersects() local
469 if (scanline_intersects(scanline, sect.fLeft, sect.fRight)) { in intersects()
472 if (sect.fBottom <= scanline_bottom(scanline)) { in intersects()
475 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()

123