| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/m2vd/ |
| H A D | hal_m2vd_vdpu1.c | 154 M2VDDxvaParam *dx = (M2VDDxvaParam *)task->dec.syntax.data; in hal_m2vd_vdpu1_gen_regs() local 159 memcpy(q_table, dx->qp_tab, M2VD_BUF_SIZE_QPTAB); in hal_m2vd_vdpu1_gen_regs() 165 if (dx->seq_ext_head_dec_flag) { in hal_m2vd_vdpu1_gen_regs() 167 p_regs->sw18.fcode_fwd_hor = dx->pic.full_pel_forward_vector; in hal_m2vd_vdpu1_gen_regs() 168 p_regs->sw18.fcode_fwd_ver = dx->pic.forward_f_code; in hal_m2vd_vdpu1_gen_regs() 169 p_regs->sw18.fcode_bwd_hor = dx->pic.full_pel_backward_vector; in hal_m2vd_vdpu1_gen_regs() 170 p_regs->sw18.fcode_bwd_ver = dx->pic.backward_f_code; in hal_m2vd_vdpu1_gen_regs() 173 p_regs->sw18.fcode_fwd_hor = dx->pic.forward_f_code; in hal_m2vd_vdpu1_gen_regs() 174 p_regs->sw18.fcode_fwd_ver = dx->pic.forward_f_code; in hal_m2vd_vdpu1_gen_regs() 175 p_regs->sw18.fcode_bwd_hor = dx->pic.backward_f_code; in hal_m2vd_vdpu1_gen_regs() [all …]
|
| H A D | hal_m2vd_vdpu2.c | 203 M2VDDxvaParam *dx = (M2VDDxvaParam *)task->dec.syntax.data; in hal_m2vd_vdpu2_gen_regs() local 208 memcpy(q_table, dx->qp_tab, M2VD_BUF_SIZE_QPTAB); in hal_m2vd_vdpu2_gen_regs() 214 if (dx->seq_ext_head_dec_flag) { in hal_m2vd_vdpu2_gen_regs() 216 p_regs->sw136.fcode_fwd_hor = dx->pic.full_pel_forward_vector; in hal_m2vd_vdpu2_gen_regs() 217 p_regs->sw136.fcode_fwd_ver = dx->pic.forward_f_code; in hal_m2vd_vdpu2_gen_regs() 218 p_regs->sw136.fcode_bwd_hor = dx->pic.full_pel_backward_vector; in hal_m2vd_vdpu2_gen_regs() 219 p_regs->sw136.fcode_bwd_ver = dx->pic.backward_f_code; in hal_m2vd_vdpu2_gen_regs() 223 p_regs->sw136.fcode_fwd_hor = dx->pic.forward_f_code; in hal_m2vd_vdpu2_gen_regs() 224 p_regs->sw136.fcode_fwd_ver = dx->pic.forward_f_code; in hal_m2vd_vdpu2_gen_regs() 225 p_regs->sw136.fcode_bwd_hor = dx->pic.backward_f_code; in hal_m2vd_vdpu2_gen_regs() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/x86/cpu/quark/ |
| H A D | car.S | 60 mov $PCI_REG_ADDR, %dx 61 out %eax, %dx 62 mov $PCI_REG_DATA, %dx 64 out %eax, %dx 68 mov $PCI_REG_ADDR, %dx 69 out %eax, %dx 70 mov $PCI_REG_DATA, %dx 71 in %dx, %eax 91 mov $PCI_REG_ADDR, %dx 92 out %eax, %dx [all …]
|
| /OK3568_Linux_fs/external/xserver/mi/ |
| H A D | mifillarc.c | 59 info->dx = arc->width & 1; in miFillArcSetup() 60 info->xorg = arc->x + (arc->width >> 1) + info->dx; in miFillArcSetup() 61 info->dx = 1 - info->dx; in miFillArcSetup() 68 if (!info->dx) { in miFillArcSetup() 87 if (!info->dx) { in miFillArcSetup() 108 info->dx = arc->width & 1; in miFillArcDSetup() 109 info->xorg = arc->x + (arc->width >> 1) + info->dx; in miFillArcDSetup() 110 info->dx = 1 - info->dx; in miFillArcDSetup() 116 if (!info->dx) { in miFillArcDSetup() 141 xady = k + y * edge->dx; in miGetArcEdge() [all …]
|
| H A D | miwideline.c | 687 left_dx = left->dx; in miFillPolyHelper() 699 right_dx = right->dx; in miFillPolyHelper() 792 int dx, int dy, int xi, int yi, int left, PolyEdgePtr edge) in miPolyBuildEdge() argument 799 dx = -dx; in miPolyBuildEdge() 807 realk = x0 * dy - y0 * dx; in miPolyBuildEdge() 814 xady = ICEIL(k) + y * dx; in miPolyBuildEdge() 823 if (dx >= 0) { in miPolyBuildEdge() 825 edge->stepx = dx / dy; in miPolyBuildEdge() 826 edge->dx = dx % dy; in miPolyBuildEdge() 830 edge->stepx = -(-dx / dy); in miPolyBuildEdge() [all …]
|
| H A D | miscanfill.h | 74 int dx; /* local storage */ \ 82 dx = (x2) - xStart; \ 83 if (dx < 0) { \ 84 m = dx / (dy); \ 86 incr1 = -2 * dx + 2 * (dy) * m1; \ 87 incr2 = -2 * dx + 2 * (dy) * m; \ 88 d = 2 * m * (dy) - 2 * dx - 2 * (dy); \ 90 m = dx / (dy); \ 92 incr1 = 2 * dx - 2 * (dy) * m1; \ 93 incr2 = 2 * dx - 2 * (dy) * m; \ [all …]
|
| H A D | mizerarc.h | 34 int x, y, k1, k3, a, b, d, dx, dy; member 56 dx = info.dx; \ 69 dx = (k1 << 1) - k3; \ 70 k1 = dx - k1; \ 74 if (dx < 0) \ 75 a = -((-dx) >> 1) - a; \ 77 a = (dx >> 1) - a; \ 78 dx = 0; \ 88 x += dx; \
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | ptrveloc.c | 461 DoGetDirection(int dx, int dy) in DoGetDirection() argument 466 if (abs(dx) < 2 && abs(dy) < 2) { in DoGetDirection() 468 if (dx > 0 && dy > 0) in DoGetDirection() 470 else if (dx > 0 && dy < 0) in DoGetDirection() 472 else if (dx < 0 && dy < 0) in DoGetDirection() 474 else if (dx < 0 && dy > 0) in DoGetDirection() 477 else if (dx > 0) in DoGetDirection() 479 else if (dx < 0) in DoGetDirection() 492 r = atan2(dy, dx); in DoGetDirection() 528 GetDirection(int dx, int dy) in GetDirection() argument [all …]
|
| /OK3568_Linux_fs/external/xserver/glamor/ |
| H A D | glamor_copy.c | 32 int dx, dy; member 44 glUniform2f(prog->fill_offset_uniform, args->dx, args->dy); in use_copyarea() 73 glUniform2f(prog->fill_offset_uniform, args->dx, args->dy); in use_copyplane() 167 int dx, in glamor_copy_bail() argument 177 fbCopyNto1(src, dst, gc, box, nbox, dx, dy, in glamor_copy_bail() 180 fbCopy1toN(src, dst, gc, box, nbox, dx, dy, in glamor_copy_bail() 183 fbCopyNtoN(src, dst, gc, box, nbox, dx, dy, in glamor_copy_bail() 205 int dx, in glamor_copy_cpu_fbo() argument 252 fbCopyNto1(src, &tmp_pix->drawable, gc, box, nbox, dx, dy, in glamor_copy_cpu_fbo() 255 fbCopy1toN(src, &tmp_pix->drawable, gc, box, nbox, dx, dy, in glamor_copy_cpu_fbo() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/mb862xx/ |
| H A D | mb862xxfb_accel.c | 52 if (area->sx >= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 54 else if (area->sx >= area->dx && area->sy <= area->dy) in mb86290fb_copyarea() 56 else if (area->sx <= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 62 cmd[4] = (area->dy << 16) | area->dx; in mb86290fb_copyarea() 71 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument 98 cmd[7] = (dy << 16) | dx; in mb86290fb_imageblit1() 120 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument 131 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit8() 159 static void mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit16() argument 174 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit16() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-uniphier/dram/ |
| H A D | cmd_ddrmphy.c | 73 int phy, dx; in dump_loop() local 79 for (dx = 0; dx < param->phy[phy].nr_dx; dx++) { in dump_loop() 80 printf("PHY%dDX%d:", phy, dx); in dump_loop() 232 #define DX_REG_DUMP(dx, x) \ argument 233 { int ofst = MPHY_DX_BASE + MPHY_DX_STRIDE * (dx) + \ 237 ofst >> MPHY_SHIFT, (dx), #x, reg, readl(reg)); } 242 int phy, dx; in reg_dump() local 281 for (dx = 0; dx < param->phy[phy].nr_dx; dx++) { in reg_dump() 282 DX_REG_DUMP(dx, GCR0); in reg_dump() 283 DX_REG_DUMP(dx, GCR1); in reg_dump() [all …]
|
| H A D | cmd_ddrphy.c | 88 int phy, dx; in dump_loop() local 94 for (dx = 0; dx < param->phy[phy].nr_dx; dx++) { in dump_loop() 95 printf("PHY%dDX%d:", phy, dx); in dump_loop() 207 #define DX_REG_DUMP(dx, x) \ argument 208 { int ofst = PHY_DX_BASE + PHY_DX_STRIDE * (dx) + \ 212 ofst >> PHY_REG_SHIFT, (dx), #x, \ 218 int phy, dx; in reg_dump() local 254 for (dx = 0; dx < param->phy[phy].nr_dx; dx++) { in reg_dump() 255 DX_REG_DUMP(dx, GCR); in reg_dump() 256 DX_REG_DUMP(dx, GTR); in reg_dump()
|
| H A D | umc-pxs2.c | 53 static inline int ddrphy_get_rank(int dx) in ddrphy_get_rank() argument 55 return dx / 2; in ddrphy_get_rank() 95 int dx; in ddrphy_dqs_delay_fixup() local 101 for (dx = 0; dx < nr_dx; dx++) { in ddrphy_dqs_delay_fixup() 118 int dx, rank; in ddrphy_get_system_latency() local 122 for (dx = 0; dx < nr_dx; dx++) { in ddrphy_get_system_latency() 147 int zq, dx; in ddrphy_init() local 192 for (dx = 0; dx < nr_dx; dx++) in ddrphy_init() 193 tmp |= BIT(MPHY_DTCR_RANKEN_SHIFT + ddrphy_get_rank(dx)); in ddrphy_init() 218 for (dx = 0; dx < 4; dx++) { in ddrphy_init() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include/mapbox/geojsonvt/ |
| H A D | simplify.hpp | 13 double dx = b.x - a.x; in getSqSegDist() local 16 if ((dx != 0.0) || (dy != 0.0)) { in getSqSegDist() 18 const double t = ((p.x - a.x) * dx + (p.y - a.y) * dy) / (dx * dx + dy * dy); in getSqSegDist() 25 x += dx * t; in getSqSegDist() 30 dx = p.x - x; in getSqSegDist() 33 return dx * dx + dy * dy; in getSqSegDist()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/cuda/ |
| H A D | filters.hpp | 204 for(int dx = sx1; dx < sx2; ++dx) in operator ()() local 206 out = out + src(dy, dx) * scale; in operator ()() 245 for (int dx = sx1; dx < sx2; ++dx) in operator ()() local 246 out = out + src(dy, dx) * scale; in operator ()() 256 for (int dx = sx1; dx < sx2; ++dx) in operator ()() local 257 out = out + src( (sy1 - 1) , dx) * ((sy1 -fsy1) * scale); in operator ()() 260 for (int dx = sx1; dx < sx2; ++dx) in operator ()() local 261 out = out + src(sy2, dx) * ((fsy2 -sy2) * scale); in operator ()()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/cuda/ |
| H A D | filters.hpp | 204 for(int dx = sx1; dx < sx2; ++dx) in operator ()() local 206 out = out + src(dy, dx) * scale; in operator ()() 245 for (int dx = sx1; dx < sx2; ++dx) in operator ()() local 246 out = out + src(dy, dx) * scale; in operator ()() 256 for (int dx = sx1; dx < sx2; ++dx) in operator ()() local 257 out = out + src( (sy1 - 1) , dx) * ((sy1 -fsy1) * scale); in operator ()() 260 for (int dx = sx1; dx < sx2; ++dx) in operator ()() local 261 out = out + src(sy2, dx) * ((fsy2 -sy2) * scale); in operator ()()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/cuda/ |
| H A D | filters.hpp | 204 for(int dx = sx1; dx < sx2; ++dx) in operator ()() local 206 out = out + src(dy, dx) * scale; in operator ()() 245 for (int dx = sx1; dx < sx2; ++dx) in operator ()() local 246 out = out + src(dy, dx) * scale; in operator ()() 256 for (int dx = sx1; dx < sx2; ++dx) in operator ()() local 257 out = out + src( (sy1 - 1) , dx) * ((sy1 -fsy1) * scale); in operator ()() 260 for (int dx = sx1; dx < sx2; ++dx) in operator ()() local 261 out = out + src(sy2, dx) * ((fsy2 -sy2) * scale); in operator ()()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/aty/ |
| H A D | mach64_accel.c | 28 static u32 rotation24bpp(u32 dx, u32 direction) in rotation24bpp() argument 32 rotation = (dx / 4) % 6; in rotation24bpp() 34 rotation = ((dx + 2) / 4) % 6; in rotation24bpp() 203 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local 218 dx *= 3; in atyfb_copyarea() 228 if (sx < dx) { in atyfb_copyarea() 229 dx += width - 1; in atyfb_copyarea() 235 rotation = rotation24bpp(dx, direction); in atyfb_copyarea() 244 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea() 250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local [all …]
|
| H A D | radeon_accel.c | 64 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); in radeonfb_prim_fillrect() 89 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect() 92 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_fillrect() 102 u32 sx, sy, dx, dy, w, h; in radeonfb_prim_copyarea() local 105 dx = area->dx; dy = area->dy; in radeonfb_prim_copyarea() 107 xdir = sx - dx; in radeonfb_prim_copyarea() 110 if ( xdir < 0 ) { sx += w-1; dx += w-1; } in radeonfb_prim_copyarea() 130 OUTREG(DST_Y_X, (dy << 16) | dx); in radeonfb_prim_copyarea() 142 modded.dx = area->dx; in radeonfb_copyarea() 161 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | atafb.h | 6 int dx, int height, int width); 10 int dy, int dx, u32 width, 14 int dx, int height, int width); 18 int dy, int dx, u32 width, 22 int dx, int height, int width); 26 int dy, int dx, u32 width, 30 int dx, int height, int width); 34 int dy, int dx, u32 width,
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3/include/mapbox/geometry/wagyu/ |
| H A D | edge.hpp | 29 double dx; member 31 edge(edge<T>&& e) noexcept : bot(std::move(e.bot)), top(std::move(e.top)), dx(std::move(e.dx)) { in edge() 37 dx = std::move(e.dx); in operator =() 46 dx(0.0) { in edge() 54 dx = std::numeric_limits<double>::infinity(); in edge() 56 dx = static_cast<double>(top.x - bot.x) / dy; in edge() 78 return std::isinf(e.dx); in is_horizontal() 87 edge.dx * static_cast<double>(current_y - edge.bot.y); in get_current_x()
|
| /OK3568_Linux_fs/external/xserver/miext/rootless/ |
| H A D | rootlessValTree.c | 133 int dx, dy; in RootlessComputeClips() local 152 dx = (int) pParent->drawable.x + (int) pParent->drawable.width + in RootlessComputeClips() 154 if (dx > 32767) in RootlessComputeClips() 155 dx = 32767; in RootlessComputeClips() 156 borderSize.x2 = dx; in RootlessComputeClips() 198 dx = pParent->drawable.x - pParent->valdata->before.oldAbsCorner.x; in RootlessComputeClips() 218 RegionTranslate(&pChild->borderClip, dx, dy); in RootlessComputeClips() 219 RegionTranslate(&pChild->clipList, dx, dy); in RootlessComputeClips() 222 (*pScreen->ClipNotify) (pChild, dx, dy); in RootlessComputeClips() 254 if (dx || dy) { in RootlessComputeClips() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/savage/ |
| H A D | savagefb_accel.c | 34 int sx = region->sx, dx = region->dx; in savagefb_copyarea() local 44 if (dx <= sx) { in savagefb_copyarea() 48 dx += region->width - 1; in savagefb_copyarea() 61 BCI_SEND(BCI_X_Y(dx, dy)); in savagefb_copyarea() 88 BCI_SEND( BCI_X_Y(rect->dx, rect->dy) ); in savagefb_fillrect() 128 BCI_SEND(BCI_CLIP_LR(image->dx, image->dx + image->width - 1)); in savagefb_imageblit() 131 BCI_SEND(BCI_X_Y(image->dx, image->dy)); in savagefb_imageblit()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/ |
| H A D | math.hpp | 37 T dx = b.x - a.x; in normal() local 39 T c = std::sqrt(dx * dx + dy * dy); in normal() 40 return { dx / c, dy / c }; in normal() 50 T dx = b.x - a.x; in dist() local 52 T c = std::sqrt(dx * dx + dy * dy); in dist() 58 T dx = b.x - a.x; in distSqr() local 60 T c = dx * dx + dy * dy; in distSqr()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/dss/ |
| H A D | hdmi_phy.c | 38 int dx, dy; in hdmi_phy_parse_lanes() local 40 dx = lanes[i]; in hdmi_phy_parse_lanes() 43 if (dx < 0 || dx >= 8) in hdmi_phy_parse_lanes() 49 if (dx & 1) { in hdmi_phy_parse_lanes() 50 if (dy != dx - 1) in hdmi_phy_parse_lanes() 54 if (dy != dx + 1) in hdmi_phy_parse_lanes() 59 lane = dx / 2; in hdmi_phy_parse_lanes()
|