/dports/graphics/opencv/opencv-4.5.3/modules/core/include/opencv2/core/hal/ |
H A D | intrin_vsx.hpp | 23 struct v_uint8x16 struct 31 v_uint8x16() in v_uint8x16() function 40 static inline v_uint8x16 zero() { return v_uint8x16(vec_uchar16_z); } in zero() argument 463 return v_uint8x16(ab); in OPENCV_HAL_IMPL_VSX_PACK() 752 inline v_uint8x16 v_reverse(const v_uint8x16 &a) in OPENCV_IMPL_VSX_ROTATE_64_2RG_LR() 894 inline unsigned v_reduce_sad(const v_uint8x16& a, const v_uint8x16& b) in v_reduce_sad() 939 inline v_uint8x16 v_popcount(const v_uint8x16& a) in v_popcount() 1302 inline v_uint8x16 v_interleave_pairs(const v_uint8x16& vec) in v_interleave_pairs() 1310 inline v_uint8x16 v_interleave_quads(const v_uint8x16& vec) in v_interleave_quads() 1344 inline v_uint8x16 v_pack_triplets(const v_uint8x16& vec) in v_pack_triplets() [all …]
|
H A D | intrin_msa.hpp | 23 struct v_uint8x16 struct 28 v_uint8x16() {} in v_uint8x16() function 413 inline void v_mul_expand(const v_uint8x16& a, const v_uint8x16& b, in v_mul_expand() 494 inline v_uint32x4 v_dotprod_expand(const v_uint8x16& a, const v_uint8x16& b) in v_dotprod_expand() 503 inline v_uint32x4 v_dotprod_expand(const v_uint8x16& a, const v_uint8x16& b, const v_uint32x4& c) in v_dotprod_expand() 573 inline v_uint32x4 v_dotprod_expand_fast(const v_uint8x16& a, const v_uint8x16& b) in v_dotprod_expand_fast() 575 inline v_uint32x4 v_dotprod_expand_fast(const v_uint8x16& a, const v_uint8x16& b, const v_uint32x4&… in v_dotprod_expand_fast() 926 inline v_uint8x16 v_reverse(const v_uint8x16 &a) 1070 inline unsigned v_reduce_sad(const v_uint8x16& a, const v_uint8x16& b) in v_reduce_sad() 1117 return v_uint8x16(t); \ [all …]
|
H A D | intrin_wasm.hpp | 38 struct v_uint8x16 struct 44 v_uint8x16() {} in v_uint8x16() argument 905 inline void v_mul_expand(const v_uint8x16& a, const v_uint8x16& b, in OPENCV_HAL_IMPL_WASM_MUL_SAT() 1272 inline v_uint8x16 v_mul_wrap(const v_uint8x16& a, const v_uint8x16& b) in OPENCV_HAL_IMPL_WASM_BIN_FUNC() 1300 inline v_uint8x16 v_absdiff(const v_uint8x16& a, const v_uint8x16& b) in OPENCV_HAL_IMPL_WASM_BIN_FUNC() 1579 inline v_uint8x16 v_reverse(const v_uint8x16 &a) in OPENCV_HAL_IMPL_WASM_LOADSTORE_INT_OP() 1689 inline unsigned v_reduce_sad(const v_uint8x16& a, const v_uint8x16& b) in OPENCV_HAL_IMPL_WASM_REDUCE_OP() 1732 inline v_uint8x16 v_popcount(const v_uint8x16& a) in v_popcount() 1998 inline void v_load_deinterleave(const uchar* ptr, v_uint8x16& a, v_uint8x16& b, v_uint8x16& c) in v_load_deinterleave() 2013 …nline void v_load_deinterleave(const uchar* ptr, v_uint8x16& a, v_uint8x16& b, v_uint8x16& c, v_ui… in v_load_deinterleave() [all …]
|
H A D | intrin_sse.hpp | 72 struct v_uint8x16 struct 79 v_uint8x16() {} in v_uint8x16() argument 780 inline void v_mul_expand(const v_uint8x16& a, const v_uint8x16& b, in OPENCV_HAL_IMPL_SSE_MUL_SAT() 1285 inline v_uint8x16 v_mul_wrap(const v_uint8x16& a, const v_uint8x16& b) in OPENCV_HAL_IMPL_SSE_BIN_FUNC() 1301 inline v_uint8x16 v_absdiff(const v_uint8x16& a, const v_uint8x16& b) in v_absdiff() 1746 inline unsigned v_reduce_sad(const v_uint8x16& a, const v_uint8x16& b) in OPENCV_HAL_IMPL_SSE_REDUCE_OP_4() 1782 inline v_uint8x16 v_popcount(const v_uint8x16& a) in v_popcount() 1954 inline v_uint8x16 v_reverse(const v_uint8x16 &a) 2101 inline void v_load_deinterleave(const uchar* ptr, v_uint8x16& a, v_uint8x16& b, v_uint8x16& c) in v_load_deinterleave() 2165 …nline void v_load_deinterleave(const uchar* ptr, v_uint8x16& a, v_uint8x16& b, v_uint8x16& c, v_ui… in v_load_deinterleave() [all …]
|
H A D | intrin_neon.hpp | 138 struct v_uint8x16 struct 143 v_uint8x16() {} in v_uint8x16() function 415 return v_uint8x16(ab); 548 inline void v_mul_expand(const v_uint8x16& a, const v_uint8x16& b, in v_mul_expand() 670 inline v_uint32x4 v_dotprod_expand(const v_uint8x16& a, const v_uint8x16& b) in v_dotprod_expand() 692 inline v_uint32x4 v_dotprod_expand(const v_uint8x16& a, const v_uint8x16& b, in v_dotprod_expand() 835 inline v_uint32x4 v_dotprod_expand_fast(const v_uint8x16& a, const v_uint8x16& b) in v_dotprod_expand_fast() 847 inline v_uint32x4 v_dotprod_expand_fast(const v_uint8x16& a, const v_uint8x16& b, const v_uint32x4&… in v_dotprod_expand_fast() 1444 inline unsigned v_reduce_sad(const v_uint8x16& a, const v_uint8x16& b) in v_reduce_sad() 1528 inline v_uint8x16 v_popcount(const v_uint8x16& a) in v_popcount() [all …]
|
H A D | intrin_rvv.hpp | 227 struct v_uint8x16 struct 232 v_uint8x16() {} in v_uint8x16() argument 233 explicit v_uint8x16(vuint8m1_t v) in v_uint8x16() function 1243 OPENCV_HAL_IMPL_RVV_LOGIC_OP(v_uint8x16, u8, 8) 1683 OPENCV_HAL_IMPL_RVV_ABSDIFF(v_uint8x16, absdiff) in OPENCV_HAL_IMPL_RVV_ABSDIFF() argument 1889 OPENCV_HAL_IMPL_RVV_BROADCAST(v_uint8x16, u8) in OPENCV_HAL_IMPL_RVV_BROADCAST() argument 2348 OPENCV_HAL_IMPL_RVV_POPCOUNT_OP(v_uint8x16, v_uint8x16, uchar, uchar, u8) in OPENCV_HAL_IMPL_RVV_POPCOUNT_OP() argument 2588 inline v_uint32x4 v_dotprod_expand(const v_uint8x16& a, const v_uint8x16& b) in v_dotprod_expand() 2597 inline v_uint32x4 v_dotprod_expand(const v_uint8x16& a, const v_uint8x16& b, in v_dotprod_expand() 2721 inline v_uint32x4 v_dotprod_expand_fast(const v_uint8x16& a, const v_uint8x16& b) in v_dotprod_expand_fast() [all …]
|
H A D | intrin_rvv071.hpp | 24 struct v_uint8x16 struct 29 v_uint8x16() {} in v_uint8x16() argument 611 inline void v_mul_expand(const v_uint8x16& a, const v_uint8x16& b, in v_mul_expand() 702 inline v_uint32x4 v_dotprod_expand(const v_uint8x16& a, const v_uint8x16& b) in v_dotprod_expand() 712 inline v_uint32x4 v_dotprod_expand(const v_uint8x16& a, const v_uint8x16& b, in v_dotprod_expand() 971 OPENCV_HAL_IMPL_RISCVV_REDUCE_SAD(v_uint8x16, v_uint8x16) 1697 inline v_uint8x16 1703 inline v_uint8x16 2074 inline v_uint8x16 v_reverse(const v_uint8x16 &a) in v_reverse() 2452 inline v_uint8x16 v_interleave_pairs(const v_uint8x16& vec) in v_interleave_pairs() [all …]
|
H A D | intrin_forward.hpp | 69 #define __CV_V_UINT8 v_uint8x16 79 struct v_uint8x16;
|
H A D | intrin.hpp | 335 … CV_DEF_REG_TRAITS(v, v_uint8x16, uchar, u8, v_uint8x16, v_uint16x8, v_uint32x4, v_int8x16, void); 336 CV_DEF_REG_TRAITS(v, v_int8x16, schar, s8, v_uint8x16, v_int16x8, v_int32x4, v_int8x16, void); 465 typedef v_uint8x16 v_uint8;
|
H A D | simd_utils.impl.hpp | 18 CV_INTRIN_DEF_TYPE2VEC128_TRAITS(uchar, v_uint8x16);
|
H A D | intrin_cpp.hpp | 488 typedef v_reg<uchar, 16> v_uint8x16; typedef 2790 OPENCV_HAL_IMPL_C_INIT_ZERO(v_uint8x16, v, u8) in OPENCV_HAL_IMPL_C_INIT_ZERO() argument 2836 OPENCV_HAL_IMPL_C_INIT_VAL(v_uint8x16, uchar, v, u8)
|
/dports/graphics/opencv/opencv-4.5.3/modules/core/src/ |
H A D | matrix_transform.cpp | 291 int width_1 = width & -v_uint8x16::nlanes; in flipHoriz_single() 300 for( i = 0, j = end; i < width_1; i += v_uint8x16::nlanes, j -= v_uint8x16::nlanes ) in flipHoriz_single() 378 if (esz == 2 * v_uint8x16::nlanes) in flipHoriz() 385 …for( int i = 0, j = end - 2 * v_uint8x16::nlanes; i < width; i += 2 * v_uint8x16::nlanes, j -= 2 *… in flipHoriz() 395 v_uint8x16 t0, t1, t2, t3; in flipHoriz() 402 v_store(dst + j + v_uint8x16::nlanes, t1); in flipHoriz() 409 else if (esz == v_uint8x16::nlanes) in flipHoriz() 416 …for( int i = 0, j = end - v_uint8x16::nlanes; i < width; i += v_uint8x16::nlanes, j -= v_uint8x16:… in flipHoriz() 418 v_uint8x16 t0, t1; in flipHoriz() 466 …for ( int i = 0, j = end; i < width; i += v_uint8x16::nlanes + sizeof(uint64_t), j -= v_uint8x16::… in flipHoriz() [all …]
|
H A D | stat.simd.hpp | 62 for(; i <= n - v_uint8x16::nlanes; i += v_uint8x16::nlanes) in normHamming() 113 for(; i <= n - v_uint8x16::nlanes; i += v_uint8x16::nlanes) in normHamming()
|
H A D | minmax.cpp | 208 if ( len >= v_uint8x16::nlanes ) in minMaxIdx_8u() 217 if ( j <= len0 - v_uint8x16::nlanes ) in minMaxIdx_8u() 219 v_uint8x16 inc = v_setall_u8(v_uint8x16::nlanes); in minMaxIdx_8u() 220 v_uint8x16 none = v_reinterpret_as_u8(v_setall_s8(-1)); in minMaxIdx_8u() 233 … for( ; k < std::min(len0, j + 15 * v_uint8x16::nlanes); k += v_uint8x16::nlanes ) in minMaxIdx_8u() 235 v_uint8x16 data = v_load(src + k); in minMaxIdx_8u() 236 v_uint8x16 cmpMin = (data < valMin); in minMaxIdx_8u() 237 v_uint8x16 cmpMax = (data > valMax); in minMaxIdx_8u() 247 … for( ; k < std::min(len0, j + 15 * v_uint8x16::nlanes); k += v_uint8x16::nlanes ) in minMaxIdx_8u() 249 v_uint8x16 data = v_load(src + k); in minMaxIdx_8u() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/gapi/src/backends/fluid/ |
H A D | gfluidimgproc_func.simd.hpp | 313 v_uint8x16 r, g, b; in run_rgb2hsv_impl() 324 v_uint8x16 v; in run_rgb2hsv_impl() 539 v_uint8x16 b_low, b_high; in run_bayergr2rgb_bg_impl() 554 v_uint8x16 r_low, r_high; in run_bayergr2rgb_bg_impl() 567 v_uint8x16 g_low, g_high; in run_bayergr2rgb_bg_impl() 651 v_uint8x16 r_low, r_high; in run_bayergr2rgb_gr_impl() 666 v_uint8x16 b_low, b_high; in run_bayergr2rgb_gr_impl() 679 v_uint8x16 g_low, g_high; in run_bayergr2rgb_gr_impl() 912 v_uint8x16 r, g, b; in run_rgb2yuv422_impl() 916 v_uint8x16 y, u, v; in run_rgb2yuv422_impl() [all …]
|
H A D | gfluidcore.cpp | 825 v_uint8x16 x, y, z; in run_arithm_s3() 888 v_uint8x16 uc; in run_arithm_s1() 1949 v_uint8x16 uc; in run_convertto() 2477 v_uint8x16 i0, i1, i2; in run_inrange3() 2480 v_uint8x16 o; in run_inrange3() 2602 v_uint8x16 a1, b1, c1; in run_select_row3() 2603 v_uint8x16 a2, b2, c2; in run_select_row3() 2604 v_uint8x16 mask; in run_select_row3() 2605 v_uint8x16 a, b, c; in run_select_row3() 2718 v_uint8x16 a, b, c; in GAPI_FLUID_KERNEL() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/ximgproc/src/ |
H A D | anisodiff.cpp | 52 inline void v_expand_s(const v_uint8x16& a, v_int16x8& b, v_int16x8& c) in v_expand_s() 68 inline v_uint8x16 v_finalize_pix_ch(const v_int16x8& c0, const v_int16x8& c1, in v_finalize_pix_ch() 114 v_uint8x16 c0, c1, c2; in operator ()() 130 v_uint8x16 p0, p1, p2; in operator ()()
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/xphoto/src/ |
H A D | grayworld_white_balance.cpp | 109 v_uint8x16 v_inB, v_inG, v_inR, v_min_val, v_max_val; in calculateChannelSums() 268 v_uint8x16 v_inB, v_inG, v_inR; in applyChannelGains() 269 v_uint8x16 v_outB, v_outG, v_outR; in applyChannelGains()
|
H A D | learning_based_color_balance.cpp | 188 v_uint8x16 v_inB, v_inG, v_inR, v_local_max; in preprocessing() 189 v_uint8x16 v_global_max = v_setall_u8(0), v_mask, v_thresh = v_setall_u8((uchar)thresh); in preprocessing() 269 v_uint8x16 v_inB, v_inG, v_inR; in getAverageAndBrightestColorChromaticity() 271 v_uint8x16 v_mask = v_load(mask_ptr + i); in getAverageAndBrightestColorChromaticity()
|
/dports/graphics/opencv/opencv-4.5.3/modules/features2d/src/ |
H A D | fast.cpp | 67 …v_uint8x16 delta = v_setall_u8(0x80), t = v_setall_u8((char)threshold), K16 = v_setall_u8((char)K); in FAST_t() 122 v_uint8x16 v = v_load(ptr); in FAST_t() 153 v_uint8x16 max0 = v_setzero_u8(); in FAST_t() 154 v_uint8x16 max1 = v_setzero_u8(); in FAST_t()
|
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/src/ |
H A D | demosaicing.cpp | 206 v_uint8x16 pack_lo, pack_hi; in bayer2Gray() 263 v_uint8x16 z = v_setzero_u8(); in bayer2RGB() 299 v_uint8x16 pack_lo, pack_hi; in bayer2RGB() 396 v_uint8x16 a = v_setall_u8(alpha); in bayer2RGBA() 432 v_uint8x16 pack_lo, pack_hi; in bayer2RGBA() 486 v_uint8x16 z = v_setzero_u8(); in bayer2RGB_EA() 537 v_uint8x16 pack_lo, pack_hi; in bayer2RGB_EA()
|
H A D | imgwarp.cpp | 464 v_uint8x16 rrggbb, dummy; \ in operator ()() 466 v_uint8x16 rgb0 = v_reinterpret_as_u8(v_int32x4(*(unaligned_int*)(p), 0, 0, 0)); \ in operator ()() 467 … v_uint8x16 rgb1 = v_reinterpret_as_u8(v_int32x4(*(unaligned_int*)(p + 3), 0, 0, 0)); \ in operator ()() 483 v_uint8x16 rrggbbaa, dummy; \ in operator ()() 485 v_uint8x16 rgba0 = v_reinterpret_as_u8(v_int32x4(*(unaligned_int*)(p), 0, 0, 0)); \ in operator ()() 486 …v_uint8x16 rgba1 = v_reinterpret_as_u8(v_int32x4(*(unaligned_int*)(p + v_int32x4::nlanes), 0, 0, 0… in operator ()() 571 v_uint8x16 result16 = v_pack_u(result8, result8); in operator ()()
|
H A D | box_filter.simd.hpp | 549 for( ; i <= width-v_uint8x16::nlanes; i+=v_uint8x16::nlanes ) in operator ()()
|
H A D | median_blur.simd.hpp | 560 typedef v_uint8x16 arg_type; 561 enum { SIZE = v_uint8x16::nlanes };
|
/dports/devel/cppcheck/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-15939/ |
H A D | hog.cpp | 452 v_uint8x16 it2, it3; in computeGradient()
|