/system/core/adf/libadf/tests/ |
adf_test.cpp | 79 uint32_t *scanline = reinterpret_cast<uint32_t *>(buf8 + y * pitch); local 81 scanline[x] = 0xFF0000FF; 83 scanline[x] = 0xFF00FFFF; 86 uint32_t *scanline = reinterpret_cast<uint32_t *>(buf8 + y * pitch); local 88 scanline[x] = 0xFFFF00FF; 90 scanline[x] = 0xFFFFFFFF;
|
/external/opencv3/3rdparty/libtiff/ |
tif_next.c | 55 tmsize_t scanline, n; local 59 * Each scanline is assumed to start off as all 68 scanline = tif->tif_scanlinesize; 69 if (occ % scanline) 74 for (row = buf; occ > 0; occ -= scanline, row += scanline) { 79 * The entire scanline is given as literal values. 81 if (cc < scanline) 83 _TIFFmemcpy(row, bp, scanline); 84 bp += scanline; [all...] |
tif_strip.c | 265 * one of the scanline-oriented i/o routines. Note that 341 * decoded and packed raster scanline (as opposed to the 350 uint64 scanline; local 352 scanline = _TIFFMultiply64(tif, td->td_bitspersample, td->td_imagewidth, module); 354 scanline = _TIFFMultiply64(tif, scanline, td->td_samplesperpixel, module); 355 return (TIFFhowmany8_64(scanline)); 357 return (_TIFFMultiply64(tif, TIFFhowmany8_64(scanline),
|
/external/pdfium/third_party/libtiff/ |
tif_next.c | 55 tmsize_t scanline, n; local 59 * Each scanline is assumed to start off as all 68 scanline = tif->tif_scanlinesize; 69 if (occ % scanline) 74 for (row = buf; cc > 0 && occ > 0; occ -= scanline, row += scanline) { 79 * The entire scanline is given as literal values. 81 if (cc < scanline) 83 _TIFFmemcpy(row, bp, scanline); 84 bp += scanline; [all...] |
tif_strip.c | 265 * one of the scanline-oriented i/o routines. Note that 325 TIFFErrorExt(tif->tif_clientdata,module,"Computed scanline size is zero"); 347 * decoded and packed raster scanline (as opposed to the 356 uint64 scanline; local 358 scanline = _TIFFMultiply64(tif, td->td_bitspersample, td->td_imagewidth, module); 360 scanline = _TIFFMultiply64(tif, scanline, td->td_samplesperpixel, module); 361 return (TIFFhowmany8_64(scanline)); 363 return (_TIFFMultiply64(tif, TIFFhowmany8_64(scanline),
|
/external/ImageMagick/coders/ |
exr.c | 152 *scanline; 224 scanline=(ImfRgba *) AcquireQuantumMemory(image->columns,sizeof(*scanline)); 225 if (scanline == (ImfRgba *) NULL) 238 ResetMagickMemory(scanline,0,image->columns*sizeof(*scanline)); 239 ImfInputSetFrameBuffer(file,scanline-min_x-image->columns*(min_y+y),1, 245 ImfHalfToFloat(scanline[x].r)),q); 247 ImfHalfToFloat(scanline[x].g)),q); 249 ImfHalfToFloat(scanline[x].b)),q) 148 *scanline; local 376 *scanline; local [all...] |
yuv.c | 135 *scanline; 197 Allocate memory for a scanline. 200 scanline=(unsigned char *) AcquireQuantumMemory((size_t) 2UL* 201 image->columns+2UL,quantum*sizeof(*scanline)); 203 scanline=(unsigned char *) AcquireQuantumMemory(image->columns, 204 quantum*sizeof(*scanline)); 205 if (scanline == (unsigned char *) NULL) 241 count=ReadBlob(image,(size_t) (2*quantum*image->columns),scanline); 242 p=scanline; 295 count=ReadBlob(image,(size_t) quantum*image->columns,scanline); 132 *scanline; local [all...] |
pcx.c | 213 scanline=(unsigned char *) RelinquishMagickMemory(scanline); \ 264 *scanline; 404 scanline=(unsigned char *) AcquireQuantumMemory(MagickMax(image->columns, 405 pcx_info.bytes_per_line),MagickMax(8,pcx_info.planes)*sizeof(*scanline)); 407 if ((scanline == (unsigned char *) NULL) || 410 if (scanline != (unsigned char *) NULL) 411 scanline=(unsigned char *) RelinquishMagickMemory(scanline); 504 r=scanline; 258 *scanline; local [all...] |
sgi.c | 390 *scanline; 395 scanline=(unsigned char *) AcquireQuantumMemory(iris_info.columns, 396 bytes_per_pixel*sizeof(*scanline)); 397 if (scanline == (unsigned char *) NULL) 404 count=ReadBlob(image,bytes_per_pixel*iris_info.columns,scanline); 410 *p=scanline[2*x]; 411 *(p+1)=scanline[2*x+1]; 417 *p=scanline[x]; 422 scanline=(unsigned char *) RelinquishMagickMemory(scanline); 386 *scanline; local [all...] |
pdb.c | 753 *scanline; 838 scanline=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* 839 sizeof(*scanline)); 840 if (scanline == (unsigned char *) NULL) 845 Convert to GRAY raster scanline. 861 GrayQuantum,scanline,exception); 865 buffer[literal+repeat]|=(0xff-scanline[x*packet_size]) >> 915 scanline=(unsigned char *) RelinquishMagickMemory(scanline); 745 *scanline; local
|
pict.c | 345 % scanline. 364 scanline[8*256]; 367 q=scanline; 418 return(scanline); 449 *scanline; 472 Allocate pixel and scanline buffer. 480 scanline=(unsigned char *) AcquireQuantumMemory(row_bytes,2* 481 sizeof(*scanline)); 482 if (scanline == (unsigned char *) NULL) 493 count=ReadBlob(blob,(size_t) number_pixels,scanline); 361 scanline[8*256]; local 446 *scanline; local 1646 *scanline; local [all...] |
/external/libjpeg-turbo/ |
rdrle.c | 156 * A place to hold each scanline while it's converted. 247 JSAMPROW scanline, red_ptr, green_ptr, blue_ptr; local 291 scanline = * (*cinfo->mem->access_virt_sarray) 298 *scanline++ = (JSAMPLE) 314 scanline = * (*cinfo->mem->access_virt_sarray) 323 *scanline++ = *red_ptr++; 324 *scanline++ = *green_ptr++; 325 *scanline++ = *blue_ptr++;
|
/external/opencv3/modules/imgcodecs/src/ |
grfmt_gdal.cpp | 389 // create a temporary scanline pointer to store data 390 double* scanline = new double[nCols]; local 396 band->RasterIO( GF_Read, 0, y, nCols, 1, scanline, nCols, 1, GDT_Float64, 0, 0); 404 write_pixel( scanline[x], gdalType, nChannels, img, y, x, c ); 407 write_ctable_pixel( scanline[x], gdalType, gdalColorTable, img, y, x, c ); 413 delete [] scanline;
|
/external/skia/bench/ |
GameBench.cpp | 256 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/src/gpu/gl/debug/ |
GrGLCreateDebugInterface.cpp | 185 GrGLchar *scanline = static_cast<GrGLchar *>(pixels); local 187 memset(scanline, 0, componentsPerPixel * componentSize * width); 188 scanline += rowStride; [all...] |
/external/skia/src/images/ |
SkImageDecoder_libgif.cpp | 382 uint8_t* scanline = storage.get(); local 418 // now decode each scanline 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); [all...] |
/system/extras/cpustats/ |
cpustats.c | 236 char scanline[MAX_BUF_SIZE]; local 251 sprintf(scanline, "cpu%d %%lu %%lu %%lu %%lu %%lu %%lu %%lu %%*d %%*d %%*d\n", i); 252 fscanf(file, scanline, &new_cpus[i].utime, &new_cpus[i].ntime, &new_cpus[i].stime,
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_stream.c | 1689 int stride = 0, scanline = 0; local 1896 int stride = 0, scanline = 0; local 2107 int stride = 0, scanline = 0; local 2274 int scanline = dim->height; local 2497 int stride = 0, scanline = 0; local 2532 int stride = 0, scanline = 0; local [all...] |
/external/pdfium/core/src/fxge/agg/src/ |
fx_agg_driver.cpp | 84 template <class Scanline> 85 void render(const Scanline& sl) { 88 typename Scanline::const_iterator span = sl.begin(); 311 agg::scanline_u8 scanline; local 312 agg::render_scanlines(rasterizer, scanline, final_render, [all...] |
/external/skia/src/pdf/ |
SkPDFBitmap.cpp | 125 uint32_t* scanline = bm.getAddr32(0, y); local 127 uint32_t color = scanline[x]; 190 SkAutoTMalloc<uint8_t> scanline(3 * bm.width()); 193 uint8_t* dst = scanline.get(); 204 out->write(scanline.get(), 3 * bm.width()); 210 SkAutoTMalloc<uint8_t> scanline(3 * bm.width()); 213 uint8_t* dst = scanline.get(); 220 out->write(scanline.get(), 3 * bm.width()); 257 SkAutoTMalloc<uint8_t> scanline(bm.width()); 259 uint8_t* dst = scanline.get() [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_stream.c | 2040 int stride = 0, scanline = 0; local 2245 int stride = 0, scanline = 0; local 2454 int stride = 0, scanline = 0; local 2632 int32_t scanline = PAD_TO_SIZE(dim->height, (int32_t)padding->height_padding); local 2913 int stride = 0, scanline = 0; local 2948 int stride = 0, scanline = 0; local 3045 int32_t stride, scanline; local [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_stream.c | 2040 int stride = 0, scanline = 0; local 2245 int stride = 0, scanline = 0; local 2454 int stride = 0, scanline = 0; local 2632 int32_t scanline = PAD_TO_SIZE(dim->height, (int32_t)padding->height_padding); local 2913 int stride = 0, scanline = 0; local 2948 int stride = 0, scanline = 0; local 3045 int32_t stride, scanline; local [all...] |
/external/ImageMagick/MagickCore/ |
compress.c | 444 *scanline; 459 scanline=(unsigned char *) AcquireQuantumMemory((size_t) image->columns, 460 sizeof(*scanline)); 463 (scanline == (unsigned char *) NULL)) 503 Initialize scanline to white. 505 ResetMagickMemory(scanline,0,sizeof(*scanline)*image->columns); 507 Decode Huffman encoded scanline. 588 scanline[x++]=(unsigned char) 1; 608 Transfer scanline to image pixels 439 *scanline; local 730 *scanline; local [all...] |
/external/pdfium/core/src/fxge/dib/ |
fx_dib_convert.cpp | 1159 uint8_t* scanline = m_pBuffer + row * m_Pitch + 3; local [all...] |
/external/skia/gm/ |
bleed.cpp | 52 PIXEL_TYPE* scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, 0); local 54 scanline[x] = outerRingColor; 56 scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, 1); 57 scanline[0] = outerRingColor; 59 scanline[x] = innerRingColor; 61 scanline[width - 1] = outerRingColor; 64 scanline = (PIXEL_TYPE*)result->fBitmap.getAddr(0, y); 65 scanline[0] = outerRingColor; 66 scanline[1] = innerRingColor; 68 scanline[x] = checkColor1 181 PIXEL_TYPE* scanline = pixels.get(); local [all...] |