There's no need for these variables to be explicitly unsigned. This also matches the function above.
Showing the changes to test/processing/ProcessUT_DownSample.cpp (1 of 1 file). Show all
Unified · Split
| @@ -207,20 +207,20 @@ TEST (DownSampleTest, func) { \ · 206 unmodified lines | |||
| 207 | } \ | 207 | } \ |
| 208 | ENFORCE_STACK_ALIGN_1D (uint8_t, dst_c, 70000, 16); \ | 208 | ENFORCE_STACK_ALIGN_1D (uint8_t, dst_c, 70000, 16); \ |
| 209 | ENFORCE_STACK_ALIGN_1D (uint8_t, src_c, 70000, 16); \ | 209 | ENFORCE_STACK_ALIGN_1D (uint8_t, src_c, 70000, 16); \ |
| 210 | unsigned int dst_stride_c; \ | 210 | int dst_stride_c; \ |
| 211 | unsigned int dst_width_c; \ | 211 | int dst_width_c; \ |
| 212 | unsigned int dst_height_c; \ | 212 | int dst_height_c; \ |
| 213 | unsigned int src_stride_c; \ | 213 | int src_stride_c; \ |
| 214 | unsigned int src_width_c; \ | 214 | int src_width_c; \ |
| 215 | unsigned int src_height_c; \ | 215 | int src_height_c; \ |
| 216 | ENFORCE_STACK_ALIGN_1D (uint8_t, dst_a, 70000, 16); \ | 216 | ENFORCE_STACK_ALIGN_1D (uint8_t, dst_a, 70000, 16); \ |
| 217 | ENFORCE_STACK_ALIGN_1D (uint8_t, src_a, 70000, 16); \ | 217 | ENFORCE_STACK_ALIGN_1D (uint8_t, src_a, 70000, 16); \ |
| 218 | unsigned int dst_stride_a; \ | 218 | int dst_stride_a; \ |
| 219 | unsigned int dst_width_a; \ | 219 | int dst_width_a; \ |
| 220 | unsigned int dst_height_a; \ | 220 | int dst_height_a; \ |
| 221 | unsigned int src_stride_a; \ | 221 | int src_stride_a; \ |
| 222 | unsigned int src_width_a; \ | 222 | int src_width_a; \ |
| 223 | unsigned int src_height_a; \ | 223 | int src_height_a; \ |
| 224 | dst_stride_c = dst_stride_a = 320; \ | 224 | dst_stride_c = dst_stride_a = 320; \ |
| 225 | src_stride_c = src_stride_a = 320; \ | 225 | src_stride_c = src_stride_a = 320; \ |
| 226 | src_width_c = src_width_a = 320; \ | 226 | src_width_c = src_width_a = 320; \ |