Home
last modified time | relevance | path

Searched refs:xoff (Results 1 – 21 of 21) 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.c561 int xoff = FFABS(x + ((i % 3) - 1)); in setup_3x3() local
564 xoff = xoff >= w ? 2 * w - 1 - xoff : xoff; in setup_3x3()
567 c[i] = src + xoff * bpc + yoff * stride; in setup_3x3()
577 int xoff = FFABS(x + ((i % 5) - 2)); in setup_5x5() local
580 xoff = xoff >= w ? 2 * w - 1 - xoff : xoff; in setup_5x5()
583 c[i] = src + xoff * bpc + yoff * stride; in setup_5x5()
593 int xoff = FFABS(x + ((i % 7) - 3)); in setup_7x7() local
596 xoff = xoff >= w ? 2 * w - 1 - xoff : xoff; in setup_7x7()
599 c[i] = src + xoff * bpc + yoff * stride; in setup_7x7()
609 int xoff = FFABS(x + i - radius); in setup_row() local
[all …]
Dvf_datascope.c173 int xoff, yoff, PP; member
185 const int xoff = td->xoff; in filter_color2() local
190 const int W = (outlink->w - xoff) / (C * 10); in filter_color2()
206 xoff + x * C * 10, yoff + y * PP * 12, C * 10, PP * 12); in filter_color2()
214 …draw_text(&s->draw, out, &reverse, xoff + x * C * 10 + 2, yoff + y * PP * 12 + pp * 10 + 2, text, … in filter_color2()
232 const int xoff = td->xoff; in filter_color() local
237 const int W = (outlink->w - xoff) / (C * 10); in filter_color()
257 …draw_text(&s->draw, out, &color, xoff + x * C * 10 + 2, yoff + y * PP * 12 + pp * 10 + 2, text, 0); in filter_color()
275 const int xoff = td->xoff; in filter_mono() local
280 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/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.c861 int xoff, yoff; in binkb_decode_plane() local
927 xoff = binkb_get_value(c, BINKB_SRC_X_OFF); in binkb_decode_plane()
929 ref = dst + xoff + yoff * stride; in binkb_decode_plane()
943 xoff = binkb_get_value(c, BINKB_SRC_X_OFF); in binkb_decode_plane()
945 ref = dst + xoff + yoff * stride; in binkb_decode_plane()
975 xoff = binkb_get_value(c, BINKB_SRC_X_OFF); in binkb_decode_plane()
977 ref = dst + xoff + yoff * stride; in binkb_decode_plane()
1008 int xoff = get_value(c, BINK_SRC_X_OFF); in bink_put_pixels() local
1010 uint8_t *ref = prev + xoff + yoff * stride; in bink_put_pixels()
1013 xoff, yoff); in bink_put_pixels()
Dvc1dec.c184 int xoff[2], xadv[2], yoff[2], yadv[2], alpha; in vc1_draw_sprites() local
189 xoff[i] = av_clip(sd->coefs[i][2], 0, v->sprite_width-1 << 16); in vc1_draw_sprites()
191 if (xadv[i] != 1<<16 || (v->sprite_width << 16) - (v->output_width << 16) - xoff[i]) in vc1_draw_sprites()
192 xadv[i] = av_clip(xadv[i], 0, ((v->sprite_width<<16) - xoff[i] - 1) / v->output_width); in vc1_draw_sprites()
218 if (!(xoff[sprite] & 0xFFFF) && xadv[sprite] == 1 << 16) { in vc1_draw_sprites()
219 src_h[sprite][0] = iplane + (xoff[sprite] >> 16) + yline * iline; in vc1_draw_sprites()
221 src_h[sprite][1] = iplane + (xoff[sprite] >> 16) + next_line; in vc1_draw_sprites()
228 …v->vc1dsp.sprite_h(v->sr_rows[sprite][0], iplane + yline * iline, xoff[sprite], xadv[sprite], widt… in vc1_draw_sprites()
234 iplane + next_line, xoff[sprite], in vc1_draw_sprites()
267 xoff[i] >>= 1; in vc1_draw_sprites()
Drv34.c661 const int xoff, const int yoff, int mv_off, in rv34_mc() argument
714 src_x = s->mb_x * 16 + xoff + mx; in rv34_mc()
716 uvsrc_x = s->mb_x * 8 + (xoff >> 1) + umx; in rv34_mc()
734 Y = s->dest[0] + xoff + yoff *s->linesize; in rv34_mc()
735 U = s->dest[1] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
736 V = s->dest[2] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
738 Y = r->tmp_b_block_y [dir] + xoff + yoff *s->linesize; in rv34_mc()
739 U = r->tmp_b_block_uv[dir*2] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
740 V = r->tmp_b_block_uv[dir*2+1] + (xoff>>1) + (yoff>>1)*s->uvlinesize; in rv34_mc()
777 const int xoff, const int yoff, int mv_off, in rv34_mc_1mv() argument
[all …]
Dclearvideo.c448 int xoff = (i & 2) == 0 ? 0 : hsize; in restore_tree() local
452 … ret = restore_tree(avctx, dst, src, plane, x + xoff, y + yoff, hsize, tile->child[i], root_mv); in restore_tree()
455 … ret = tile_do_block(avctx, dst, src, plane, x + xoff, y + yoff, mv.x, mv.y, hsize, tile->bias); in restore_tree()
/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/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/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/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()