Home
last modified time | relevance | path

Searched refs:dxy (Results 1 – 21 of 21) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dwmv2.c107 int dxy, mx, my, src_x, src_y, v_edge_pos; in ff_mspel_motion() local
111 dxy = ((motion_y & 1) << 1) | (motion_x & 1); in ff_mspel_motion()
112 dxy = 2 * dxy + w->hshift; in ff_mspel_motion()
122 dxy &= ~3; in ff_mspel_motion()
124 dxy &= ~4; in ff_mspel_motion()
140 w->wdsp.put_mspel_pixels_tab[dxy](dest_y, ptr, linesize); in ff_mspel_motion()
141 w->wdsp.put_mspel_pixels_tab[dxy](dest_y + 8, ptr + 8, linesize); in ff_mspel_motion()
142 w->wdsp.put_mspel_pixels_tab[dxy](dest_y + 8 * linesize, ptr + 8 * linesize, linesize); in ff_mspel_motion()
143 w->wdsp.put_mspel_pixels_tab[dxy](dest_y + 8 + 8 * linesize, ptr + 8 + 8 * linesize, linesize); in ff_mspel_motion()
148 dxy = 0; in ff_mspel_motion()
[all …]
Dmpegvideo_motion.c78 int dxy; in gmc1_motion() local
80 dxy = ((motion_x >> 3) & 1) | ((motion_y >> 2) & 2); in gmc1_motion()
82 s->hdsp.put_no_rnd_pixels_tab[0][dxy](dest_y, ptr, linesize, 16); in gmc1_motion()
84 s->hdsp.put_pixels_tab[0][dxy](dest_y, ptr, linesize, 16); in gmc1_motion()
196 int dxy = 0; in hpel_motion() local
205 dxy |= motion_x & 1; in hpel_motion()
208 dxy |= (motion_y & 1) << 1; in hpel_motion()
221 pix_op[dxy](dest, src, s->linesize, 8); in hpel_motion()
243 int dxy, uvdxy, mx, my, src_x, src_y, in mpeg_motion_internal() local
252 dxy = ((motion_y & 1) << 1) | (motion_x & 1); in mpeg_motion_internal()
[all …]
Dmotion_est.c185 const int dxy= subx + (suby<<(1+qpel)); //FIXME log2_subpel? in cmp_inline() local
193 if(dxy){ in cmp_inline()
196 … c->qpel_put[size][dxy](c->temp, ref[0] + x + y*stride, stride); //FIXME prototype (add h) in cmp_inline()
198 c->qpel_put[1][dxy](c->temp , ref[0] + x + y*stride , stride); in cmp_inline()
199 c->qpel_put[1][dxy](c->temp + 8, ref[0] + x + y*stride + 8, stride); in cmp_inline()
211 c->hpel_put[size][dxy](c->temp, ref[0] + x + y*stride, stride, h); in cmp_inline()
213 uvdxy= dxy | (x&1) | (2*(y&1)); in cmp_inline()
641 int dxy; in h263_mv4_search() local
646 dxy = ((my4 & 3) << 2) | (mx4 & 3); in h263_mv4_search()
649 s->qdsp.put_no_rnd_qpel_pixels_tab[1][dxy](dest_y, ref, stride); in h263_mv4_search()
[all …]
Dvc1_mc.c177 int dxy, mx, my, uvmx, uvmy, src_x, src_y, uvsrc_x, uvsrc_y; in ff_vc1_mc_1mv() local
422 dxy = ((my & 3) << 2) | (mx & 3); in ff_vc1_mc_1mv()
423 v->vc1dsp.put_vc1_mspel_pixels_tab[0][dxy](s->dest[0], srcY, s->linesize, v->rnd); in ff_vc1_mc_1mv()
425 dxy = (my & 2) | ((mx & 2) >> 1); in ff_vc1_mc_1mv()
427 s->hdsp.put_pixels_tab[0][dxy](s->dest[0], srcY, s->linesize, 16); in ff_vc1_mc_1mv()
429 s->hdsp.put_no_rnd_pixels_tab[0][dxy](s->dest[0], srcY, s->linesize, 16); in ff_vc1_mc_1mv()
456 int dxy, mx, my, src_x, src_y; in ff_vc1_mc_4mv_luma() local
618 dxy = ((my & 3) << 2) | (mx & 3); in ff_vc1_mc_4mv_luma()
620 …v->vc1dsp.avg_vc1_mspel_pixels_tab[1][dxy](s->dest[0] + off, srcY, s->linesize << fieldmv, v->rnd); in ff_vc1_mc_4mv_luma()
622 …v->vc1dsp.put_vc1_mspel_pixels_tab[1][dxy](s->dest[0] + off, srcY, s->linesize << fieldmv, v->rnd); in ff_vc1_mc_4mv_luma()
[all …]
Dmpegvideodsp.h25 int dxx, int dxy, int dyx, int dyy, int shift, int r,
39 int dxx, int dxy, int dyx, int dyy,
Dsnow.c288 int dxy = dx / 8 + dy / 8 * 4; in mc_block() local
289 const uint8_t *src1 = hpel[dxy ]; in mc_block()
290 const uint8_t *src2 = hpel[dxy + 1]; in mc_block()
291 const uint8_t *src3 = hpel[dxy + 4]; in mc_block()
292 const uint8_t *src4 = hpel[dxy + 5]; in mc_block()
293 int stride1 = MC_STRIDE(dxy); in mc_block()
294 int stride2 = MC_STRIDE(dxy + 1); in mc_block()
295 int stride3 = MC_STRIDE(dxy + 4); in mc_block()
296 int stride4 = MC_STRIDE(dxy + 5); in mc_block()
Dmpegvideodsp.c48 int dxx, int dxy, int dyx, int dyy, int shift, int r, in ff_gmc_c() argument
105 ox += dxy; in ff_gmc_c()
Dsvq3.c428 int mx, int my, int dxy, in svq3_mc_dir_part() argument
461 : s->tdsp.put_tpel_pixels_tab)[dxy](dest, src, linesize, in svq3_mc_dir_part()
465 : s->hdsp.put_pixels_tab)[blocksize][dxy](dest, src, linesize, in svq3_mc_dir_part()
489 : s->tdsp.put_tpel_pixels_tab)[dxy](dest, src, in svq3_mc_dir_part()
494 : s->hdsp.put_pixels_tab)[blocksize][dxy](dest, src, in svq3_mc_dir_part()
515 int dxy; in svq3_mc_dir() local
564 dxy = (mx - 3 * fx) + 4 * (my - 3 * fy); in svq3_mc_dir()
567 fx, fy, dxy, 1, dir, avg); in svq3_mc_dir()
573 dxy = (mx & 1) + 2 * (my & 1); in svq3_mc_dir()
576 mx >> 1, my >> 1, dxy, 0, dir, avg); in svq3_mc_dir()
Dsvq1enc.c408 int mx, my, pred_x, pred_y, dxy; in svq1_encode_plane() local
432 dxy = (mx & 1) + 2 * (my & 1); in svq1_encode_plane()
434 s->hdsp.put_pixels_tab[0][dxy](temp + 16*stride, in svq1_encode_plane()
Drv34.c667 int dxy, mx, my, umx, umy, lx, ly, uvmx, uvmy, src_x, src_y, uvsrc_x, uvsrc_y; in rv34_mc() local
708 dxy = ly*4 + lx; in rv34_mc()
742 qpel_mc[1][dxy](Y, srcY, s->linesize); in rv34_mc()
746 qpel_mc[1][dxy](Y, srcY, s->linesize); in rv34_mc()
751 qpel_mc[!is16x16][dxy](Y, srcY, s->linesize); in rv34_mc()
Dsnowenc.c772 static const int dxy[9][2] = {{0,0},{1,0},{0,1},{1,1},{2,0},{2,1},{-1,2},{0,2},{1,2}}; in get_4block_rd() local
773 rate += get_block_bits(s, mb_x + dxy[i][0], mb_y + dxy[i][1], 1); in get_4block_rd()
/third_party/flutter/skia/src/core/
DSkStroke.cpp237 void setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, SkPoint* tangent) const;
501 SkVector dxy = lineEnd - lineStart; in pt_to_line() local
503 SkScalar numer = dxy.dot(ab0); in pt_to_line()
504 SkScalar denom = dxy.dot(dxy); in pt_to_line()
766 void SkPathStroker::setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, in setRayPts() argument
768 if (!dxy->setLength(fRadius)) { in setRayPts()
769 dxy->set(fRadius, 0); in setRayPts()
772 onPt->fX = tPt.fX + axisFlip * dxy->fY; in setRayPts()
773 onPt->fY = tPt.fY - axisFlip * dxy->fX; in setRayPts()
775 tangent->fX = onPt->fX + dxy->fX; in setRayPts()
[all …]
DSkContourMeasure.cpp148 SkVector dxy = midTPt - midEnds; in conic_too_curvy() local
149 SkScalar dist = SkMaxScalar(SkScalarAbs(dxy.fX), SkScalarAbs(dxy.fY)); in conic_too_curvy()
/third_party/skia/src/core/
DSkStroke.cpp270 void setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, SkPoint* tangent) const;
534 SkVector dxy = lineEnd - lineStart; in pt_to_line() local
536 SkScalar numer = dxy.dot(ab0); in pt_to_line()
537 SkScalar denom = dxy.dot(dxy); in pt_to_line()
799 void SkPathStroker::setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, in setRayPts() argument
801 if (!dxy->setLength(fRadius)) { in setRayPts()
802 dxy->set(fRadius, 0); in setRayPts()
805 onPt->fX = tPt.fX + axisFlip * dxy->fY; in setRayPts()
806 onPt->fY = tPt.fY - axisFlip * dxy->fX; in setRayPts()
808 tangent->fX = onPt->fX + dxy->fX; in setRayPts()
[all …]
DSkContourMeasure.cpp153 SkVector dxy = midTPt - midEnds; in conic_too_curvy() local
154 SkScalar dist = std::max(SkScalarAbs(dxy.fX), SkScalarAbs(dxy.fY)); in conic_too_curvy()
/third_party/ffmpeg/libavcodec/x86/
Dmpegvideodsp.c30 int dxx, int dxy, int dyx, int dyy, in gmc_mmx() argument
39 const int dxys = dxy >> 4; in gmc_mmx()
53 const int dxh = dxy * (h - 1); in gmc_mmx()
63 (dxx | dxy | dyx | dyy) & 15 || in gmc_mmx()
66 ff_gmc_c(dst, src, stride, h, ox, oy, dxx, dxy, dyx, dyy, in gmc_mmx()
Dh264_chromamc_10bit.asm76 mov r6, r2 ; dxy = x ? 1 : stride
Dh264_chromamc.asm143 mov r6, r2 ; dxy = x ? 1 : stride
/third_party/skia/src/utils/
DSkDashPath.cpp101 SkVector dxy = pts[1] - pts[0]; in clip_line() local
104 if (dxy.fX && dxy.fY) { in clip_line()
107 int xyOffset = SkToBool(dxy.fY); // 0 to adjust horizontal, 1 to adjust vertical in clip_line()
/third_party/flutter/skia/src/utils/
DSkDashPath.cpp100 SkVector dxy = pts[1] - pts[0]; in clip_line() local
103 if (dxy.fX && dxy.fY) { in clip_line()
106 int xyOffset = SkToBool(dxy.fY); // 0 to adjust horizontal, 1 to adjust vertical in clip_line()
/third_party/ffmpeg/libavfilter/
Dvf_colorconstancy.c340 const double *dxy = td->data[INDEX_DXY][plane]; in slice_normalize() local
342 norm[i] = sqrt( pow(dx[i], 2) + 4 * pow(dxy[i], 2) + pow(dy[i], 2) ); in slice_normalize()