Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/tests/
Dintegral.c35 int ret = 0, xoff, yoff; in main() local
69 for (xoff = -e; xoff <= e; xoff++) { in main()
70 printf("xoff=%d yoff=%d\n", xoff, yoff); in main()
73 src, lz, xoff, yoff, e, w, h); in main()
79 xoff, yoff, e, w, h, in main()
/third_party/ffmpeg/libavfilter/
Dvf_convolution.c521 int xoff = FFABS(x + ((i % 3) - 1)); in setup_3x3() local
524 xoff = xoff >= w ? 2 * w - 1 - xoff : xoff; in setup_3x3()
527 c[i] = src + xoff * bpc + yoff * stride; in setup_3x3()
537 int xoff = FFABS(x + ((i % 5) - 2)); in setup_5x5() local
540 xoff = xoff >= w ? 2 * w - 1 - xoff : xoff; in setup_5x5()
543 c[i] = src + xoff * bpc + yoff * stride; in setup_5x5()
553 int xoff = FFABS(x + ((i % 7) - 3)); in setup_7x7() local
556 xoff = xoff >= w ? 2 * w - 1 - xoff : xoff; in setup_7x7()
559 c[i] = src + xoff * bpc + yoff * stride; in setup_7x7()
569 int xoff = FFABS(x + i - radius); in setup_row() local
[all …]
Dvf_datascope.c174 int xoff, yoff, PP; member
186 const int xoff = td->xoff; in filter_color2() local
191 const int W = (outlink->w - xoff) / (C * 10); in filter_color2()
207 xoff + x * C * 10, yoff + y * PP * 12, C * 10, PP * 12); in filter_color2()
215 …draw_text(&s->draw, out, &reverse, xoff + x * C * 10 + 2, yoff + y * PP * 12 + pp * 10 + 2, text, … in filter_color2()
233 const int xoff = td->xoff; in filter_color() local
238 const int W = (outlink->w - xoff) / (C * 10); in filter_color()
258 …draw_text(&s->draw, out, &color, xoff + x * C * 10 + 2, yoff + y * PP * 12 + pp * 10 + 2, text, 0); in filter_color()
276 const int xoff = td->xoff; in filter_mono() local
281 const int W = (outlink->w - xoff) / (C * 10); in filter_mono()
[all …]
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Dpostprocessor.c349 size_t xoff; in post_process_urlencoded() local
392 xoff = pp->xbuf_pos; in post_process_urlencoded()
410 if (delta > XBUF_SIZE - xoff) in post_process_urlencoded()
411 delta = XBUF_SIZE - xoff; in post_process_urlencoded()
414 memcpy (&xbuf[xoff], &post_data[poff], delta); in post_process_urlencoded()
415 xoff += delta; in post_process_urlencoded()
421 delta = xoff; in post_process_urlencoded()
429 if (delta < xoff) in post_process_urlencoded()
431 memcpy (pp->xbuf, &xbuf[delta], xoff - delta); in post_process_urlencoded()
432 pp->xbuf_pos = xoff - delta; in post_process_urlencoded()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_gmem.c287 uint32_t i, j, t, xoff, yoff; in gmem_stateobj_init() local
343 xoff = yoff = 0; in gmem_stateobj_init()
347 if (xoff >= gmem->nbins_x) { in gmem_stateobj_init()
348 xoff = 0; in gmem_stateobj_init()
356 pipe->x = xoff; in gmem_stateobj_init()
358 pipe->w = MIN2(tpp_x, gmem->nbins_x - xoff); in gmem_stateobj_init()
361 xoff += tpp_x; in gmem_stateobj_init()
389 xoff = key->minx; in gmem_stateobj_init()
406 bw = MIN2(gmem->bin_w, key->minx + key->width - xoff); in gmem_stateobj_init()
414 tile->xoff = xoff; in gmem_stateobj_init()
[all …]
Dfreedreno_gmem.h45 uint16_t xoff, yoff; member
/third_party/ffmpeg/libavfilter/opencl/
Dnlmeans.cl76 int4 xoff = x + dx;
84 src_pix.x = (int)(255 * read_imagef(src, sampler, (int2)(xoff.x, yoff.x)).x);
85 src_pix.y = (int)(255 * read_imagef(src, sampler, (int2)(xoff.y, yoff.y)).x);
86 src_pix.z = (int)(255 * read_imagef(src, sampler, (int2)(xoff.z, yoff.z)).x);
87 src_pix.w = (int)(255 * read_imagef(src, sampler, (int2)(xoff.w, yoff.w)).x);
/third_party/flutter/glfw/src/
Dwin32_window.c197 int xoff, yoff; in applyAspectRatio() local
201 0, 0, &xoff, &yoff); in applyAspectRatio()
207 (int) ((area->right - area->left - xoff) / ratio); in applyAspectRatio()
212 (int) ((area->right - area->left - xoff) / ratio); in applyAspectRatio()
216 area->right = area->left + xoff + in applyAspectRatio()
754 int xoff, yoff; in windowProc() local
761 0, 0, &xoff, &yoff); in windowProc()
766 mmi->ptMinTrackSize.x = window->minwidth + xoff; in windowProc()
773 mmi->ptMaxTrackSize.x = window->maxwidth + xoff; in windowProc()
/third_party/ffmpeg/libavcodec/
Dbink.c859 int xoff, yoff; in binkb_decode_plane() local
925 xoff = binkb_get_value(c, BINKB_SRC_X_OFF); in binkb_decode_plane()
927 ref = dst + xoff + yoff * stride; in binkb_decode_plane()
941 xoff = binkb_get_value(c, BINKB_SRC_X_OFF); in binkb_decode_plane()
943 ref = dst + xoff + yoff * stride; in binkb_decode_plane()
973 xoff = binkb_get_value(c, BINKB_SRC_X_OFF); in binkb_decode_plane()
975 ref = dst + xoff + yoff * stride; in binkb_decode_plane()
1006 int xoff = get_value(c, BINK_SRC_X_OFF); in bink_put_pixels() local
1008 uint8_t *ref = prev + xoff + yoff * stride; in bink_put_pixels()
1011 xoff, yoff); in bink_put_pixels()
Dvc1dec.c180 int xoff[2], xadv[2], yoff[2], yadv[2], alpha; in vc1_draw_sprites() local
185 xoff[i] = av_clip(sd->coefs[i][2], 0, v->sprite_width-1 << 16); in vc1_draw_sprites()
187 if (xadv[i] != 1<<16 || (v->sprite_width << 16) - (v->output_width << 16) - xoff[i]) in vc1_draw_sprites()
188 xadv[i] = av_clip(xadv[i], 0, ((v->sprite_width<<16) - xoff[i] - 1) / v->output_width); in vc1_draw_sprites()
214 if (!(xoff[sprite] & 0xFFFF) && xadv[sprite] == 1 << 16) { in vc1_draw_sprites()
215 src_h[sprite][0] = iplane + (xoff[sprite] >> 16) + yline * iline; in vc1_draw_sprites()
217 src_h[sprite][1] = iplane + (xoff[sprite] >> 16) + next_line; in vc1_draw_sprites()
224 …v->vc1dsp.sprite_h(v->sr_rows[sprite][0], iplane + yline * iline, xoff[sprite], xadv[sprite], widt… in vc1_draw_sprites()
230 iplane + next_line, xoff[sprite], in vc1_draw_sprites()
263 xoff[i] >>= 1; in vc1_draw_sprites()
Drv34.c659 const int xoff, const int yoff, int mv_off, in rv34_mc() argument
712 src_x = s->mb_x * 16 + xoff + mx; in rv34_mc()
714 uvsrc_x = s->mb_x * 8 + (xoff >> 1) + umx; in rv34_mc()
732 Y = s->dest[0] + xoff + yoff *s->linesize; in rv34_mc()
733 U = s->dest[1] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
734 V = s->dest[2] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
736 Y = r->tmp_b_block_y [dir] + xoff + yoff *s->linesize; in rv34_mc()
737 U = r->tmp_b_block_uv[dir*2] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
738 V = r->tmp_b_block_uv[dir*2+1] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
775 const int xoff, const int yoff, int mv_off, in rv34_mc_1mv() argument
[all …]
Dclearvideo.c447 int xoff = (i & 2) == 0 ? 0 : hsize; in restore_tree() local
451 … ret = restore_tree(avctx, dst, src, plane, x + xoff, y + yoff, hsize, tile->child[i], root_mv); in restore_tree()
454 … ret = tile_do_block(avctx, dst, src, plane, x + xoff, y + yoff, mv.x, mv.y, hsize, tile->bias); in restore_tree()
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h531 float xoff,yoff,xadvance; member
579 float xoff,yoff,xadvance; member
857 …*info, float scale_x, float scale_y, int codepoint, int *width, int *height, int *xoff, int *yoff);
866 …ale_y, float shift_x, float shift_y, int codepoint, int *width, int *height, int *xoff, int *yoff);
897 …nfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff);
898 …t scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff);
931 …unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff);
932 …unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff);
3553 …at scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff) in stbtt_GetGlyphBitmapSubpixel() argument
3578 if (xoff ) *xoff = ix0; in stbtt_GetGlyphBitmapSubpixel()
[all …]
/third_party/flutter/skia/third_party/externals/imgui/
Dimstb_truetype.h525 float xoff,yoff,xadvance; member
571 float xoff,yoff,xadvance; member
841 …*info, float scale_x, float scale_y, int codepoint, int *width, int *height, int *xoff, int *yoff);
850 …ale_y, float shift_x, float shift_y, int codepoint, int *width, int *height, int *xoff, int *yoff);
881 …nfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff);
882 …t scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff);
915 …unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff);
916 …unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff);
3527 …at scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff) in stbtt_GetGlyphBitmapSubpixel() argument
3552 if (xoff ) *xoff = ix0; in stbtt_GetGlyphBitmapSubpixel()
[all …]
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h531 float xoff,yoff,xadvance; member
579 float xoff,yoff,xadvance; member
857 …*info, float scale_x, float scale_y, int codepoint, int *width, int *height, int *xoff, int *yoff);
866 …ale_y, float shift_x, float shift_y, int codepoint, int *width, int *height, int *xoff, int *yoff);
897 …nfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff);
898 …t scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff);
931 …unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff);
932 …unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff);
3553 …at scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff) in stbtt_GetGlyphBitmapSubpixel() argument
3578 if (xoff ) *xoff = ix0; in stbtt_GetGlyphBitmapSubpixel()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_gmem.c301 x0 = ((float)tile->xoff) / ((float)pfb->width); in fd2_emit_tile_mem2gmem()
302 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width); in fd2_emit_tile_mem2gmem()
712 OUT_RING(ring, A2XX_PA_SC_WINDOW_OFFSET_X(-tile->xoff) | in fd2_emit_tile_renderprep()
724 OUT_RING(ring, A2XX_RB_COPY_DEST_OFFSET_X(tile->xoff) | in fd2_emit_tile_renderprep()
731 OUT_RING(ring, fui(tile->xoff)); in fd2_emit_tile_renderprep()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_gmem.c365 x0 = ((float)tile->xoff) / ((float)pfb->width); in fd4_emit_tile_mem2gmem()
366 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width); in fd4_emit_tile_mem2gmem()
779 uint32_t x1 = tile->xoff; in fd4_emit_tile_renderprep()
781 uint32_t x2 = tile->xoff + tile->bin_w - 1; in fd4_emit_tile_renderprep()
818 OUT_RING(ring, A4XX_RB_BIN_OFFSET_X(tile->xoff) | in fd4_emit_tile_renderprep()
/third_party/skia/third_party/externals/libwebp/examples/
Dvwebp.c360 GLfloat xoff, yoff; in HandleDisplay() local
365 xoff = (GLfloat)(2. * curr->x_offset / kParams.canvas_width); in HandleDisplay()
367 glRasterPos2f(-1.f + xoff, 1.f - yoff); in HandleDisplay()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dvwebp.c360 GLfloat xoff, yoff; in HandleDisplay() local
365 xoff = (GLfloat)(2. * curr->x_offset / kParams.canvas_width); in HandleDisplay()
367 glRasterPos2f(-1.f + xoff, 1.f - yoff); in HandleDisplay()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_gmem.c581 x0 = ((float)tile->xoff) / ((float)pfb->width); in fd3_emit_tile_mem2gmem()
582 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width); in fd3_emit_tile_mem2gmem()
1014 uint32_t x1 = tile->xoff; in fd3_emit_tile_renderprep()
1016 uint32_t x2 = tile->xoff + tile->bin_w - 1; in fd3_emit_tile_renderprep()
1075 OUT_RING(ring, A3XX_RB_WINDOW_OFFSET_X(tile->xoff) | in fd3_emit_tile_renderprep()
/third_party/libinput/doc/user/
Dabsolute-axes.rst74 cos\theta & -sin\theta & xoff \\
81 :math:`\theta` is the rotation angle. The offsets :math:`xoff` and :math:`yoff` are
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DLayout.cpp1128 float xoff = HBFixedToFloat(positions[i].x_offset); in doLayoutRun() local
1130 xoff += yoff * ctx->paint.skewX; in doLayoutRun()
1132 font_ix, glyph_ix, x + xoff, y + yoff, in doLayoutRun()
1156 glyphBounds.offset(x + xoff, y + yoff); in doLayoutRun()
/third_party/flutter/txt/src/minikin/
DLayout.cpp1061 float xoff = HBFixedToFloat(positions[i].x_offset); in doLayoutRun() local
1063 xoff += yoff * ctx->paint.skewX; in doLayoutRun()
1065 font_ix, glyph_ix, x + xoff, y + yoff, in doLayoutRun()
1088 glyphBounds.offset(x + xoff, y + yoff); in doLayoutRun()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_gmem.c462 uint32_t x1 = tile->xoff; in fd5_emit_tile_prep()
464 uint32_t x2 = tile->xoff + tile->bin_w - 1; in fd5_emit_tile_prep()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c917 uint32_t x1 = tile->xoff; in fd6_emit_tile_prep()
919 uint32_t x2 = tile->xoff + tile->bin_w - 1; in fd6_emit_tile_prep()