Home
last modified time | relevance | path

Searched refs:scanline (Results 1 - 24 of 24) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dexrenc.c88 EXRScanlineData *scanline; member
135 s->scanline = av_calloc(s->nb_scanlines, sizeof(*s->scanline)); in encode_init()
136 if (!s->scanline) in encode_init()
146 for (int y = 0; y < s->nb_scanlines && s->scanline; y++) { in encode_close()
147 EXRScanlineData *scanline = &s->scanline[y]; in encode_close() local
149 av_freep(&scanline->tmp); in encode_close()
150 av_freep(&scanline->compressed_data); in encode_close()
151 av_freep(&scanline in encode_close()
227 EXRScanlineData *scanline = &s->scanline[y]; encode_scanline_rle() local
285 EXRScanlineData *scanline = &s->scanline[y]; encode_scanline_zip() local
496 EXRScanlineData *scanline = &s->scanline[y]; encode_frame() local
503 EXRScanlineData *scanline = &s->scanline[y]; encode_frame() local
[all...]
H A Dpcx.c81 uint8_t *ptr, *scanline; in pcx_decode_frame() local
154 scanline = av_malloc(bytes_per_scanline + AV_INPUT_BUFFER_PADDING_SIZE); in pcx_decode_frame()
155 if (!scanline) in pcx_decode_frame()
160 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()
165 ptr[3 * x] = scanline[x]; in pcx_decode_frame()
166 ptr[3 * x + 1] = scanline[x + bytes_per_line]; in pcx_decode_frame()
167 ptr[3 * x + 2] = scanline[x + (bytes_per_line << 1)]; in pcx_decode_frame()
183 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()
186 memcpy(ptr, scanline, w); in pcx_decode_frame()
203 init_get_bits8(&s, scanline, bytes_per_scanlin in pcx_decode_frame()
[all...]
/third_party/cups-filters/cupsfilters/
H A Dimage-tiff.c67 scanwidth, /* Width of scanline */ in _cupsImageReadTIFF()
73 *scanline, /* Scanline buffer */ in _cupsImageReadTIFF() local
74 *scanptr, /* Pointer into scanline buffer */ in _cupsImageReadTIFF()
304 * Allocate a scanline buffer... in _cupsImageReadTIFF()
308 scanline = _TIFFmalloc(scanwidth); in _cupsImageReadTIFF()
371 TIFFReadScanline(tif, scanline, row, 0); in _cupsImageReadTIFF()
372 for (xcount = img->xsize, scanptr = scanline, p = in + xstart, bit = 128; in _cupsImageReadTIFF()
392 TIFFReadScanline(tif, scanline, row, 0); in _cupsImageReadTIFF()
393 for (xcount = img->xsize, scanptr = scanline, p = in + xstart, bit = 0xc0; in _cupsImageReadTIFF()
413 TIFFReadScanline(tif, scanline, ro in _cupsImageReadTIFF()
[all...]
H A Dimage-sun.c82 *scanline, in _cupsImageReadSunRaster() local
171 if ((scanline = malloc(scanwidth)) == NULL) in _cupsImageReadSunRaster()
188 p = scanline; in _cupsImageReadSunRaster()
230 for (x = img->xsize, bit = 128, scanptr = scanline, p = in; in _cupsImageReadSunRaster()
254 for (x = img->xsize, bit = 128, scanptr = scanline, p = in; in _cupsImageReadSunRaster()
286 for (x = img->xsize, scanptr = scanline, p = in; in _cupsImageReadSunRaster()
301 for (x = img->xsize, scanptr = scanline, p = in; in _cupsImageReadSunRaster()
378 free(scanline); in _cupsImageReadSunRaster()
/third_party/ffmpeg/tests/fate/
H A Dimage.mak121 FATE_EXR += fate-exr-rgb-scanline-pxr24-float-12x8
122 fate-exr-rgb-scanline-pxr24-float-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_12x8.exr -pix_fmt gbrpf32le
127 FATE_EXR += fate-exr-rgb-scanline-float-b44
128 fate-exr-rgb-scanline-float-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_b44.exr -pix_fmt gbrpf32le
130 FATE_EXR += fate-exr-rgb-scanline-half-b44-12x8
131 fate-exr-rgb-scanline-half-b44-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_12x8.exr -pix_fmt gbrpf32le
133 FATE_EXR += fate-exr-rgb-scanline-half-b44-13x9
134 fate-exr-rgb-scanline-half-b44-13x9: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_13x9.exr -pix_fmt gbrpf32le
145 FATE_EXR += fate-exr-rgba-scanline-float-half-b44-13x9-l1
146 fate-exr-rgba-scanline
[all...]
/third_party/skia/gm/
H A Dbleed.cpp53 uint32_t* scanline = bitmap.getAddr32(0, 0); in make_ringed_image() local
55 scanline[x] = kOuterRingColor; in make_ringed_image()
57 scanline = bitmap.getAddr32(0, 1); in make_ringed_image()
58 scanline[0] = kOuterRingColor; in make_ringed_image()
60 scanline[x] = kInnerRingColor; in make_ringed_image()
62 scanline[width - 1] = kOuterRingColor; in make_ringed_image()
65 scanline = bitmap.getAddr32(0, y); in make_ringed_image()
66 scanline[0] = kOuterRingColor; in make_ringed_image()
67 scanline[1] = kInnerRingColor; in make_ringed_image()
69 scanline[ in make_ringed_image()
[all...]
/third_party/skia/bench/
H A DGameBench.cpp256 SkPMColor* scanline = bm.getAddr32(0, y); in makeCheckerboard() local
260 *scanline++ = 0xFFFF0000; in makeCheckerboard()
262 *scanline++ = 0x00000000; in makeCheckerboard()
292 SkPMColor* scanline = bm.getAddr32(0, y); in makeAtlas() local
294 for (int x = 0; x < kTotAtlasWidth; ++x, ++scanline) { in makeAtlas()
300 *scanline = colors[colorX][colorY]; in makeAtlas()
302 *scanline = 0x00000000; in makeAtlas()
/third_party/mesa3d/src/imgui/
H A Dimstb_truetype.h2790 static void stbtt__fill_active_edges(unsigned char *scanline, int len, stbtt__active_edge *e, int max_weight)
2809 scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT);
2812 scanline[i] = scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> STBTT_FIXSHIFT);
2817 scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT);
2822 scanline[i] = scanline[i] + (stbtt_uint8) max_weight;
2837 int max_weight = (255 / vsubsample); // weight per vertical scanline
[all...]
/third_party/skia/third_party/externals/imgui/
H A Dimstb_truetype.h2790 static void stbtt__fill_active_edges(unsigned char *scanline, int len, stbtt__active_edge *e, int max_weight)
2809 scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT);
2812 scanline[i] = scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> STBTT_FIXSHIFT);
2817 scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT);
2822 scanline[i] = scanline[i] + (stbtt_uint8) max_weight;
2837 int max_weight = (255 / vsubsample); // weight per vertical scanline
[all...]
/third_party/skia/src/core/
H A DSkRegion.cpp74 * Return the beginning of the next scanline (i.e. the next Y-value)
349 runs[2] = 1; // 1 interval for this scanline in BuildRectRuns()
372 // Just walk this scanline, checking each interval. The X-sentinel will in contains()
425 const RunType* scanline = fRunHead->findScanline(r.fTop); in contains() local
427 if (!scanline_contains(scanline, r.fLeft, r.fRight)) { in contains()
430 if (r.fBottom <= scanline_bottom(scanline)) { in contains()
433 scanline = scanline_next(scanline); in contains()
510 const RunType* scanline = fRunHead->findScanline(sect.fTop); in intersects() local
512 if (scanline_intersects(scanline, sec in intersects()
[all...]
H A DSkBlurMF.cpp1240 uint8_t* scanline = result.getAddr8(0, y); in create_mask_on_cpu() local
1243 scanline[x] = eval_H(x, in create_mask_on_cpu()
1251 scanline[dimensions.width() - x - 1] = scanline[x]; in create_mask_on_cpu()
1254 memcpy(result.getAddr8(0, dimensions.height() - y - 1), scanline, result.rowBytes()); in create_mask_on_cpu()
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DFrameBufferGDI.hpp42 bool getScanline(bool &inVerticalBlank, unsigned int &scanline) override;
H A DFrameBufferWin.hpp46 virtual bool getScanline(bool &inVerticalBlank, unsigned int &scanline) = 0;
H A DFrameBufferDD.hpp44 bool getScanline(bool &inVerticalBlank, unsigned int &scanline) override;
H A DFrameBufferDD.cpp466 bool FrameBufferDD::getScanline(bool &inVerticalBlank, unsigned int &scanline) in getScanline() argument
468 HRESULT result = directDraw->GetScanLine((unsigned long*)&scanline); in getScanline()
H A DFrameBufferGDI.cpp126 bool FrameBufferGDI::getScanline(bool &inVerticalBlank, unsigned int &scanline) in getScanline() argument
/third_party/backends/backend/
H A Dcanon_pp-dev.c322 /* The scanner's idea of the length of each scanline in bytes */ in sanei_canon_pp_init_scan()
595 } /* End of scanline loop */ in convert_to_rgb()
811 unsigned int scanline, pixelnum, colour; in adjust_output() local
815 for (scanline = 0; scanline < image->height; scanline++) in adjust_output()
836 (scanline * image->width * cols * 2) + in adjust_output()
882 if (scanline == 10) in adjust_output()
903 if (scanline == 10) in adjust_output()
H A Dmicrotek.c2260 static void sort_values(int *result, uint8_t *scanline[], int pix) in sort_values() argument
2263 for (i=0; i<STRIPS; i++) result[i] = (scanline[i])[pix]; in sort_values()
2280 static void calc_calibration(uint8_t *caldata, uint8_t *scanline[], in calc_calibration() argument
2293 sort_values(sorted, scanline, i); in calc_calibration()
2334 uint8_t *input, *scanline[STRIPS], *combuff; in do_real_calibrate() local
2390 scanline[i] = &(input[spot+2]); in do_real_calibrate()
2394 calc_calibration(combuff + 8, scanline, linewidth - 2); in do_real_calibrate()
2713 DBG(18, "pack_seq: missing scanline RGB header!\n"); in pack_seqrgb_data()
2825 DBG(18, "pack_goofy: missing scanline RGB header!\n"); in pack_goofyrgb_data()
3761 /* calculate pixels per scanline returne in sane_get_parameters()
[all...]
/third_party/python/Tools/scripts/
H A Dfixdiv.py220 startlineno, endlineno, slashes = lineinfo = scanline(g)
357 def scanline(g): function
/third_party/glfw/deps/
H A Dstb_image_write.h672 static void stbiw__write_hdr_scanline(stbi__write_context *s, int width, int ncomp, unsigned char *scratch, float *scanline)
687 case 3: linear[2] = scanline[x*ncomp + 2];
688 linear[1] = scanline[x*ncomp + 1];
689 linear[0] = scanline[x*ncomp + 0];
692 linear[0] = linear[1] = linear[2] = scanline[x*ncomp + 0];
704 case 3: linear[2] = scanline[x*ncomp + 2];
705 linear[1] = scanline[x*ncomp + 1];
706 linear[0] = scanline[x*ncomp + 0];
709 linear[0] = linear[1] = linear[2] = scanline[x*ncomp + 0];
766 // Each component is stored separately. Allocate scratch space for full output scanline
[all...]
H A Dnuklear.h11668 nk_tt__handle_clipped_edge(float *scanline, int x, struct nk_tt__active_edge *e, in nk_tt__handle_clipped_edge() argument
11692 scanline[x] += e->direction * (y1-y0); in nk_tt__handle_clipped_edge()
11697 scanline[x] += (float)e->direction * (float)(y1-y0) * (1.0f-((x0-(float)x)+(x1-(float)x))/2.0f); in nk_tt__handle_clipped_edge()
11701 nk_tt__fill_active_edges_new(float *scanline, float *scanline_fill, int len, in nk_tt__fill_active_edges_new() argument
11714 nk_tt__handle_clipped_edge(scanline,(int) x0,e, x0,y_top, x0,y_bottom); in nk_tt__fill_active_edges_new()
11729 /* compute endpoints of line segment clipped to this scanline (if the */ in nk_tt__fill_active_edges_new()
11730 /* line segment starts on this scanline. x0 is the intersection of the */ in nk_tt__fill_active_edges_new()
11757 scanline[x] += e->direction * (1.0f-(((float)x_top - (float)x) + ((float)x_bottom-(float)x))/2.0f) * (float)height; in nk_tt__fill_active_edges_new()
11765 /* flip scanline vertically; signed area is the same */ in nk_tt__fill_active_edges_new()
11785 scanline[x in nk_tt__fill_active_edges_new()
11868 float scanline_data[129], *scanline, *scanline2; nk_tt__rasterize_sorted_edges() local
[all...]
/third_party/astc-encoder/Source/
H A Dstb_image_write.h672 static void stbiw__write_hdr_scanline(stbi__write_context *s, int width, int ncomp, unsigned char *scratch, float *scanline)
687 case 3: linear[2] = scanline[x*ncomp + 2];
688 linear[1] = scanline[x*ncomp + 1];
689 linear[0] = scanline[x*ncomp + 0];
692 linear[0] = linear[1] = linear[2] = scanline[x*ncomp + 0];
704 case 3: linear[2] = scanline[x*ncomp + 2];
705 linear[1] = scanline[x*ncomp + 1];
706 linear[0] = scanline[x*ncomp + 0];
709 linear[0] = linear[1] = linear[2] = scanline[x*ncomp + 0];
766 // Each component is stored separately. Allocate scratch space for full output scanline
[all...]
H A Dstb_image.h1774 // avoid switch per pixel, so use switch per scanline and massive macros in stbi__convert_format()
1831 // avoid switch per pixel, so use switch per scanline and massive macros in stbi__convert_format16()
2956 // in trivial scanline order in stbi__parse_entropy_coded_data()
3013 // in trivial scanline order in stbi__parse_entropy_coded_data()
4622 // synthetic filters used for first scanline to avoid needing a dummy row of 0s
4787 // could also overwrite the next scanline. can it overwrite non-empty data in stbi__create_png_image_raw()
4788 // on the next scanline? yes, consider 1-pixel-wide scanlines with 1-bit-per-pixel. in stbi__create_png_image_raw()
6473 return stbi__errpuc("bad file","scanline overrun");
6482 if (count>left) return stbi__errpuc("bad file","scanline overrun");
7169 stbi_uc *scanline;
[all...]
/third_party/skia/src/pdf/
H A DSkPDFBitmap.cpp54 const SkColor* scanline = bm.addr32(0, y); in get_neighbor_avg_color() local
56 SkColor color = scanline[x]; in get_neighbor_avg_color()

Completed in 72 milliseconds