/aosp_15_r20/external/libgav1/src/dsp/arm/ |
H A D | intrapred_directional_neon.cc | 78 const int xstep, const bool upsampled) { in DirectionalZone1_WxH() argument 93 int top_x = xstep; in DirectionalZone1_WxH() 141 top_x += xstep; in DirectionalZone1_WxH() 151 const int xstep, const bool upsampled) { in DirectionalZone1_WxH() argument 166 int top_x = xstep; in DirectionalZone1_WxH() 204 top_x += xstep; in DirectionalZone1_WxH() 212 const int height, const int xstep, const bool upsampled_top) { in DirectionalIntraPredictorZone1_NEON() argument 216 assert(xstep > 0); in DirectionalIntraPredictorZone1_NEON() 222 if (xstep == 64) { in DirectionalIntraPredictorZone1_NEON() 236 DirectionalZone1_WxH<4>(dst, stride, height, top, xstep, upsampled_top); in DirectionalIntraPredictorZone1_NEON() [all …]
|
/aosp_15_r20/external/libgav1/src/dsp/x86/ |
H A D | intrapred_directional_sse4.cc | 89 const int xstep, const bool upsampled) { in DirectionalZone1_4xH() argument 109 const int xstep_units = std::max(xstep >> scale_bits, 1); in DirectionalZone1_4xH() 114 int top_x = xstep; in DirectionalZone1_4xH() 116 for (; y < min_corner_only_y; ++y, dst += stride, top_x += xstep) { in DirectionalZone1_4xH() 151 const int xstep, const bool upsampled) { in DirectionalZone1_Large() argument 168 const int xstep_units = std::max(xstep >> scale_bits, 1); in DirectionalZone1_Large() 173 LeftShift((max_base_x - (base_step * width)), scale_bits) / xstep, in DirectionalZone1_Large() 177 int top_x = xstep; in DirectionalZone1_Large() 178 for (; y < max_no_corner_y; ++y, dest += stride, top_x += xstep) { in DirectionalZone1_Large() 207 for (; y < min_corner_only_y; ++y, dest += stride, top_x += xstep) { in DirectionalZone1_Large() [all …]
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cuda/ |
H A D | RangeFactories.cu | 182 auto xstep = step.to<accscalar_t>(); in range_cuda_out() local 184 TORCH_CHECK(xstep > 0 || xstep < 0, "step must be nonzero"); in range_cuda_out() 188 TORCH_CHECK(((xstep > 0) && (xend >= xstart)) || ((xstep < 0) && (xend <= xstart)), in range_cuda_out() 190 int64_t size = static_cast<int64_t>(((xend - xstart) / xstep) + 1); in range_cuda_out() 198 gpu_kernel_with_index(r, [xstart, xstep]GPU_LAMBDA(int64_t ind) -> scalar_t { in range_cuda_out() 199 accscalar_t inc = xstep * static_cast<accscalar_t>(ind); in range_cuda_out() 218 auto xstep = step.to<accscalar_t>(); in arange_cuda_out() local 220 TORCH_CHECK(xstep > 0 || xstep < 0, "step must be nonzero"); in arange_cuda_out() 224 TORCH_CHECK(((xstep > 0) && (xend >= xstart)) || ((xstep < 0) && (xend <= xstart)), in arange_cuda_out() 236 int64_t sgn = (xstep > 0) - (xstep < 0); in arange_cuda_out() [all …]
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/ |
H A D | RangeFactories.cpp | 158 auto xstep = step.to<accscalar_t>(); in range_out() local 160 TORCH_CHECK(xstep > 0 || xstep < 0, "step must be nonzero"); in range_out() 164 TORCH_CHECK(((xstep > 0) && (xend >= xstart)) || ((xstep < 0) && (xend <= xstart)), in range_out() 166 int64_t size = static_cast<int64_t>(((xend - xstart) / xstep) + 1); in range_out() 181 data_ptr[i] = xstart + is * xstep; in range_out() 201 auto xstep = step.to<accscalar_t>(); in arange_out() local 203 TORCH_CHECK(xstep > 0 || xstep < 0, "step must be nonzero"); in arange_out() 207 TORCH_CHECK(((xstep > 0) && (xend >= xstart)) || ((xstep < 0) && (xend <= xstart)), in arange_out() 219 int64_t sgn = (xstep > 0) - (xstep < 0); in arange_out() 220 size_d = std::ceil((xend - xstart + xstep - sgn) / xstep); in arange_out()
|
/aosp_15_r20/external/libgav1/src/dsp/ |
H A D | intrapred_directional.cc | 39 const int height, const int xstep, const bool upsampled_top) { in DirectionalIntraPredictorZone1_C() argument 44 assert(xstep > 0); in DirectionalIntraPredictorZone1_C() 48 if (xstep == 64) { in DirectionalIntraPredictorZone1_C() 65 int top_x = xstep; in DirectionalIntraPredictorZone1_C() 93 top_x += xstep; in DirectionalIntraPredictorZone1_C() 110 const int height, const int xstep, const int ystep, in DirectionalIntraPredictorZone2_C() argument 117 assert(xstep > 0); in DirectionalIntraPredictorZone2_C() 127 int top_x = -xstep; in DirectionalIntraPredictorZone2_C() 149 top_x -= xstep; in DirectionalIntraPredictorZone2_C()
|
H A D | intrapred_directional_test.cc | 343 const int xstep = in TestSpeed() local 347 block_height_, xstep, in TestSpeed() 352 const int xstep = in TestSpeed() local 358 dst, stride, top, left, block_width_, block_height_, xstep, in TestSpeed() 429 const int xstep = in TestSaturatedValues() local 433 xstep, upsampled_top); in TestSaturatedValues() 435 const int xstep = in TestSaturatedValues() local 441 block_height_, xstep, ystep, upsampled_top, upsampled_left); in TestSaturatedValues() 526 const int xstep = in TestRandomValues() local 530 block_height_, xstep, upsampled_top); in TestRandomValues() [all …]
|
H A D | dsp.h | 216 int height, int xstep, 234 int height, int xstep, int ystep, bool upsampled_top, bool upsampled_left);
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/mps/operations/ |
H A D | RangeFactories.mm | 59 auto xstep = step.to<accscalar_t>(); 68 TORCH_CHECK(xstep > 0 || xstep < 0, "step must be nonzero"); 74 TORCH_CHECK(((xstep > 0) && (xend >= xstart)) || ((xstep < 0) && (xend <= xstart)), 140 auto xstep = step.to<accscalar_t>(); 142 // double size_d = ((xend - xstart) / xstep) + 1; 150 TORCH_CHECK(xstep > 0 || xstep < 0, "step must be nonzero"); 156 TORCH_CHECK(((xstep > 0) && (xend >= xstart)) || ((xstep < 0) && (xend <= xstart)),
|
/aosp_15_r20/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | bench_full.c | 118 mpd_t *sqrt_2, *xstep, *ystep; in main() local 138 xstep = new_mpd(); in main() 145 mpd_div_u32(xstep, sqrt_2, 40, &ctx); in main() 155 mpd_add(x0, x0, xstep, &ctx); in main() 189 mpd_del(xstep); in main()
|
/aosp_15_r20/external/libpng/contrib/examples/ |
H A D | pngpixel.c | 247 png_uint_32 ystart, xstart, ystep, xstep; in main() local 268 xstep = PNG_PASS_COL_OFFSET(pass); in main() 275 ystep = xstep = 1; in main() 303 px < width; px += xstep, ++ppx) if (x == px) in main()
|
/aosp_15_r20/external/libcups/filter/ |
H A D | rastertoepson.c | 76 unsigned type, unsigned xstep, unsigned ystep); 409 unsigned xstep, /* I - X resolution */ in CompressData() argument 582 putchar((int)xstep); in CompressData() 740 unsigned xstep, ystep; /* X & Y resolutions */ in OutputLine() local 746 xstep = 3600 / header->HWResolution[0]; in OutputLine() 773 CompressData(Planes[plane], bytes, plane, header->cupsCompression, xstep, ystep); in OutputLine()
|
/aosp_15_r20/external/edid-decode/ |
H A D | parse-cta-block.cpp | 1180 double xstep = (0.74609375 - xmin) / 31.0; in cta_dolby_video() local 1185 xmin + xstep * (x[6] >> 3), in cta_dolby_video() 1187 xstep = 0.49609375 / 127.0; in cta_dolby_video() 1191 xstep * (x[4] >> 1), ymin + ystep * (x[5] >> 1)); in cta_dolby_video() 1193 xstep = (0.15234375 - xmin) / 7.0; in cta_dolby_video() 1197 xmin + xstep * (x[3] >> 5), in cta_dolby_video() 1229 double xstep = (0.74609375 - xmin) / 31.0; in cta_dolby_video() local 1234 xmin + xstep * (x[5] >> 3), in cta_dolby_video() 1236 xstep = 0.49609375 / 127.0; in cta_dolby_video() 1240 xstep * (x[3] >> 1), ymin + ystep * (x[4] >> 1)); in cta_dolby_video() [all …]
|
/aosp_15_r20/external/libdrm/tests/util/ |
H A D | pattern.c | 342 unsigned int xstep = cs * xsub; in fill_smpte_yuv_planar_10bpp() local 391 for (x = 0; x < width; x += xstep) in fill_smpte_yuv_planar_10bpp() 392 write_pixels_10bpp(&uv_mem[(x * 5) / xstep], in fill_smpte_yuv_planar_10bpp() 401 for (x = 0; x < width; x += xstep) in fill_smpte_yuv_planar_10bpp() 402 write_pixels_10bpp(&uv_mem[(x * 5) / xstep], in fill_smpte_yuv_planar_10bpp() 411 for (x = 0; x < width * 5 / 7; x += xstep) in fill_smpte_yuv_planar_10bpp() 412 write_pixels_10bpp(&uv_mem[(x * 5) / xstep], in fill_smpte_yuv_planar_10bpp() 417 for (; x < width * 6 / 7; x += xstep) in fill_smpte_yuv_planar_10bpp() 418 write_pixels_10bpp(&uv_mem[(x * 5) / xstep], in fill_smpte_yuv_planar_10bpp() 423 for (; x < width; x += xstep) in fill_smpte_yuv_planar_10bpp() [all …]
|
/aosp_15_r20/external/zxing/core/src/main/java/com/google/zxing/qrcode/detector/ |
H A D | Detector.java | 322 int xstep = fromX < toX ? 1 : -1; in sizeOfBlackWhiteBlackRun() 328 int xLimit = toX + xstep; in sizeOfBlackWhiteBlackRun() 329 for (int x = fromX, y = fromY; x != xLimit; x += xstep) { in sizeOfBlackWhiteBlackRun() 356 return MathUtils.distance(toX + xstep, toY, fromX, fromY); in sizeOfBlackWhiteBlackRun()
|
/aosp_15_r20/external/python/cpython2/Modules/ |
D | imageop.c | 125 int ix, iy, xstep, ystep; in imageop_crop() local 139 xstep = (newx1 < newx2)? 1 : -1; in imageop_crop() 152 newx2 += xstep; in imageop_crop() 154 for ( ix = newx1; ix != newx2; ix+=xstep ) { in imageop_crop()
|
/aosp_15_r20/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerFirGen.h | 719 const double xstep = (2. * M_PI) * fcr / L; 727 SineGenGen sgg(0., xstep, L*xstep); // generates sine generators (one per polyphase)
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_setup.c | 1008 int xstep, ystep; in sp_setup_line() local 1035 xstep = -1; in sp_setup_line() 1038 xstep = 1; in sp_setup_line() 1085 x0 += xstep; in sp_setup_line() 1111 x0 += xstep; in sp_setup_line()
|
/aosp_15_r20/external/zxing/core/src/main/java/com/google/zxing/datamatrix/detector/ |
H A D | Detector.java | 362 int xstep = fromX < toX ? 1 : -1; in transitionsBetween() 365 for (int x = fromX, y = fromY; x != toX; x += xstep) { in transitionsBetween()
|
/aosp_15_r20/external/pytorch/torch/csrc/lazy/core/ |
H A D | shape_inference.cpp | 116 auto xstep = step.to<accscalar_t>(); in compute_shape_arange_out() local 137 TORCH_CHECK(xstep > 0 || xstep < 0, "step must be nonzero"); in compute_shape_arange_out() 146 ((xstep > 0) && (xend >= xstart)) || in compute_shape_arange_out() 147 ((xstep < 0) && (xend <= xstart)), in compute_shape_arange_out()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_tri.c | 901 int64_t xstep[MAX_PLANES]; in lp_setup_bin_triangle() local 919 xstep[i] = -(((int64_t)plane[i].dcdx) << TILE_ORDER); in lp_setup_bin_triangle() 979 cx[i] += xstep[i]; in lp_setup_bin_triangle()
|
/aosp_15_r20/frameworks/base/libs/androidfw/ |
H A D | NinePatch.cpp | 177 explicit DiagonalImageLine(uint8_t** rows, int32_t xoffset, int32_t yoffset, int32_t xstep, in DiagonalImageLine() argument 182 xstep_(xstep), in DiagonalImageLine()
|
/aosp_15_r20/frameworks/base/core/java/android/view/ |
H A D | IWindowSession.aidl | 200 … oneway void setWallpaperPosition(IBinder windowToken, float x, float y, float xstep, float ystep); in setWallpaperPosition() argument
|
H A D | WindowlessWindowManager.java | 531 float xstep, float ystep) { in setWallpaperPosition() argument
|
/aosp_15_r20/external/llvm/docs/tutorial/ |
H A D | LangImpl06.rst | 575 def mandelhelp(xmin xmax xstep ymin ymax ystep) 577 (for x = xmin, x < xmax, xstep in
|
/aosp_15_r20/external/pytorch/torch/_refs/ |
H A D | __init__.py | 4989 xstep = sym_int(step) 4995 sgn = bool(xstep > 0) - bool(xstep < 0) # type: ignore[possibly-undefined] 4996 length = (xend - xstart + xstep - sgn) // xstep # type: ignore[possibly-undefined] 5004 step=xstep, # type: ignore[possibly-undefined]
|