Task #119513 - fixed.err
back to task #119513download
Error: COMPILER_WARNING (CWE-195):
vmaf-3.0.0/libvmaf/src/feature/x86/motion_avx512.c:25: included_from: Included from here.
vmaf-3.0.0/libvmaf/src/feature/integer_motion.h: scope_hint: In function ‘edge_16’
vmaf-3.0.0/libvmaf/src/feature/integer_motion.h:37:34: warning[-Wsign-compare]: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand
# 37 | int i_tap = horizontal ? i : i - radius + k;
# | ^
# 35| // MIRROR | ЯOЯЯIM
# 36| for (unsigned k = 0; k < filter_width; ++k) {
# 37|-> int i_tap = horizontal ? i : i - radius + k;
# 38| int j_tap = horizontal ? j - radius + k : j;
# 39|
Error: COMPILER_WARNING (CWE-195):
vmaf-3.0.0/libvmaf/src/feature/integer_motion.h:38:51: warning[-Wsign-compare]: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand
# 38 | int j_tap = horizontal ? j - radius + k : j;
# | ^
# 36| for (unsigned k = 0; k < filter_width; ++k) {
# 37| int i_tap = horizontal ? i : i - radius + k;
# 38|-> int j_tap = horizontal ? j - radius + k : j;
# 39|
# 40| if (horizontal) {
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/integer_vif.c:496:13: warning[-Wunused-but-set-variable=]: variable ‘add_shift_round_VP’ set but not used
# 496 | int32_t add_shift_round_VP, shift_VP;
# | ^~~~~~~~~~~~~~~~~~
# 494| VifBuffer buf = s->buf;
# 495| int32_t add_shift_round_HP, shift_HP;
# 496|-> int32_t add_shift_round_VP, shift_VP;
# 497| int32_t add_shift_round_VP_sq, shift_VP_sq;
# 498| const uint16_t *log2_table = s->log2_table;
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/integer_vif.c:496:33: warning[-Wunused-but-set-variable=]: variable ‘shift_VP’ set but not used
# 496 | int32_t add_shift_round_VP, shift_VP;
# | ^~~~~~~~
# 494| VifBuffer buf = s->buf;
# 495| int32_t add_shift_round_HP, shift_HP;
# 496|-> int32_t add_shift_round_VP, shift_VP;
# 497| int32_t add_shift_round_VP_sq, shift_VP_sq;
# 498| const uint16_t *log2_table = s->log2_table;
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/integer_vif.c: scope_hint: In function ‘vif_compute_line_residuals’
vmaf-3.0.0/libvmaf/src/feature/integer_vif.c:497:13: warning[-Wunused-but-set-variable=]: variable ‘add_shift_round_VP_sq’ set but not used
# 497 | int32_t add_shift_round_VP_sq, shift_VP_sq;
# | ^~~~~~~~~~~~~~~~~~~~~
# 495| int32_t add_shift_round_HP, shift_HP;
# 496| int32_t add_shift_round_VP, shift_VP;
# 497|-> int32_t add_shift_round_VP_sq, shift_VP_sq;
# 498| const uint16_t *log2_table = s->log2_table;
# 499| double vif_enhn_gain_limit = s->vif_enhn_gain_limit;
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:39:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 37| int32_t accum;
# 38|
# 39|-> __m256i dwt2_db2_coeffs_lo_sum_const = _mm256_set1_epi32(5931776);
# 40| __m256i fl0 =
# 41| _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)filter_lo));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:39:44: note[note]: called from here
# 37| int32_t accum;
# 38|
# 39|-> __m256i dwt2_db2_coeffs_lo_sum_const = _mm256_set1_epi32(5931776);
# 40| __m256i fl0 =
# 41| _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)filter_lo));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:41:9: note[note]: called from here
# 39| __m256i dwt2_db2_coeffs_lo_sum_const = _mm256_set1_epi32(5931776);
# 40| __m256i fl0 =
# 41|-> _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)filter_lo));
# 42| __m256i fl1 =
# 43| _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)(filter_lo + 2)));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:43:9: note[note]: called from here
# 41| _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)filter_lo));
# 42| __m256i fl1 =
# 43|-> _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)(filter_lo + 2)));
# 44| __m256i fh0 =
# 45| _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)filter_hi));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:45:9: note[note]: called from here
# 43| _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)(filter_lo + 2)));
# 44| __m256i fh0 =
# 45|-> _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)filter_hi));
# 46| __m256i fh1 =
# 47| _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)(filter_hi + 2)));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:47:9: note[note]: called from here
# 45| _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)filter_hi));
# 46| __m256i fh1 =
# 47|-> _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)(filter_hi + 2)));
# 48| __m256i add_shift_VP_vex = _mm256_set1_epi32(128);
# 49| __m256i pad_register = _mm256_setzero_si256();
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:48:32: note[note]: called from here
# 46| __m256i fh1 =
# 47| _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)(filter_hi + 2)));
# 48|-> __m256i add_shift_VP_vex = _mm256_set1_epi32(128);
# 49| __m256i pad_register = _mm256_setzero_si256();
# 50| __m256i add_shift_HP_vex = _mm256_set1_epi32(32768);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:49:28: note[note]: called from here
# 47| _mm256_broadcastd_epi32(_mm_loadu_si128((__m128i *)(filter_hi + 2)));
# 48| __m256i add_shift_VP_vex = _mm256_set1_epi32(128);
# 49|-> __m256i pad_register = _mm256_setzero_si256();
# 50| __m256i add_shift_HP_vex = _mm256_set1_epi32(32768);
# 51|
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:50:32: note[note]: called from here
# 48| __m256i add_shift_VP_vex = _mm256_set1_epi32(128);
# 49| __m256i pad_register = _mm256_setzero_si256();
# 50|-> __m256i add_shift_HP_vex = _mm256_set1_epi32(32768);
# 51|
# 52| for (int i = 0; i < (h + 1) / 2; ++i) {
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:59:17: note[note]: called from here
# 57| __m256i accum_mu2_lo, accum_mu2_hi, accum_mu1_lo, accum_mu1_hi;
# 58| accum_mu2_lo = accum_mu2_hi = accum_mu1_lo = accum_mu1_hi =
# 59|-> _mm256_setzero_si256();
# 60| __m256i s0, s1, s2, s3;
# 61|
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:62:18: note[note]: called from here
# 60| __m256i s0, s1, s2, s3;
# 61|
# 62|-> s0 = _mm256_cvtepu8_epi16(_mm_loadu_si128(
# 63| (__m128i *)(src + (ind_y[0][i] * src_stride) + j)));
# 64| s1 = _mm256_cvtepu8_epi16(_mm_loadu_si128(
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:64:18: note[note]: called from here
# 62| s0 = _mm256_cvtepu8_epi16(_mm_loadu_si128(
# 63| (__m128i *)(src + (ind_y[0][i] * src_stride) + j)));
# 64|-> s1 = _mm256_cvtepu8_epi16(_mm_loadu_si128(
# 65| (__m128i *)(src + (ind_y[1][i] * src_stride) + j)));
# 66| s2 = _mm256_cvtepu8_epi16(_mm_loadu_si128(
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:66:18: note[note]: called from here
# 64| s1 = _mm256_cvtepu8_epi16(_mm_loadu_si128(
# 65| (__m128i *)(src + (ind_y[1][i] * src_stride) + j)));
# 66|-> s2 = _mm256_cvtepu8_epi16(_mm_loadu_si128(
# 67| (__m128i *)(src + (ind_y[2][i] * src_stride) + j)));
# 68| s3 = _mm256_cvtepu8_epi16(_mm_loadu_si128(
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:68:18: note[note]: called from here
# 66| s2 = _mm256_cvtepu8_epi16(_mm_loadu_si128(
# 67| (__m128i *)(src + (ind_y[2][i] * src_stride) + j)));
# 68|-> s3 = _mm256_cvtepu8_epi16(_mm_loadu_si128(
# 69| (__m128i *)(src + (ind_y[3][i] * src_stride) + j)));
# 70|
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:71:28: note[note]: called from here
# 69| (__m128i *)(src + (ind_y[3][i] * src_stride) + j)));
# 70|
# 71|-> __m256i s0lo = _mm256_unpacklo_epi16(s0, s1);
# 72| __m256i s0hi = _mm256_unpackhi_epi16(s0, s1);
# 73| accum_mu2_lo =
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:72:28: note[note]: called from here
# 70|
# 71| __m256i s0lo = _mm256_unpacklo_epi16(s0, s1);
# 72|-> __m256i s0hi = _mm256_unpackhi_epi16(s0, s1);
# 73| accum_mu2_lo =
# 74| _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s0lo, fl0));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:74:17: note[note]: called from here
# 72| __m256i s0hi = _mm256_unpackhi_epi16(s0, s1);
# 73| accum_mu2_lo =
# 74|-> _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s0lo, fl0));
# 75| accum_mu2_hi =
# 76| _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s0hi, fl0));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:76:17: note[note]: called from here
# 74| _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s0lo, fl0));
# 75| accum_mu2_hi =
# 76|-> _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s0hi, fl0));
# 77|
# 78| __m256i s1lo = _mm256_unpacklo_epi16(s2, s3);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:78:28: note[note]: called from here
# 76| _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s0hi, fl0));
# 77|
# 78|-> __m256i s1lo = _mm256_unpacklo_epi16(s2, s3);
# 79| __m256i s1hi = _mm256_unpackhi_epi16(s2, s3);
# 80| accum_mu2_lo =
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:79:28: note[note]: called from here
# 77|
# 78| __m256i s1lo = _mm256_unpacklo_epi16(s2, s3);
# 79|-> __m256i s1hi = _mm256_unpackhi_epi16(s2, s3);
# 80| accum_mu2_lo =
# 81| _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s1lo, fl1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:81:17: note[note]: called from here
# 79| __m256i s1hi = _mm256_unpackhi_epi16(s2, s3);
# 80| accum_mu2_lo =
# 81|-> _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s1lo, fl1));
# 82| accum_mu2_hi =
# 83| _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s1hi, fl1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:83:17: note[note]: called from here
# 81| _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s1lo, fl1));
# 82| accum_mu2_hi =
# 83|-> _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s1hi, fl1));
# 84|
# 85| accum_mu2_lo =
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:86:17: note[note]: called from here
# 84|
# 85| accum_mu2_lo =
# 86|-> _mm256_sub_epi32(accum_mu2_lo, dwt2_db2_coeffs_lo_sum_const);
# 87| accum_mu2_hi =
# 88| _mm256_sub_epi32(accum_mu2_hi, dwt2_db2_coeffs_lo_sum_const);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:88:17: note[note]: called from here
# 86| _mm256_sub_epi32(accum_mu2_lo, dwt2_db2_coeffs_lo_sum_const);
# 87| accum_mu2_hi =
# 88|-> _mm256_sub_epi32(accum_mu2_hi, dwt2_db2_coeffs_lo_sum_const);
# 89|
# 90| accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_VP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:90:28: note[note]: called from here
# 88| _mm256_sub_epi32(accum_mu2_hi, dwt2_db2_coeffs_lo_sum_const);
# 89|
# 90|-> accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_VP_vex);
# 91| accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x08);
# 92| accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_VP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:91:28: note[note]: called from here
# 89|
# 90| accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_VP_vex);
# 91|-> accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x08);
# 92| accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_VP_vex);
# 93| accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x08);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:92:28: note[note]: called from here
# 90| accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_VP_vex);
# 91| accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x08);
# 92|-> accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_VP_vex);
# 93| accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x08);
# 94| accum_mu2_lo = _mm256_blend_epi16(accum_mu2_lo, pad_register, 0xAA);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:93:28: note[note]: called from here
# 91| accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x08);
# 92| accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_VP_vex);
# 93|-> accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x08);
# 94| accum_mu2_lo = _mm256_blend_epi16(accum_mu2_lo, pad_register, 0xAA);
# 95| accum_mu2_hi = _mm256_blend_epi16(accum_mu2_hi, pad_register, 0xAA);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:94:28: note[note]: called from here
# 92| accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_VP_vex);
# 93| accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x08);
# 94|-> accum_mu2_lo = _mm256_blend_epi16(accum_mu2_lo, pad_register, 0xAA);
# 95| accum_mu2_hi = _mm256_blend_epi16(accum_mu2_hi, pad_register, 0xAA);
# 96|
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:95:28: note[note]: called from here
# 93| accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x08);
# 94| accum_mu2_lo = _mm256_blend_epi16(accum_mu2_lo, pad_register, 0xAA);
# 95|-> accum_mu2_hi = _mm256_blend_epi16(accum_mu2_hi, pad_register, 0xAA);
# 96|
# 97| accum_mu2_hi = _mm256_packus_epi32(accum_mu2_lo, accum_mu2_hi);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:97:28: note[note]: called from here
# 95| accum_mu2_hi = _mm256_blend_epi16(accum_mu2_hi, pad_register, 0xAA);
# 96|
# 97|-> accum_mu2_hi = _mm256_packus_epi32(accum_mu2_lo, accum_mu2_hi);
# 98| _mm256_storeu_si256((__m256i *)(tmplo + j), accum_mu2_hi);
# 99|
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:98:13: note[note]: called from here
# 96|
# 97| accum_mu2_hi = _mm256_packus_epi32(accum_mu2_lo, accum_mu2_hi);
# 98|-> _mm256_storeu_si256((__m256i *)(tmplo + j), accum_mu2_hi);
# 99|
# 100| accum_mu1_lo =
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:101:17: note[note]: called from here
# 99|
# 100| accum_mu1_lo =
# 101|-> _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s0lo, fh0));
# 102| accum_mu1_hi =
# 103| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s0hi, fh0));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:103:17: note[note]: called from here
# 101| _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s0lo, fh0));
# 102| accum_mu1_hi =
# 103|-> _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s0hi, fh0));
# 104| accum_mu1_lo =
# 105| _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s1lo, fh1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:105:17: note[note]: called from here
# 103| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s0hi, fh0));
# 104| accum_mu1_lo =
# 105|-> _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s1lo, fh1));
# 106| accum_mu1_hi =
# 107| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s1hi, fh1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:107:17: note[note]: called from here
# 105| _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s1lo, fh1));
# 106| accum_mu1_hi =
# 107|-> _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s1hi, fh1));
# 108|
# 109| accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_VP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:109:28: note[note]: called from here
# 107| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s1hi, fh1));
# 108|
# 109|-> accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_VP_vex);
# 110| accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x08);
# 111| accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_VP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:110:28: note[note]: called from here
# 108|
# 109| accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_VP_vex);
# 110|-> accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x08);
# 111| accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_VP_vex);
# 112| accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x08);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:111:28: note[note]: called from here
# 109| accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_VP_vex);
# 110| accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x08);
# 111|-> accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_VP_vex);
# 112| accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x08);
# 113| accum_mu1_lo = _mm256_blend_epi16(accum_mu1_lo, pad_register, 0xAA);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:112:28: note[note]: called from here
# 110| accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x08);
# 111| accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_VP_vex);
# 112|-> accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x08);
# 113| accum_mu1_lo = _mm256_blend_epi16(accum_mu1_lo, pad_register, 0xAA);
# 114| accum_mu1_hi = _mm256_blend_epi16(accum_mu1_hi, pad_register, 0xAA);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:113:28: note[note]: called from here
# 111| accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_VP_vex);
# 112| accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x08);
# 113|-> accum_mu1_lo = _mm256_blend_epi16(accum_mu1_lo, pad_register, 0xAA);
# 114| accum_mu1_hi = _mm256_blend_epi16(accum_mu1_hi, pad_register, 0xAA);
# 115| accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:114:28: note[note]: called from here
# 112| accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x08);
# 113| accum_mu1_lo = _mm256_blend_epi16(accum_mu1_lo, pad_register, 0xAA);
# 114|-> accum_mu1_hi = _mm256_blend_epi16(accum_mu1_hi, pad_register, 0xAA);
# 115| accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
# 116| _mm256_storeu_si256((__m256i *)(tmphi + j), accum_mu1_hi);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:115:28: note[note]: called from here
# 113| accum_mu1_lo = _mm256_blend_epi16(accum_mu1_lo, pad_register, 0xAA);
# 114| accum_mu1_hi = _mm256_blend_epi16(accum_mu1_hi, pad_register, 0xAA);
# 115|-> accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
# 116| _mm256_storeu_si256((__m256i *)(tmphi + j), accum_mu1_hi);
# 117| // for( int k =0; k<16;k++){
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:116:13: note[note]: called from here
# 114| accum_mu1_hi = _mm256_blend_epi16(accum_mu1_hi, pad_register, 0xAA);
# 115| accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
# 116|-> _mm256_storeu_si256((__m256i *)(tmphi + j), accum_mu1_hi);
# 117| // for( int k =0; k<16;k++){
# 118| // fprintf(stderr, "actual value hi tmp is %d \n",tmphi[j +k]);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:169:21: note[note]: called from here
# 167| __m256i accum_mu2_lo, accum_mu2_hi, accum_mu1_lo, accum_mu1_hi;
# 168| accum_mu2_lo = accum_mu2_hi = accum_mu1_lo = accum_mu1_hi =
# 169|-> _mm256_setzero_si256();
# 170|
# 171| __m256i s00, s22, s33, s44;
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:173:23: note[note]: called from here
# 171| __m256i s00, s22, s33, s44;
# 172|
# 173|-> s00 = _mm256_loadu_si256((__m256i *)(tmplo + ind_x[0][j]));
# 174| s22 = _mm256_loadu_si256((__m256i *)(tmplo + ind_x[2][j]));
# 175| s33 = _mm256_loadu_si256((__m256i *)(tmplo + 16 + ind_x[0][j]));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:174:23: note[note]: called from here
# 172|
# 173| s00 = _mm256_loadu_si256((__m256i *)(tmplo + ind_x[0][j]));
# 174|-> s22 = _mm256_loadu_si256((__m256i *)(tmplo + ind_x[2][j]));
# 175| s33 = _mm256_loadu_si256((__m256i *)(tmplo + 16 + ind_x[0][j]));
# 176| s44 = _mm256_loadu_si256((__m256i *)(tmplo + 16 + ind_x[2][j]));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:175:23: note[note]: called from here
# 173| s00 = _mm256_loadu_si256((__m256i *)(tmplo + ind_x[0][j]));
# 174| s22 = _mm256_loadu_si256((__m256i *)(tmplo + ind_x[2][j]));
# 175|-> s33 = _mm256_loadu_si256((__m256i *)(tmplo + 16 + ind_x[0][j]));
# 176| s44 = _mm256_loadu_si256((__m256i *)(tmplo + 16 + ind_x[2][j]));
# 177|
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:176:23: note[note]: called from here
# 174| s22 = _mm256_loadu_si256((__m256i *)(tmplo + ind_x[2][j]));
# 175| s33 = _mm256_loadu_si256((__m256i *)(tmplo + 16 + ind_x[0][j]));
# 176|-> s44 = _mm256_loadu_si256((__m256i *)(tmplo + 16 + ind_x[2][j]));
# 177|
# 178| accum_mu2_lo =
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:179:21: note[note]: called from here
# 177|
# 178| accum_mu2_lo =
# 179|-> _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s00, fl0));
# 180| accum_mu2_hi =
# 181| _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s33, fl0));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:181:21: note[note]: called from here
# 179| _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s00, fl0));
# 180| accum_mu2_hi =
# 181|-> _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s33, fl0));
# 182| accum_mu2_lo =
# 183| _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s22, fl1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:183:21: note[note]: called from here
# 181| _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s33, fl0));
# 182| accum_mu2_lo =
# 183|-> _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s22, fl1));
# 184| accum_mu2_hi =
# 185| _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s44, fl1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:185:21: note[note]: called from here
# 183| _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s22, fl1));
# 184| accum_mu2_hi =
# 185|-> _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s44, fl1));
# 186|
# 187| accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_HP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:187:32: note[note]: called from here
# 185| _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s44, fl1));
# 186|
# 187|-> accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_HP_vex);
# 188| accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x10);
# 189| accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_HP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:188:32: note[note]: called from here
# 186|
# 187| accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_HP_vex);
# 188|-> accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x10);
# 189| accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_HP_vex);
# 190| accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x10);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:189:32: note[note]: called from here
# 187| accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_HP_vex);
# 188| accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x10);
# 189|-> accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_HP_vex);
# 190| accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x10);
# 191|
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:190:32: note[note]: called from here
# 188| accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x10);
# 189| accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_HP_vex);
# 190|-> accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x10);
# 191|
# 192| accum_mu2_hi = _mm256_packus_epi32(accum_mu2_lo, accum_mu2_hi);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:192:32: note[note]: called from here
# 190| accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x10);
# 191|
# 192|-> accum_mu2_hi = _mm256_packus_epi32(accum_mu2_lo, accum_mu2_hi);
# 193| accum_mu2_hi = _mm256_permute4x64_epi64(accum_mu2_hi, 0xD8);
# 194| _mm256_storeu_si256(
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:193:32: note[note]: called from here
# 191|
# 192| accum_mu2_hi = _mm256_packus_epi32(accum_mu2_lo, accum_mu2_hi);
# 193|-> accum_mu2_hi = _mm256_permute4x64_epi64(accum_mu2_hi, 0xD8);
# 194| _mm256_storeu_si256(
# 195| (__m256i *)(dst->band_a + i * dst_stride + j),
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:194:17: note[note]: called from here
# 192| accum_mu2_hi = _mm256_packus_epi32(accum_mu2_lo, accum_mu2_hi);
# 193| accum_mu2_hi = _mm256_permute4x64_epi64(accum_mu2_hi, 0xD8);
# 194|-> _mm256_storeu_si256(
# 195| (__m256i *)(dst->band_a + i * dst_stride + j),
# 196| accum_mu2_hi);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:199:21: note[note]: called from here
# 197|
# 198| accum_mu1_lo =
# 199|-> _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s00, fh0));
# 200| accum_mu1_hi =
# 201| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s33, fh0));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:201:21: note[note]: called from here
# 199| _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s00, fh0));
# 200| accum_mu1_hi =
# 201|-> _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s33, fh0));
# 202| accum_mu1_lo =
# 203| _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s22, fh1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:203:21: note[note]: called from here
# 201| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s33, fh0));
# 202| accum_mu1_lo =
# 203|-> _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s22, fh1));
# 204| accum_mu1_hi =
# 205| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s44, fh1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:205:21: note[note]: called from here
# 203| _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s22, fh1));
# 204| accum_mu1_hi =
# 205|-> _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s44, fh1));
# 206|
# 207| accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_HP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:207:32: note[note]: called from here
# 205| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s44, fh1));
# 206|
# 207|-> accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_HP_vex);
# 208| accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x10);
# 209| accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_HP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:208:32: note[note]: called from here
# 206|
# 207| accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_HP_vex);
# 208|-> accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x10);
# 209| accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_HP_vex);
# 210| accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x10);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:209:32: note[note]: called from here
# 207| accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_HP_vex);
# 208| accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x10);
# 209|-> accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_HP_vex);
# 210| accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x10);
# 211|
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:210:32: note[note]: called from here
# 208| accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x10);
# 209| accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_HP_vex);
# 210|-> accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x10);
# 211|
# 212| accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:212:32: note[note]: called from here
# 210| accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x10);
# 211|
# 212|-> accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
# 213| accum_mu1_hi = _mm256_permute4x64_epi64(accum_mu1_hi, 0xD8);
# 214| _mm256_storeu_si256(
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:213:32: note[note]: called from here
# 211|
# 212| accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
# 213|-> accum_mu1_hi = _mm256_permute4x64_epi64(accum_mu1_hi, 0xD8);
# 214| _mm256_storeu_si256(
# 215| (__m256i *)(dst->band_v + i * dst_stride + j),
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:214:17: note[note]: called from here
# 212| accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
# 213| accum_mu1_hi = _mm256_permute4x64_epi64(accum_mu1_hi, 0xD8);
# 214|-> _mm256_storeu_si256(
# 215| (__m256i *)(dst->band_v + i * dst_stride + j),
# 216| accum_mu1_hi);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:222:21: note[note]: called from here
# 220| __m256i accum_mu2_lo, accum_mu2_hi, accum_mu1_lo, accum_mu1_hi;
# 221| accum_mu2_lo = accum_mu2_hi = accum_mu1_lo = accum_mu1_hi =
# 222|-> _mm256_setzero_si256();
# 223|
# 224| __m256i s00, s22, s33, s44;
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:226:44: note[note]: called from here
# 224| __m256i s00, s22, s33, s44;
# 225|
# 226|-> __m256i add_shift_HP_vex = _mm256_set1_epi32(32768);
# 227|
# 228| s00 = _mm256_loadu_si256((__m256i *)(tmphi + ind_x[0][j]));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:228:23: note[note]: called from here
# 226| __m256i add_shift_HP_vex = _mm256_set1_epi32(32768);
# 227|
# 228|-> s00 = _mm256_loadu_si256((__m256i *)(tmphi + ind_x[0][j]));
# 229| s22 = _mm256_loadu_si256((__m256i *)(tmphi + ind_x[2][j]));
# 230| s33 = _mm256_loadu_si256((__m256i *)(tmphi + 16 + ind_x[0][j]));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:229:23: note[note]: called from here
# 227|
# 228| s00 = _mm256_loadu_si256((__m256i *)(tmphi + ind_x[0][j]));
# 229|-> s22 = _mm256_loadu_si256((__m256i *)(tmphi + ind_x[2][j]));
# 230| s33 = _mm256_loadu_si256((__m256i *)(tmphi + 16 + ind_x[0][j]));
# 231| s44 = _mm256_loadu_si256((__m256i *)(tmphi + 16 + ind_x[2][j]));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:230:23: note[note]: called from here
# 228| s00 = _mm256_loadu_si256((__m256i *)(tmphi + ind_x[0][j]));
# 229| s22 = _mm256_loadu_si256((__m256i *)(tmphi + ind_x[2][j]));
# 230|-> s33 = _mm256_loadu_si256((__m256i *)(tmphi + 16 + ind_x[0][j]));
# 231| s44 = _mm256_loadu_si256((__m256i *)(tmphi + 16 + ind_x[2][j]));
# 232|
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:231:23: note[note]: called from here
# 229| s22 = _mm256_loadu_si256((__m256i *)(tmphi + ind_x[2][j]));
# 230| s33 = _mm256_loadu_si256((__m256i *)(tmphi + 16 + ind_x[0][j]));
# 231|-> s44 = _mm256_loadu_si256((__m256i *)(tmphi + 16 + ind_x[2][j]));
# 232|
# 233| accum_mu2_lo =
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:234:21: note[note]: called from here
# 232|
# 233| accum_mu2_lo =
# 234|-> _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s00, fl0));
# 235| accum_mu2_hi =
# 236| _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s33, fl0));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:236:21: note[note]: called from here
# 234| _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s00, fl0));
# 235| accum_mu2_hi =
# 236|-> _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s33, fl0));
# 237| accum_mu2_lo =
# 238| _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s22, fl1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:238:21: note[note]: called from here
# 236| _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s33, fl0));
# 237| accum_mu2_lo =
# 238|-> _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s22, fl1));
# 239| accum_mu2_hi =
# 240| _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s44, fl1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:240:21: note[note]: called from here
# 238| _mm256_add_epi32(accum_mu2_lo, _mm256_madd_epi16(s22, fl1));
# 239| accum_mu2_hi =
# 240|-> _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s44, fl1));
# 241|
# 242| accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_HP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:242:32: note[note]: called from here
# 240| _mm256_add_epi32(accum_mu2_hi, _mm256_madd_epi16(s44, fl1));
# 241|
# 242|-> accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_HP_vex);
# 243| accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x10);
# 244| accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_HP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:243:32: note[note]: called from here
# 241|
# 242| accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_HP_vex);
# 243|-> accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x10);
# 244| accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_HP_vex);
# 245| accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x10);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:244:32: note[note]: called from here
# 242| accum_mu2_lo = _mm256_add_epi32(accum_mu2_lo, add_shift_HP_vex);
# 243| accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x10);
# 244|-> accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_HP_vex);
# 245| accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x10);
# 246|
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:245:32: note[note]: called from here
# 243| accum_mu2_lo = _mm256_srli_epi32(accum_mu2_lo, 0x10);
# 244| accum_mu2_hi = _mm256_add_epi32(accum_mu2_hi, add_shift_HP_vex);
# 245|-> accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x10);
# 246|
# 247| accum_mu2_hi = _mm256_packus_epi32(accum_mu2_lo, accum_mu2_hi);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:247:32: note[note]: called from here
# 245| accum_mu2_hi = _mm256_srli_epi32(accum_mu2_hi, 0x10);
# 246|
# 247|-> accum_mu2_hi = _mm256_packus_epi32(accum_mu2_lo, accum_mu2_hi);
# 248| accum_mu2_hi = _mm256_permute4x64_epi64(accum_mu2_hi, 0xD8);
# 249| _mm256_storeu_si256(
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:248:32: note[note]: called from here
# 246|
# 247| accum_mu2_hi = _mm256_packus_epi32(accum_mu2_lo, accum_mu2_hi);
# 248|-> accum_mu2_hi = _mm256_permute4x64_epi64(accum_mu2_hi, 0xD8);
# 249| _mm256_storeu_si256(
# 250| (__m256i *)(dst->band_h + i * dst_stride + j),
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:249:17: note[note]: called from here
# 247| accum_mu2_hi = _mm256_packus_epi32(accum_mu2_lo, accum_mu2_hi);
# 248| accum_mu2_hi = _mm256_permute4x64_epi64(accum_mu2_hi, 0xD8);
# 249|-> _mm256_storeu_si256(
# 250| (__m256i *)(dst->band_h + i * dst_stride + j),
# 251| accum_mu2_hi);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:254:21: note[note]: called from here
# 252|
# 253| accum_mu1_lo =
# 254|-> _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s00, fh0));
# 255| accum_mu1_hi =
# 256| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s33, fh0));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:256:21: note[note]: called from here
# 254| _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s00, fh0));
# 255| accum_mu1_hi =
# 256|-> _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s33, fh0));
# 257| accum_mu1_lo =
# 258| _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s22, fh1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:258:21: note[note]: called from here
# 256| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s33, fh0));
# 257| accum_mu1_lo =
# 258|-> _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s22, fh1));
# 259| accum_mu1_hi =
# 260| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s44, fh1));
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:260:21: note[note]: called from here
# 258| _mm256_add_epi32(accum_mu1_lo, _mm256_madd_epi16(s22, fh1));
# 259| accum_mu1_hi =
# 260|-> _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s44, fh1));
# 261|
# 262| accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_HP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:262:32: note[note]: called from here
# 260| _mm256_add_epi32(accum_mu1_hi, _mm256_madd_epi16(s44, fh1));
# 261|
# 262|-> accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_HP_vex);
# 263| accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x10);
# 264| accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_HP_vex);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:263:32: note[note]: called from here
# 261|
# 262| accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_HP_vex);
# 263|-> accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x10);
# 264| accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_HP_vex);
# 265| accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x10);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:264:32: note[note]: called from here
# 262| accum_mu1_lo = _mm256_add_epi32(accum_mu1_lo, add_shift_HP_vex);
# 263| accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x10);
# 264|-> accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_HP_vex);
# 265| accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x10);
# 266|
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:265:32: note[note]: called from here
# 263| accum_mu1_lo = _mm256_srli_epi32(accum_mu1_lo, 0x10);
# 264| accum_mu1_hi = _mm256_add_epi32(accum_mu1_hi, add_shift_HP_vex);
# 265|-> accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x10);
# 266|
# 267| accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:267:32: note[note]: called from here
# 265| accum_mu1_hi = _mm256_srli_epi32(accum_mu1_hi, 0x10);
# 266|
# 267|-> accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
# 268| accum_mu1_hi = _mm256_permute4x64_epi64(accum_mu1_hi, 0xD8);
# 269| _mm256_storeu_si256(
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:268:32: note[note]: called from here
# 266|
# 267| accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
# 268|-> accum_mu1_hi = _mm256_permute4x64_epi64(accum_mu1_hi, 0xD8);
# 269| _mm256_storeu_si256(
# 270| (__m256i *)(dst->band_d + i * dst_stride + j),
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/adm_avx2.c:269:17: note[note]: called from here
# 267| accum_mu1_hi = _mm256_packus_epi32(accum_mu1_lo, accum_mu1_hi);
# 268| accum_mu1_hi = _mm256_permute4x64_epi64(accum_mu1_hi, 0xD8);
# 269|-> _mm256_storeu_si256(
# 270| (__m256i *)(dst->band_d + i * dst_stride + j),
# 271| accum_mu1_hi);
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/motion_avx512.c: scope_hint: In function ‘x_convolution_16_avx512’
vmaf-3.0.0/libvmaf/src/feature/x86/motion_avx512.c:39:15: warning[-Wunused-variable]: unused variable ‘tmpdst’
# 39 | uint16_t *tmpdst = dst;
# | ^~~~~~
# 37| const unsigned shift_add_round = 32768;
# 38| const unsigned vector_loop = width < 32 ? 0 : (width>>5) -1;
# 39|-> uint16_t *tmpdst = dst;
# 40| uint16_t *src_p = (uint16_t*) src + (left_edge - radius);
# 41| unsigned nr = left_edge + 32 *vector_loop;
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx2.c:556:13: warning[-Wunused-but-set-variable=]: variable ‘add_shift_round_HP’ set but not used
# 556 | int32_t add_shift_round_HP, shift_HP;
# | ^~~~~~~~~~~~~~~~~~
# 554| int fwidth_half = fwidth >> 1;
# 555|
# 556|-> int32_t add_shift_round_HP, shift_HP;
# 557| int32_t add_shift_round_VP, shift_VP;
# 558| int32_t add_shift_round_VP_sq, shift_VP_sq;
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx2.c: scope_hint: In function ‘vif_statistic_16_avx2’
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx2.c:556:33: warning[-Wunused-but-set-variable=]: variable ‘shift_HP’ set but not used
# 556 | int32_t add_shift_round_HP, shift_HP;
# | ^~~~~~~~
# 554| int fwidth_half = fwidth >> 1;
# 555|
# 556|-> int32_t add_shift_round_HP, shift_HP;
# 557| int32_t add_shift_round_VP, shift_VP;
# 558| int32_t add_shift_round_VP_sq, shift_VP_sq;
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:148:20: warning[-Wunused-variable]: unused variable ‘ref’
# 148 | const uint8_t *ref = (uint8_t*)buf.ref;
# | ^~~
# 146| const uint16_t *vif_filt = vif_filter1d_table[0];
# 147| VifBuffer buf = s->buf;
# 148|-> const uint8_t *ref = (uint8_t*)buf.ref;
# 149| const uint8_t *dis = (uint8_t*)buf.dis;
# 150| const unsigned fwidth_half = fwidth >> 1;
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:149:20: warning[-Wunused-variable]: unused variable ‘dis’
# 149 | const uint8_t *dis = (uint8_t*)buf.dis;
# | ^~~
# 147| VifBuffer buf = s->buf;
# 148| const uint8_t *ref = (uint8_t*)buf.ref;
# 149|-> const uint8_t *dis = (uint8_t*)buf.dis;
# 150| const unsigned fwidth_half = fwidth >> 1;
# 151| const uint16_t *log2_table = s->log2_table;
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:163:26: warning[-Wunused-variable]: unused variable ‘sigma_nsq’
# 163 | static const int32_t sigma_nsq = 65536 << 1;
# | ^~~~~~~~~
# 161|
# 162| //float equivalent of 2. (2 * 65536)
# 163|-> static const int32_t sigma_nsq = 65536 << 1;
# 164|
# 165| int64_t accum_num_log = 0;
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:187:28: warning[-Wunused-variable]: unused variable ‘ref’
# 187 | const uint8_t *ref = (uint8_t*)buf.ref;
# | ^~~
# 185| unsigned n = w >> 4;
# 186| for (unsigned jj = 0; jj < n << 4; jj += 16) {
# 187|-> const uint8_t *ref = (uint8_t*)buf.ref;
# 188| const uint8_t *dis = (uint8_t*)buf.dis;
# 189|
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:188:28: warning[-Wunused-variable]: unused variable ‘dis’
# 188 | const uint8_t *dis = (uint8_t*)buf.dis;
# | ^~~
# 186| for (unsigned jj = 0; jj < n << 4; jj += 16) {
# 187| const uint8_t *ref = (uint8_t*)buf.ref;
# 188|-> const uint8_t *dis = (uint8_t*)buf.dis;
# 189|
# 190| __m512i f0 = _mm512_set1_epi32(vif_filt[fwidth / 2]);
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:204:32: warning[-Wunused-variable]: unused variable ‘ref’
# 204 | const uint8_t *ref = (uint8_t*)buf.ref;
# | ^~~
# 202| int ii_back = i_back + tap;
# 203| int ii_forward = i_forward - tap;
# 204|-> const uint8_t *ref = (uint8_t*)buf.ref;
# 205| const uint8_t *dis = (uint8_t*)buf.dis;
# 206|
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c: scope_hint: In function ‘vif_statistic_8_avx512’
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:205:32: warning[-Wunused-variable]: unused variable ‘dis’
# 205 | const uint8_t *dis = (uint8_t*)buf.dis;
# | ^~~
# 203| int ii_forward = i_forward - tap;
# 204| const uint8_t *ref = (uint8_t*)buf.ref;
# 205|-> const uint8_t *dis = (uint8_t*)buf.dis;
# 206|
# 207| __m512i f0 = _mm512_set1_epi32(vif_filt[tap]);
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:265:25: warning[-Wunused-variable]: unused variable ‘dst_stride’
# 265 | const ptrdiff_t dst_stride = buf.stride_32 / sizeof(uint32_t);
# | ^~~~~~~~~~
# 263|
# 264| //HORIZONTAL
# 265|-> const ptrdiff_t dst_stride = buf.stride_32 / sizeof(uint32_t);
# 266| for (unsigned j = 0; j < n << 4; j += 16) {
# 267| __m512i mu1sq;
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:318:30: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 316| __m512i rounder = _mm512_set1_epi64(0x8000);
# 317| __m512i fq = _mm512_set1_epi64(vif_filt[fwidth / 2]);
# 318|-> __m512i s0 = _mm512_cvtepu32_epi64(_mm256_loadu_si256((__m256i*)(buf.tmp.ref + j + 0))); // 4
# 319| __m512i s2 = _mm512_cvtepu32_epi64(_mm256_loadu_si256((__m256i*)(buf.tmp.ref + j + 8))); // 4
# 320| __m512i refsq_lo = _mm512_add_epi64(rounder, _mm512_mul_epu32(s0, fq));
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:401:21: warning[-Wunused-variable]: unused variable ‘dst_stride’
# 401 | const ptrdiff_t dst_stride = buf.stride_32 / sizeof(uint32_t);
# | ^~~~~~~~~~
# 399| const uint16_t *vif_filt = vif_filter1d_table[scale];
# 400| VifBuffer buf = s->buf;
# 401|-> const ptrdiff_t dst_stride = buf.stride_32 / sizeof(uint32_t);
# 402| const ptrdiff_t stride = buf.stride / sizeof(uint16_t);
# 403| int fwidth_half = fwidth >> 1;
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:405:13: warning[-Wunused-but-set-variable=]: variable ‘add_shift_round_HP’ set but not used
# 405 | int32_t add_shift_round_HP, shift_HP;
# | ^~~~~~~~~~~~~~~~~~
# 403| int fwidth_half = fwidth >> 1;
# 404|
# 405|-> int32_t add_shift_round_HP, shift_HP;
# 406| int32_t add_shift_round_VP, shift_VP;
# 407| int32_t add_shift_round_VP_sq, shift_VP_sq;
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:405:33: warning[-Wunused-but-set-variable=]: variable ‘shift_HP’ set but not used
# 405 | int32_t add_shift_round_HP, shift_HP;
# | ^~~~~~~~
# 403| int fwidth_half = fwidth >> 1;
# 404|
# 405|-> int32_t add_shift_round_HP, shift_HP;
# 406| int32_t add_shift_round_VP, shift_VP;
# 407| int32_t add_shift_round_VP_sq, shift_VP_sq;
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:413:26: warning[-Wunused-variable]: unused variable ‘sigma_nsq’
# 413 | static const int32_t sigma_nsq = 65536 << 1;
# | ^~~~~~~~~
# 411|
# 412| //float equivalent of 2. (2 * 65536)
# 413|-> static const int32_t sigma_nsq = 65536 << 1;
# 414|
# 415| Residuals512 residuals;
Error: COMPILER_WARNING (CWE-195):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c: scope_hint: In function ‘vif_statistic_16_avx512’
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:454:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’
# 454 | for (unsigned j = 0; j < n << 5; j = j + 32)
# | ^
# 452| int ii = i - fwidth_half;
# 453| int n = w >> 5;
# 454|-> for (unsigned j = 0; j < n << 5; j = j + 32)
# 455| {
# 456|
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:470:32: warning[-Wunused-variable]: unused variable ‘fcoeff’
# 470 | const uint16_t fcoeff = vif_filt[fi];
# | ^~~~~~
# 468| {
# 469|
# 470|-> const uint16_t fcoeff = vif_filt[fi];
# 471| __m512i f1 = _mm512_set1_epi16(vif_filt[fi]);
# 472| __m512i ref1 = _mm512_loadu_si512(
Error: COMPILER_WARNING (CWE-195):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:628:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’
# 628 | for (unsigned j = 0; j < n << 4; j = j + 16)
# | ^
# 626| //HORIZONTAL
# 627| n = w >> 4;
# 628|-> for (unsigned j = 0; j < n << 4; j = j + 16)
# 629| {
# 630| __m512i mu1sq;
Error: COMPILER_WARNING (CWE-195):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:743:22: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’
# 743 | if ((n << 4) != w) {
# | ^~
# 741| }
# 742|
# 743|-> if ((n << 4) != w) {
# 744| VifResiduals residuals =
# 745| vif_compute_line_residuals(s, n << 4, w, bpc, scale);
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:782:9: warning[-Wunused-variable]: unused variable ‘fwidth_x’
# 782 | int fwidth_x = (fwidth % 2 == 0) ? fwidth : fwidth + 1;
# | ^~~~~~~~
# 780| const unsigned fwidth = vif_filter1d_width[1];
# 781| const uint16_t *vif_filt_s1 = vif_filter1d_table[1];
# 782|-> int fwidth_x = (fwidth % 2 == 0) ? fwidth : fwidth + 1;
# 783| const uint8_t *ref = (uint8_t *)(buf.ref);
# 784| const uint8_t *dis = (uint8_t *)buf.dis;
Error: COMPILER_WARNING (CWE-195):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c: scope_hint: In function ‘vif_subsample_rd_8_avx512’
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:820:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’
# 820 | for (unsigned j = 0; j < n << 5; j = j + 32)
# | ^
# 818| int n = w >> 5;
# 819| int ii = i - fwidth_half;
# 820|-> for (unsigned j = 0; j < n << 5; j = j + 32)
# 821| {
# 822|
Error: COMPILER_WARNING (CWE-195):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:954:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’
# 954 | for (unsigned j = 0; j < n << 4; j = j + 16)
# | ^
# 952| //HORIZONTAL
# 953| n = w >> 4;
# 954|-> for (unsigned j = 0; j < n << 4; j = j + 16)
# 955| {
# 956| int jj = j - fwidth_half;
Error: COMPILER_WARNING (CWE-195):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c: scope_hint: In function ‘vif_subsample_rd_16_avx512’
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:1154:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’
# 1154 | for (unsigned j = 0; j < n << 4; j = j + 32)
# | ^
# 1152| int n = w >> 4;
# 1153| int ii = i - fwidth_half;
# 1154|-> for (unsigned j = 0; j < n << 4; j = j + 32)
# 1155| {
# 1156| int ii_check = ii;
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:1164:32: warning[-Wunused-variable]: unused variable ‘fcoeff’
# 1164 | const uint16_t fcoeff = vif_filt[fi];
# | ^~~~~~
# 1162| {
# 1163|
# 1164|-> const uint16_t fcoeff = vif_filt[fi];
# 1165| __m512i f1 = _mm512_set1_epi16(vif_filt[fi]);
# 1166| __m512i ref1 = _mm512_loadu_si512((__m512i *)(ref + (ii_check * stride) + j));
Error: COMPILER_WARNING (CWE-195):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:1223:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’
# 1223 | for (unsigned j = 0; j < n << 4; j = j + 16)
# | ^
# 1221| //HORIZONTAL
# 1222| n = w >> 4;
# 1223|-> for (unsigned j = 0; j < n << 4; j = j + 16)
# 1224| {
# 1225| int jj = j - fwidth_half;
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:1229:29: warning[-Wunused-variable]: unused variable ‘ref’
# 1229 | const uint16_t *ref = (uint16_t *)buf.tmp.ref_convol;
# | ^~~
# 1227| __m512i accumrlo, accumdlo, accumrhi, accumdhi;
# 1228| accumrlo = accumdlo = accumrhi = accumdhi = _mm512_setzero_si512();
# 1229|-> const uint16_t *ref = (uint16_t *)buf.tmp.ref_convol;
# 1230| const uint16_t *dis = (uint16_t *)buf.dis;
# 1231| for (unsigned fj = 0; fj < fwidth; ++fj, jj_check = jj + fj)
Error: COMPILER_WARNING (CWE-563):
vmaf-3.0.0/libvmaf/src/feature/x86/vif_avx512.c:1230:29: warning[-Wunused-variable]: unused variable ‘dis’
# 1230 | const uint16_t *dis = (uint16_t *)buf.dis;
# | ^~~
# 1228| accumrlo = accumdlo = accumrhi = accumdhi = _mm512_setzero_si512();
# 1229| const uint16_t *ref = (uint16_t *)buf.tmp.ref_convol;
# 1230|-> const uint16_t *dis = (uint16_t *)buf.dis;
# 1231| for (unsigned fj = 0; fj < fwidth; ++fj, jj_check = jj + fj)
# 1232| {
Error: COMPILER_WARNING (CWE-704):
vmaf-3.0.0/libvmaf/src/model.c:33:19: warning[-Wlto-type-mismatch]: type of ‘src_vmaf_v0_6_1_json’ does not match original declaration
# 33 | extern const char src_vmaf_v0_6_1_json;
# | ^
vmaf-3.0.0/libvmaf/redhat-linux-build/src/vmaf_v0.6.1.json.c:1:15: note: ‘src_vmaf_v0_6_1_json’ was previously declared here
# 1 | unsigned char src_vmaf_v0_6_1_json[] = {
# | ^
# 31| extern const int src_vmaf_float_4k_v0_6_1_json_len;
# 32| #endif
# 33|-> extern const char src_vmaf_v0_6_1_json;
# 34| extern const int src_vmaf_v0_6_1_json_len;
# 35| extern const char src_vmaf_b_v0_6_3_json;
Error: COMPILER_WARNING (CWE-704):
vmaf-3.0.0/libvmaf/src/model.c:35:19: warning[-Wlto-type-mismatch]: type of ‘src_vmaf_b_v0_6_3_json’ does not match original declaration
# 35 | extern const char src_vmaf_b_v0_6_3_json;
# | ^
vmaf-3.0.0/libvmaf/redhat-linux-build/src/vmaf_b_v0.6.3.json.c:1:15: note: ‘src_vmaf_b_v0_6_3_json’ was previously declared here
# 1 | unsigned char src_vmaf_b_v0_6_3_json[] = {
# | ^
# 33| extern const char src_vmaf_v0_6_1_json;
# 34| extern const int src_vmaf_v0_6_1_json_len;
# 35|-> extern const char src_vmaf_b_v0_6_3_json;
# 36| extern const int src_vmaf_b_v0_6_3_json_len;
# 37| extern const char src_vmaf_v0_6_1neg_json;
Error: COMPILER_WARNING (CWE-704):
vmaf-3.0.0/libvmaf/src/model.c:37:19: warning[-Wlto-type-mismatch]: type of ‘src_vmaf_v0_6_1neg_json’ does not match original declaration
# 37 | extern const char src_vmaf_v0_6_1neg_json;
# | ^
vmaf-3.0.0/libvmaf/redhat-linux-build/src/vmaf_v0.6.1neg.json.c:1:15: note: ‘src_vmaf_v0_6_1neg_json’ was previously declared here
# 1 | unsigned char src_vmaf_v0_6_1neg_json[] = {
# | ^
# 35| extern const char src_vmaf_b_v0_6_3_json;
# 36| extern const int src_vmaf_b_v0_6_3_json_len;
# 37|-> extern const char src_vmaf_v0_6_1neg_json;
# 38| extern const int src_vmaf_v0_6_1neg_json_len;
# 39| extern const char src_vmaf_4k_v0_6_1_json;
Error: COMPILER_WARNING (CWE-704):
vmaf-3.0.0/libvmaf/src/model.c:39:19: warning[-Wlto-type-mismatch]: type of ‘src_vmaf_4k_v0_6_1_json’ does not match original declaration
# 39 | extern const char src_vmaf_4k_v0_6_1_json;
# | ^
vmaf-3.0.0/libvmaf/redhat-linux-build/src/vmaf_4k_v0.6.1.json.c:1:15: note: ‘src_vmaf_4k_v0_6_1_json’ was previously declared here
# 1 | unsigned char src_vmaf_4k_v0_6_1_json[] = {
# | ^
# 37| extern const char src_vmaf_v0_6_1neg_json;
# 38| extern const int src_vmaf_v0_6_1neg_json_len;
# 39|-> extern const char src_vmaf_4k_v0_6_1_json;
# 40| extern const int src_vmaf_4k_v0_6_1_json_len;
# 41| extern const char src_vmaf_4k_v0_6_1neg_json;
Error: COMPILER_WARNING (CWE-704):
vmaf-3.0.0/libvmaf/src/model.c:41:19: warning[-Wlto-type-mismatch]: type of ‘src_vmaf_4k_v0_6_1neg_json’ does not match original declaration
# 41 | extern const char src_vmaf_4k_v0_6_1neg_json;
# | ^
vmaf-3.0.0/libvmaf/redhat-linux-build/src/vmaf_4k_v0.6.1neg.json.c:1:15: note: ‘src_vmaf_4k_v0_6_1neg_json’ was previously declared here
# 1 | unsigned char src_vmaf_4k_v0_6_1neg_json[] = {
# | ^
# 39| extern const char src_vmaf_4k_v0_6_1_json;
# 40| extern const int src_vmaf_4k_v0_6_1_json_len;
# 41|-> extern const char src_vmaf_4k_v0_6_1neg_json;
# 42| extern const int src_vmaf_4k_v0_6_1neg_json_len;
# 43| #endif
Error: COMPILER_WARNING:
vmaf-3.0.0/libvmaf/src/model.c: scope_hint: In function ‘vmaf_model_generate_name’
vmaf-3.0.0/libvmaf/src/model.c:136:9: warning[-Wstringop-truncation]: ‘__strncpy_chk’ specified bound depends on the length of the source argument
# 136 | strncpy(name, cfg->name, name_sz);
# | ^
vmaf-3.0.0/libvmaf/src/model.c:127:21: note: length computed here
# 127 | cfg->name ? strlen(cfg->name) + 1 : strlen(default_name) + 1;
# | ^~~~~~~~~~~~~~~~~
# 134| strncpy(name, default_name, name_sz);
# 135| else
# 136|-> strncpy(name, cfg->name, name_sz);
# 137|
# 138| return name;
Error: COMPILER_WARNING (CWE-457):
vmaf-3.0.0/libvmaf/test/test_predict.c:23: included_from: Included from here.
vmaf-3.0.0/libvmaf/src/predict.c: scope_hint: In function ‘piecewise_linear_mapping’
vmaf-3.0.0/libvmaf/src/predict.c:129:28: warning[-Wmaybe-uninitialized]: ‘slope’ may be used uninitialized
# 129 | *y = slope * x + offset;
# | ~~~~~~^~~
vmaf-3.0.0/libvmaf/src/predict.c:91:12: note: ‘slope’ was declared here
# 91 | double slope, offset;
# | ^~~~~
# 127|
# 128| if (cond0 && cond1){
# 129|-> *y = slope * x + offset;
# 130| }
# 131|
Error: COMPILER_WARNING (CWE-457):
vmaf-3.0.0/libvmaf/src/predict.c:129:32: warning[-Wmaybe-uninitialized]: ‘offset’ may be used uninitialized
# 129 | *y = slope * x + offset;
# | ~~~~~~~~~~^~~~~~~~
vmaf-3.0.0/libvmaf/src/predict.c:91:19: note: ‘offset’ was declared here
# 91 | double slope, offset;
# | ^~~~~~
# 127|
# 128| if (cond0 && cond1){
# 129|-> *y = slope * x + offset;
# 130| }
# 131|
Error: COMPILER_WARNING (CWE-457):
vmaf-3.0.0/libvmaf/src/predict.c:141:32: warning[-Wmaybe-uninitialized]: ‘slope’ may be used uninitialized
# 141 | *y = slope * x + offset;
# | ~~~~~~^~~
vmaf-3.0.0/libvmaf/src/predict.c: scope_hint: In function ‘transform.part.0’
vmaf-3.0.0/libvmaf/src/predict.c:91:12: note: ‘slope’ was declared here
# 91 | double slope, offset;
# | ^~~~~
# 139| // for points above the defined range
# 140| if (x > knots[idx + 1].x)
# 141|-> *y = slope * x + offset;
# 142| }
# 143| }
Error: COMPILER_WARNING (CWE-457):
vmaf-3.0.0/libvmaf/src/predict.c:141:36: warning[-Wmaybe-uninitialized]: ‘offset’ may be used uninitialized
# 141 | *y = slope * x + offset;
# | ~~~~~~~~~~^~~~~~~~
vmaf-3.0.0/libvmaf/src/predict.c: scope_hint: In function ‘transform.part.0’
vmaf-3.0.0/libvmaf/src/predict.c:91:19: note: ‘offset’ was declared here
# 91 | double slope, offset;
# | ^~~~~~
# 139| // for points above the defined range
# 140| if (x > knots[idx + 1].x)
# 141|-> *y = slope * x + offset;
# 142| }
# 143| }