Merge pull request #25815 from FantasqueX:remove-unused-variable-1

Remove unused variables in rgb2hsv_b simd
pull/25826/head
Alexander Smorkalov 5 months ago committed by GitHub
commit 204d62ae12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      modules/imgproc/src/color_hsv.simd.hpp

@ -130,7 +130,7 @@ struct RGB2HSV_b
// sdiv = sdiv_table[v] // sdiv = sdiv_table[v]
v_int32 sdiv0, sdiv1, sdiv2, sdiv3;; v_int32 sdiv0, sdiv1, sdiv2, sdiv3;;
v_uint16 vd0, vd1, vd2; v_uint16 vd0, vd1;
v_expand(v, vd0, vd1); v_expand(v, vd0, vd1);
v_int32 vq0, vq1, vq2, vq3; v_int32 vq0, vq1, vq2, vq3;
v_expand(v_reinterpret_as_s16(vd0), vq0, vq1); v_expand(v_reinterpret_as_s16(vd0), vq0, vq1);
@ -150,7 +150,7 @@ struct RGB2HSV_b
// hdiv = hdiv_table[diff] // hdiv = hdiv_table[diff]
v_int32 hdiv0, hdiv1, hdiv2, hdiv3; v_int32 hdiv0, hdiv1, hdiv2, hdiv3;
v_uint16 diffd0, diffd1, diffd2; v_uint16 diffd0, diffd1;
v_expand(diff, diffd0, diffd1); v_expand(diff, diffd0, diffd1);
v_int32 diffq0, diffq1, diffq2, diffq3; v_int32 diffq0, diffq1, diffq2, diffq3;
v_expand(v_reinterpret_as_s16(diffd0), diffq0, diffq1); v_expand(v_reinterpret_as_s16(diffd0), diffq0, diffq1);

Loading…
Cancel
Save