svt-av1-2.1.0-1.fc41

List of Defects

Error: COMPILER_WARNING: [#def1]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/gstreamer-plugin/gstsvtav1enc.h:14: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/gstreamer-plugin/gstsvtav1enc.c:25: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/API/EbSvtAv1.h:83:9: warning: "FALSE" redefined
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/gstreamer-1.0/gst/gst.h:27: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/gstreamer-plugin/gstsvtav1enc.c:22: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:925:9: note: this is the location of the previous definition
#   81|   */
#   82|   typedef uint8_t Bool;
#   83|-> #define FALSE 0
#   84|   #define TRUE 1
#   85|   

Error: COMPILER_WARNING: [#def2]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/API/EbSvtAv1.h:84:9: warning: "TRUE" redefined
/usr/include/glib-2.0/glib/gmacros.h:929:9: note: this is the location of the previous definition
#   82|   typedef uint8_t Bool;
#   83|   #define FALSE 0
#   84|-> #define TRUE 1
#   85|   
#   86|   typedef struct EbBufferHeaderType {

Error: CPPCHECK_WARNING: [#def3]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/DecApp/EbDecAppMain.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/DecApp/EbDecAppMain.c: scope_hint: In function ‘main’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/DecApp/EbDecAppMain.c:191:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘recon_buffer’
#  189|           EbBufferHeaderType *recon_buffer = malloc(sizeof(*recon_buffer));
#  190|           assert(recon_buffer != NULL);
#  191|->         recon_buffer->p_buffer = malloc(sizeof(EbSvtIOFormat));
#  192|   
#  193|           /* FilmGrain module req. even dim. for internal operation */

Error: CLANG_WARNING: [#def5]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/DecApp/EbDecAppMain.c:191:34: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'uint8_t', which is incompatible with sizeof operand type 'EbSvtIOFormat'
#  189|           EbBufferHeaderType *recon_buffer = malloc(sizeof(*recon_buffer));
#  190|           assert(recon_buffer != NULL);
#  191|->         recon_buffer->p_buffer = malloc(sizeof(EbSvtIOFormat));
#  192|   
#  193|           /* FilmGrain module req. even dim. for internal operation */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/DecApp/EbDecAppMain.c:199:57: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(64)’
#  197|           size     = size * w * h;
#  198|           assert(recon_buffer->p_buffer != NULL);
#  199|->         ((EbSvtIOFormat *)recon_buffer->p_buffer)->luma = (uint8_t *)malloc(size);
#  200|           ((EbSvtIOFormat *)recon_buffer->p_buffer)->cb   = (uint8_t *)malloc(size >> 2);
#  201|           ((EbSvtIOFormat *)recon_buffer->p_buffer)->cr   = (uint8_t *)malloc(size >> 2);

Error: CPPCHECK_WARNING: [#def7]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/DecApp/EbDecParamParser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def8]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/DecApp/EbDecParamParser.c:120:13: warning[core.NullDereference]: Array access results in a null pointer dereference
#  118|   
#  119|       for (token_index = 1; token_index < argc; token_index++, cmd_token_cnt++) {
#  120|->         if (argv[token_index][0] == '-') {
#  121|               cmd_copy[cmd_token_cnt] = argv[token_index];
#  122|               if (argv[token_index + 1] != NULL && (argv[token_index + 1][0] != '-'))

Error: CPPCHECK_WARNING: [#def9]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/DecApp/EbFileUtils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def10]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/DecApp/EbMD5Utility.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def11]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def12]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c: scope_hint: In function ‘set_cfg_force_key_frames’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c:440:55: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
#  440 |         char        *specifier = (char *)calloc(sizeof(*specifier), len + 1);
#      |                                                       ^
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c:440:55: note: earlier argument should specify number of elements, later size of each element
#  438|       while (p) {
#  439|           const size_t len       = strcspn(p, ",");
#  440|->         char        *specifier = (char *)calloc(sizeof(*specifier), len + 1);
#  441|           if (!specifier)
#  442|               goto err;

Error: COMPILER_WARNING: [#def13]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c:459:43: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
#  459 |     fkf.frames = (uint64_t *)calloc(sizeof(*fkf.frames), fkf.count);
#      |                                           ^
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c:459:43: note: earlier argument should specify number of elements, later size of each element
#  457|           goto err;
#  458|   
#  459|->     fkf.frames = (uint64_t *)calloc(sizeof(*fkf.frames), fkf.count);
#  460|       if (!fkf.frames)
#  461|           goto err;

Error: CLANG_WARNING: [#def14]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c:1617:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'word'
# 1615|           return_error = set_config_value(app_cfg, word, value, instance_idx);
# 1616|       }
# 1617|->     free(word);
# 1618|       free(value);
# 1619|       fclose(config_file);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c: scope_hint: In function ‘read_fgs_table’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c:2316:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘film_grain’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c: scope_hint: In function ‘read_fgs_table’
# 2314|           }
# 2315|   
# 2316|->         if (film_grain->update_parameters) {
# 2317|               num_read = fscanf(file,
# 2318|                                 "p %d %d %d %d %d %d %d %d %d %d %d %d\n",

Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c:2411:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘film_grain’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c: scope_hint: In function ‘read_fgs_table’
# 2409|       fclose(file);
# 2410|   
# 2411|->     film_grain->apply_grain = 1;
# 2412|       film_grain->ignore_ref  = 1;
# 2413|       cfg->config.fgs_table   = film_grain;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def17]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c: scope_hint: In function ‘read_command_line’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c:2436:31: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c:2436:31: note: write of 8 bytes to beyond the end of ‘config_strings’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppConfig.c:2436:31: note: valid subscripts for ‘config_strings’ are ‘[0]’ to ‘[5]’
# 2434|   
# 2435|       for (index = 0; index < num_channels; ++index)
# 2436|->         config_strings[index] = (char *)malloc(sizeof(char) * COMMAND_LINE_MAX_SIZE);
# 2437|       for (int i = 0; i < MAX_NUM_TOKENS; ++i) {
# 2438|           cmd_copy[i] = NULL;

Error: CPPCHECK_WARNING: [#def18]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppContext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppContext.c: scope_hint: In function ‘parse_rio_map_file’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppContext.c:247:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_evt’
#  245|               }
#  246|               if (roi_map->evt_list != NULL) {
#  247|->                 last_evt->next = evt;
#  248|               } else {
#  249|                   roi_map->evt_list = evt;

Error: CLANG_WARNING: [#def20]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppInputy4m.c:62:23: warning[deadcode.DeadStores]: Value stored to 'scan_type' is never read
#   60|           case 'I': /* scan type, not required, default: 'p' */
#   61|               switch (*tokstart++) {
#   62|->             case 'p': scan_type = 'p'; break;
#   63|               case 't': scan_type = 't'; break;
#   64|               case 'b': scan_type = 'b'; break;

Error: CLANG_WARNING: [#def21]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppInputy4m.c:63:23: warning[deadcode.DeadStores]: Value stored to 'scan_type' is never read
#   61|               switch (*tokstart++) {
#   62|               case 'p': scan_type = 'p'; break;
#   63|->             case 't': scan_type = 't'; break;
#   64|               case 'b': scan_type = 'b'; break;
#   65|               case '?':

Error: CLANG_WARNING: [#def22]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppInputy4m.c:64:23: warning[deadcode.DeadStores]: Value stored to 'scan_type' is never read
#   62|               case 'p': scan_type = 'p'; break;
#   63|               case 't': scan_type = 't'; break;
#   64|->             case 'b': scan_type = 'b'; break;
#   65|               case '?':
#   66|               default: fprintf(cfg->error_log_file, "interlace type not supported\n"); return EB_ErrorBadParameter;

Error: CLANG_WARNING: [#def23]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppInputy4m.c:174:13: warning[deadcode.DeadStores]: Value stored to 'aspect_n' is never read
#  172|               break;
#  173|           case 'A': /* aspect ratio, not required */
#  174|->             aspect_n = strtol(tokstart, &tokstart, 10);
#  175|               aspect_d = strtol(++tokstart, &tokstart, 10);
#  176|               ++tokstart;

Error: CLANG_WARNING: [#def24]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppInputy4m.c:175:13: warning[deadcode.DeadStores]: Value stored to 'aspect_d' is never read
#  173|           case 'A': /* aspect ratio, not required */
#  174|               aspect_n = strtol(tokstart, &tokstart, 10);
#  175|->             aspect_d = strtol(++tokstart, &tokstart, 10);
#  176|               ++tokstart;
#  177|               if (PRINT_HEADER)

Error: CPPCHECK_WARNING: [#def25]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppMain.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def26]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/App/EncApp/EbAppProcessCmd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def27]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbHighbdIntraPrediction_AVX2.c: scope_hint: In function ‘load_left_4’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbHighbdIntraPrediction_AVX2.c:1338:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbHighbdIntraPrediction_AVX2.c: scope_hint: In function ‘dc_common_predictor_16xh_kernel’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbHighbdIntraPrediction_AVX2.c:184:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 1336|   }
# 1337|   
# 1338|-> static INLINE __m256i load_left_4(const uint16_t *const left, const __m256i r) {
# 1339|       const __m128i l0 = _mm_loadl_epi64((const __m128i *)left);
# 1340|       // 0 1 2 3 x x x x  0 1 2 3 x x x x

Error: CPPCHECK_WARNING: [#def28]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbInterPredictionCom_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def29]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbIntraPrediction_Intrinsic_AVX2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def30]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbPictureOperators_Inline_AVX2.h:17: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbPictureOperators_Intrinsic_AVX2.c:14: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbMemory_AVX2.h: scope_hint: In function ‘load_u8_4x2_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbMemory_AVX2.h:36:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbMemory_AVX2.h: scope_hint: In function ‘storeu_s16_8x2_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbMemory_AVX2.h:92:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   34|   #endif
#   35|   
#   36|-> static INLINE __m256i load_u8_4x2_avx2(const uint8_t *const src, const ptrdiff_t stride) {
#   37|       __m128i src01;
#   38|       src01 = _mm_cvtsi32_si128(*(int32_t *)(src + 0 * stride));

Error: CPPCHECK_WARNING: [#def31]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbPackUnPack_Intrinsic_AVX2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def32]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbPackUnPack_Intrinsic_AVX2.c: scope_hint: In function ‘svt_enc_un_pack8_bit_data_avx2_intrin’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbPackUnPack_Intrinsic_AVX2.c:18:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   16|   void svt_enc_un_pack8_bit_data_avx2_intrin(uint16_t *in_16bit_buffer, uint32_t in_stride, uint8_t *out_8bit_buffer,
#   17|                                              uint32_t out_stride, uint32_t width, uint32_t height) {
#   18|->     __m256i ymm_00ff = _mm256_set1_epi16(0x00FF);
#   19|       __m128i xmm_00ff = _mm_set1_epi16(0x00FF);
#   20|       switch (width) {

Error: CPPCHECK_WARNING: [#def33]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbPictureOperators_Intrinsic_AVX2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def34]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbPictureOperators_Intrinsic_AVX2.c:2487:51: warning[deadcode.DeadStores]: Although the value stored to 'src_diff' is used in the enclosing expression, the value is never actually read from 'src_diff'
# 2485|       src[5] = _mm256_loadu_si256((const __m256i *)(src_diff += src_stride));
# 2486|       src[6] = _mm256_loadu_si256((const __m256i *)(src_diff += src_stride));
# 2487|->     src[7] = _mm256_loadu_si256((const __m256i *)(src_diff += src_stride));
# 2488|   
# 2489|       hadamard_col8x2_avx2(src, 0);

Error: CPPCHECK_WARNING: [#def35]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/av1_inv_txfm_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def36]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/cdef_block_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def37]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/cfl_avx2.c: scope_hint: In function ‘predict_unclipped’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/cfl_avx2.c:16:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/cfl_avx2.c:16:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   14|   #include "common_dsp_rtcd.h"
#   15|   
#   16|-> static INLINE __m256i predict_unclipped(const __m256i *input, __m256i alpha_q12, __m256i alpha_sign, __m256i dc_q0) {
#   17|       __m256i ac_q3          = _mm256_loadu_si256(input);
#   18|       __m256i ac_sign        = _mm256_sign_epi16(alpha_sign, ac_q3);

Error: CPPCHECK_WARNING: [#def38]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/convolve_2d_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def39]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/convolve_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def40]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_convolve_2d_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def41]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def42]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:274:61: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
#  272|       if (!do_cols) {
#  273|           const int     log_range_out = AOMMAX(16, bd + 6);
#  274|->         const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
#  275|           const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
#  276|           round_shift_8x8_avx2(out, out_shift);

Error: CLANG_WARNING: [#def43]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2281:57: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2279|           const int log_range_out = AOMMAX(16, bd + 6);
# 2280|           __m256i   offset        = _mm256_set1_epi32((1 << out_shift) >> 1);
# 2281|->         clamp_lo                = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2282|           clamp_hi                = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2283|           x                       = _mm256_add_epi32(x, offset);

Error: CLANG_WARNING: [#def44]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2400:61: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2398|       if (!do_cols) {
# 2399|           const int     log_range_out = AOMMAX(16, bd + 6);
# 2400|->         const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2401|           const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2402|   

Error: CLANG_WARNING: [#def45]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2646:61: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2644|       } else {
# 2645|           const int32_t log_range_out = AOMMAX(16, bd + 6);
# 2646|->         const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2647|           const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2648|   

Error: CLANG_WARNING: [#def46]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2699:24: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2697|           const int32_t log_range_out = AOMMAX(16, bd + 6);
# 2698|           const __m256i clamp_lo_out  = _mm256_set1_epi32(
# 2699|->             AOMMAX(-(1 << (log_range_out - 1)), -(1 << (log_range - 1 - out_shift))));
# 2700|           const __m256i clamp_hi_out = _mm256_set1_epi32(
# 2701|               AOMMIN((1 << (log_range_out - 1)) - 1, (1 << (log_range - 1 - out_shift))));

Error: CLANG_WARNING: [#def47]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2730:61: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2728|           if (!do_cols) {
# 2729|               const int log_range_out = AOMMAX(16, bd + 6);
# 2730|->             clamp_lo                = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2731|               clamp_hi                = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2732|               __m256i offset          = _mm256_set1_epi32((1 << out_shift) >> 1);

Error: CLANG_WARNING: [#def48]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2893:65: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2891|           if (!do_cols) {
# 2892|               const int     log_range_out = AOMMAX(16, bd + 6);
# 2893|->             const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2894|               const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2895|               round_shift_8x8_avx2(out, out_shift);

Error: CLANG_WARNING: [#def49]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:3073:65: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3071|           if (!do_cols) {
# 3072|               const int     log_range_out = AOMMAX(16, bd + 6);
# 3073|->             const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 3074|               const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3075|               round_shift_8x8_avx2(out, out_shift);

Error: CLANG_WARNING: [#def50]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:3543:65: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3541|           } else {
# 3542|               const int32_t log_range_out = AOMMAX(16, bd + 6);
# 3543|->             const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 3544|               const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3545|   

Error: CLANG_WARNING: [#def51]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:3912:65: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3910|           } else {
# 3911|               const int32_t log_range_out = AOMMAX(16, bd + 6);
# 3912|->             const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 3913|               const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3914|   

Error: CLANG_WARNING: [#def52]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:3969:24: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3967|           const int32_t log_range_out = AOMMAX(16, bd + 6);
# 3968|           const __m256i clamp_lo_out  = _mm256_set1_epi32(
# 3969|->             AOMMAX(-(1 << (log_range_out - 1)), -(1 << (log_range - 1 - out_shift))));
# 3970|           const __m256i clamp_hi_out = _mm256_set1_epi32(
# 3971|               AOMMIN((1 << (log_range_out - 1)) - 1, (1 << (log_range - 1 - out_shift))));

Error: CLANG_WARNING: [#def53]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:4002:57: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4000|           const int log_range_out = AOMMAX(16, bd + 6);
# 4001|           __m256i   offset        = _mm256_set1_epi32((1 << out_shift) >> 1);
# 4002|->         clamp_lo                = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 4003|           clamp_hi                = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4004|           x                       = _mm256_add_epi32(offset, x);

Error: CLANG_WARNING: [#def54]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:4605:65: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4603|           if (!do_cols) {
# 4604|               const int     log_range_out = AOMMAX(16, bd + 6);
# 4605|->             const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 4606|               const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4607|               round_shift_8x8_avx2(out, out_shift);

Error: CLANG_WARNING: [#def55]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:4641:24: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4639|           const int32_t log_range_out = AOMMAX(16, bd + 6);
# 4640|           const __m256i clamp_lo_out  = _mm256_set1_epi32(
# 4641|->             AOMMAX(-(1 << (log_range_out - 1)), -(1 << (log_range - 1 - out_shift))));
# 4642|           const __m256i clamp_hi_out = _mm256_set1_epi32(
# 4643|               AOMMIN((1 << (log_range_out - 1)) - 1, (1 << (log_range - 1 - out_shift))));

Error: CLANG_WARNING: [#def56]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:4674:61: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4672|           if (!do_cols) {
# 4673|               const int log_range_out = AOMMAX(16, bd + 6);
# 4674|->             clamp_lo                = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 4675|               clamp_hi                = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4676|               if (out_shift != 0) {

Error: CPPCHECK_WARNING: [#def57]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_jnt_convolve_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def58]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_warp_affine_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def59]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_warp_affine_avx2.c: scope_hint: In function ‘load_2buffers’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/highbd_warp_affine_avx2.c:16:37: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   14|   
#   15|   static INLINE __m256i load_2buffers(const uint8_t *ref8b_a, const uint8_t *ref2b_a, const uint8_t *ref8b_b,
#   16|->                                     const uint8_t *ref2b_b) {
#   17|       __m128i in_2_bit_a = _mm_loadl_epi64((__m128i *)ref2b_a);
#   18|       __m128i in_8_bit_a = _mm_loadl_epi64((__m128i *)ref8b_a);

Error: CPPCHECK_WARNING: [#def60]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/jnt_convolve_2d_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def61]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/jnt_convolve_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def62]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/selfguided_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def63]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbBlend_a64_mask_avx2.c:19: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/synonyms_avx2.h: scope_hint: In function ‘yy_load_256’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/synonyms_avx2.h:27:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/synonyms_avx2.h: scope_hint: In function ‘yy_roundn_epu16’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/synonyms_avx2.h:57:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   25|   // Loads and stores to do away with the tedium of casting the address
#   26|   // to the right type.
#   27|-> static INLINE __m256i yy_load_256(const void *const a) {
#   28|   #ifdef EB_TEST_SIMD_ALIGN
#   29|       if ((intptr_t)a % 32)

Error: COMPILER_WARNING: [#def64]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/dwt_avx2.c:12: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/transpose_avx2.h: scope_hint: In function ‘_mm256_unpacklo_epi128’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/transpose_avx2.h:19:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/transpose_avx2.h:19:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   17|   #include "EbDefinitions.h"
#   18|   
#   19|-> static INLINE __m256i _mm256_unpacklo_epi128(const __m256i in0, const __m256i in1) {
#   20|       return _mm256_inserti128_si256(in0, _mm256_castsi256_si128(in1), 1);
#   21|   }

Error: COMPILER_WARNING: [#def65]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/EbIntraPrediction_Intrinsic_AVX2.c:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/txfm_common_avx2.h: scope_hint: In function ‘pair_set_w16_epi16’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/txfm_common_avx2.h:31:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   29|   }
#   30|   
#   31|-> static INLINE __m256i pair_set_w16_epi16(int16_t a, int16_t b) {
#   32|       return _mm256_set1_epi32((int32_t)(((uint16_t)(a)) | (((uint32_t)(b)) << 16)));
#   33|   }

Error: CPPCHECK_WARNING: [#def66]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/warp_plane_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def67]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/warp_plane_avx2.c: scope_hint: In function ‘svt_av1_warp_affine_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/warp_plane_avx2.c:1117:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/warp_plane_avx2.c: scope_hint: In function ‘horizontal_filter_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/warp_plane_avx2.c:363:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 1115|   
# 1116|       const int     offset_bits_vert       = bd + 2 * FILTER_BITS - reduce_bits_horiz;
# 1117|->     const __m256i reduce_bits_vert_const = _mm256_set1_epi32(((1 << reduce_bits_vert) >> 1));
# 1118|       const __m256i res_add_const          = _mm256_set1_epi32(1 << offset_bits_vert);
# 1119|       const int     round_bits             = 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1;

Error: CPPCHECK_WARNING: [#def68]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_AVX2/wiener_convolve_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def69]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE2/EbAvcStyleMcp_Intrinsic_SSE2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def70]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE2/EbPackUnPack_Intrinsic_SSE2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def71]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE2/EbPictureOperators_Intrinsic_SSE2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def72]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE2/EbPictureOperators_Intrinsic_SSE2.c:376:47: warning[deadcode.DeadStores]: Although the value stored to 'src_diff' is used in the enclosing expression, the value is never actually read from 'src_diff'
#  374|       src[5] = _mm_load_si128((const __m128i *)(src_diff += src_stride));
#  375|       src[6] = _mm_load_si128((const __m128i *)(src_diff += src_stride));
#  376|->     src[7] = _mm_load_si128((const __m128i *)(src_diff += src_stride));
#  377|   
#  378|       hadamard_col8_sse2(src, 0);

Error: CPPCHECK_WARNING: [#def73]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE2/convolve_2d_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def74]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE2/highbd_subtract_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def75]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE2/highbd_subtract_sse2.c: scope_hint: In function ‘svt_aom_highbd_subtract_block_sse2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE2/highbd_subtract_sse2.c:283:5: warning[-Wanalyzer-jump-through-null]: jump through null pointer
#  281|   
#  282|       func = get_subtract_func(rows, cols);
#  283|->     func(diff, diff_stride, src, src_stride, pred, pred_stride);
#  284|   }

Error: CPPCHECK_WARNING: [#def76]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE2/jnt_convolve_2d_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def77]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/av1_convolve_scale_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def78]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/cdef_block_sse4_1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def79]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_convolve_2d_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def80]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def81]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:123:40: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
#  121|       if (!do_cols) {
#  122|           log_range = AOMMAX(16, bd + 6);
#  123|->         clamp_lo  = _mm_set1_epi32(-(1 << (log_range - 1)));
#  124|           clamp_hi  = _mm_set1_epi32((1 << (log_range - 1)) - 1);
#  125|   

Error: CLANG_WARNING: [#def82]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:2777:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2775|       if (!do_cols) {
# 2776|           const int     log_range_out = AOMMAX(16, bd + 6);
# 2777|->         const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 2778|           const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2779|   

Error: CLANG_WARNING: [#def83]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:2808:54: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2806|       if (!do_cols) {
# 2807|           const int log_range_out = AOMMAX(16, bd + 6);
# 2808|->         clamp_lo                = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 2809|           clamp_hi                = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2810|   

Error: CLANG_WARNING: [#def84]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:2985:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2983|       } else {
# 2984|           const int32_t log_range_out = AOMMAX(16, bd + 6);
# 2985|->         const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 2986|           const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2987|   

Error: CLANG_WARNING: [#def85]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:3104:44: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3102|           if (!do_cols) {
# 3103|               log_range = AOMMAX(16, bd + 6);
# 3104|->             clamp_lo  = _mm_set1_epi32(-(1 << (log_range - 1)));
# 3105|               clamp_hi  = _mm_set1_epi32((1 << (log_range - 1)) - 1);
# 3106|               if (out_shift != 0) {

Error: CLANG_WARNING: [#def86]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:3271:62: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3269|           if (!do_cols) {
# 3270|               const int     log_range_out = AOMMAX(16, bd + 6);
# 3271|->             const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 3272|               const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3273|               round_shift_8x8(out, out_shift);

Error: CLANG_WARNING: [#def87]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:3452:62: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3450|           if (!do_cols) {
# 3451|               const int     log_range_out = AOMMAX(16, bd + 6);
# 3452|->             const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 3453|               const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3454|               round_shift_8x8(out, out_shift);

Error: CLANG_WARNING: [#def88]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:3816:62: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3814|           } else {
# 3815|               const int32_t log_range_out = AOMMAX(16, bd + 6);
# 3816|->             const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 3817|               const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3818|   

Error: CLANG_WARNING: [#def89]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:4296:62: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4294|           } else {
# 4295|               const int32_t log_range_out = AOMMAX(16, bd + 6);
# 4296|->             const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 4297|               const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4298|   

Error: CLANG_WARNING: [#def90]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:4469:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4467|       if (!do_cols) {
# 4468|           const int     log_range_out = AOMMAX(16, bd + 6);
# 4469|->         const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 4470|           const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4471|           for (int i = 0; i < 32; i += 8) {

Error: CLANG_WARNING: [#def91]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:4625:54: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4623|       } else {
# 4624|           const int log_range_out = AOMMAX(16, bd + 6);
# 4625|->         clamp_lo                = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 4626|           clamp_hi                = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4627|           if (out_shift != 0) {

Error: CLANG_WARNING: [#def92]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:5226:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 5224|       if (!do_cols) {
# 5225|           const int     log_range_out = AOMMAX(16, bd + 6);
# 5226|->         const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 5227|           const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 5228|           round_shift_8x8(out, out_shift);

Error: CLANG_WARNING: [#def93]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:5291:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 5289|           if (!do_cols) {
# 5290|               const int log_range_out = AOMMAX(16, bd + 6);
# 5291|->             clamp_lo                = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 5292|               clamp_hi                = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 5293|               if (out_shift != 0) {

Error: CPPCHECK_WARNING: [#def94]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/selfguided_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def95]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSE4_1/warp_plane_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def96]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSSE3/av1_inv_txfm_ssse3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def97]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSSE3/highbd_convolve_2d_ssse3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def98]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSSE3/highbd_convolve_ssse3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def99]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/ASM_SSSE3/jnt_convolve_ssse3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def100]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/C_DEFAULT/EbPackUnPack_C.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def101]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/C_DEFAULT/filterintra_c.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def102]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbBitstreamUnit.c:365:19: warning[unix.MallocSizeof]: Result of 'realloc' is converted to a pointer of type 'uint8_t', which is incompatible with sizeof operand type 'uint16_t'
#  363|       if (offs + c > storage) {
#  364|           storage = offs + c;
#  365|->         out     = realloc(enc->buf, sizeof(*buf) * storage);
#  366|           if (!out) {
#  367|               enc->error = -1;

Error: CPPCHECK_WARNING: [#def103]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbBlend_a64_mask.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def104]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbCabacContextModel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def105]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbCdef.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def106]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbDeblockingCommon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def107]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbInterPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-126): [#def108]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbInterPrediction.h:532:89: warning[-Wanalyzer-out-of-bounds]: buffer over-read
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbInterPrediction.h: scope_hint: In function ‘svt_aom_check_high_freq’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EncModeConfig.c: scope_hint: In function ‘svt_aom_check_high_freq’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbInterPrediction.h:532:89: note: read of 1 byte from after the end of ‘ref_type_to_list_idx’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbInterPrediction.h:532:89: note: valid subscripts for ‘ref_type_to_list_idx’ are ‘[0]’ to ‘[7]’
#                                                 └──────────────────────────┘
#                                                              ^
#  530|   */
#  531|   static uint8_t              ref_type_to_list_idx[REFS_PER_FRAME + 1] = {0, 0, 0, 0, 0, 1, 1, 1};
#  532|-> static INLINE uint8_t       get_list_idx(uint8_t ref_type) { return ref_type_to_list_idx[ref_type]; }
#  533|   static uint8_t              ref_type_to_ref_idx[REFS_PER_FRAME + 1] = {0, 0, 1, 2, 3, 0, 1, 2};
#  534|   static INLINE uint8_t       get_ref_frame_idx(uint8_t ref_type) { return ref_type_to_ref_idx[ref_type]; };

Error: GCC_ANALYZER_WARNING (CWE-126): [#def109]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbInterPrediction.h:534:93: warning[-Wanalyzer-out-of-bounds]: buffer over-read
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbInterPrediction.h: scope_hint: In function ‘svt_aom_check_high_freq’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EncModeConfig.c: scope_hint: In function ‘svt_aom_check_high_freq’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbInterPrediction.h:534:93: note: read of 1 byte from after the end of ‘ref_type_to_ref_idx’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbInterPrediction.h:534:93: note: valid subscripts for ‘ref_type_to_ref_idx’ are ‘[0]’ to ‘[7]’
#                                                └──────────────────────────┘
#                                                             ^
#  532|   static INLINE uint8_t       get_list_idx(uint8_t ref_type) { return ref_type_to_list_idx[ref_type]; }
#  533|   static uint8_t              ref_type_to_ref_idx[REFS_PER_FRAME + 1] = {0, 0, 1, 2, 3, 0, 1, 2};
#  534|-> static INLINE uint8_t       get_ref_frame_idx(uint8_t ref_type) { return ref_type_to_ref_idx[ref_type]; };
#  535|   static INLINE PredDirection av1_get_pred_dir(int8_t ref_frame_type) {
#  536|       MvReferenceFrame rf[2];

Error: CPPCHECK_WARNING: [#def110]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbIntraPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def111]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbInvTransforms.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPredictionStructure.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPredictionStructure.c:14: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPredictionStructure.c: scope_hint: In function ‘prediction_structure_config_array_ctor’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:67:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*dest.entry_array’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:132:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPredictionStructure.c:479:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:132:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPredictionStructure.c:472:5: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:68:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:132:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPredictionStructure.c:472:5: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:132:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPredictionStructure.c:472:5: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:132:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPredictionStructure.c:479:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:132:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPredictionStructure.c:479:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
#   65|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   66|       do {                                              \
#   67|->         if (!p)                                       \
#   68|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   69|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:15: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c: scope_hint: In function ‘svt_muxing_queue_ctor’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:67:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*queue_ptr.object_queue’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:209:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:448:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:68:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:82:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbDefinitions.h:2280:9: note: in expansion of macro ‘EB_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:206:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:209:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:209:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:209:5: note: in expansion of macro ‘EB_NEW’
#   65|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   66|       do {                                              \
#   67|->         if (!p)                                       \
#   68|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   69|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:67:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*queue_ptr.process_fifo_ptr_array’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:213:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:448:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:68:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:82:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbDefinitions.h:2280:9: note: in expansion of macro ‘EB_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:206:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:209:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:209:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:114:5: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:209:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:211:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:211:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:114:5: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:211:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:100:26: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:213:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:213:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:213:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
#   65|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   66|       do {                                              \
#   67|->         if (!p)                                       \
#   68|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   69|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:67:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*queue_ptr.process_queue’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:211:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:448:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:68:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:465:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:82:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbDefinitions.h:2280:9: note: in expansion of macro ‘EB_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:206:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:209:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:209:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:114:5: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:209:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:211:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:211:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:211:5: note: in expansion of macro ‘EB_NEW’
#   65|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   66|       do {                                              \
#   67|->         if (!p)                                       \
#   68|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   69|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c: scope_hint: In function ‘recon_coef_ctor’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:67:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 112)’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:357:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:327:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:341:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:68:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:341:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:341:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:100:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:357:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:357:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:357:9: note: in expansion of macro ‘EB_NEW’
#   65|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   66|       do {                                              \
#   67|->         if (!p)                                       \
#   68|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   69|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureDecisionReorderQueue.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.h:19: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:14: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c: scope_hint: In function ‘svt_aom_encode_context_ctor’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:67:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 24)’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:100:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:82:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbDefinitions.h:2280:9: note: in expansion of macro ‘EB_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:95:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.h:17: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:96:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:82:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbDefinitions.h:2280:9: note: in expansion of macro ‘EB_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:96:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:97:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:97:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:68:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:97:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:97:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:100:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:100:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c:100:9: note: in expansion of macro ‘EB_NEW’
#   65|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   66|       do {                                              \
#   67|->         if (!p)                                       \
#   68|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   69|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c: scope_hint: In function ‘me_ctor’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:67:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 32)’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1499:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1496:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:68:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1496:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1496:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:100:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1499:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1499:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1499:9: note: in expansion of macro ‘EB_NEW’
#   65|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   66|       do {                                              \
#   67|->         if (!p)                                       \
#   68|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   69|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c: scope_hint: In function ‘svt_system_resource_ctor’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:67:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 48)’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:452:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:448:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:68:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:448:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:448:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:100:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:452:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:452:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:452:9: note: in expansion of macro ‘EB_NEW’
#   65|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   66|       do {                                              \
#   67|->         if (!p)                                       \
#   68|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   69|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c: scope_hint: In function ‘picture_control_set_ctor’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:67:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 96)’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:553:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1113:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c: scope_hint: In function ‘picture_control_set_ctor’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:132:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:508:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:100:26: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:132:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:509:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:132:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:509:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:132:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:510:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:132:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:510:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:517:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:517:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:523:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:523:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:88:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:532:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:87:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:533:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:88:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:533:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:87:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:534:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:88:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:534:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:87:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:535:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:88:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:535:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:548:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:87:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:550:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:88:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:550:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:100:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:553:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:553:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:100:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:553:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:553:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:553:9: note: in expansion of macro ‘EB_NEW’
#   65|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   66|       do {                                              \
#   67|->         if (!p)                                       \
#   68|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   69|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c: scope_hint: In function ‘picture_parent_control_set_ctor’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:67:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(4, 8)’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1315:13: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1311:9: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1311:9: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:68:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1311:9: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1311:9: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:100:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1315:13: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1315:13: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1315:13: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
#   65|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   66|       do {                                              \
#   67|->         if (!p)                                       \
#   68|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   69|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbPictureBufferDesc.h:19: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.h:17: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:19: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c: scope_hint: In function ‘svt_aom_resize_frame’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:76:20: warning[-Wanalyzer-malloc-leak]: leak of ‘malloced_p’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:838:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:87:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:838:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:838:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:88:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:838:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:88:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:838:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:87:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:839:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:88:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:839:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:838:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
#   74|       do {                                          \
#   75|           if (!p)                                   \
#   76|->             return EB_ErrorInsufficientResources; \
#   77|       } while (0)
#   78|   

Error: CPPCHECK_WARNING: [#def123]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbPictureBufferDesc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def124]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbRestoration.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def125]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbRestoration.c:72: error[uninitvar]: Uninitialized variable: conv_params.use_dist_wtd_comp_avg
#   70|       conv_params.use_jnt_comp_avg = 0;
#   71|   
#   72|->     return conv_params;
#   73|   }
#   74|   

Error: CLANG_WARNING: [#def126]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbRestoration.c:497:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
#  495|       } else {
#  496|           for (j = 0; j < width; ++j) {
#  497|->             a = src[j] * src[j];
#  498|               b = src[src_stride + j] * src[src_stride + j];
#  499|               c = src[2 * src_stride + j] * src[2 * src_stride + j];

Error: CLANG_WARNING: [#def127]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbRestoration.c:515:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  513|       // Horizontal sum over 3-pixel regions of dst
#  514|       for (i = 0; i < height; ++i) {
#  515|->         a = dst[i * dst_stride];
#  516|           b = dst[i * dst_stride + 1];
#  517|           c = dst[i * dst_stride + 2];

Error: CLANG_WARNING: [#def128]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbRestoration.c:572:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
#  570|       } else {
#  571|           for (j = 0; j < width; ++j) {
#  572|->             a = src[j] * src[j];
#  573|               b = src[src_stride + j] * src[src_stride + j];
#  574|               c = src[2 * src_stride + j] * src[2 * src_stride + j];

Error: CLANG_WARNING: [#def129]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbRestoration.c:596:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  594|       // Horizontal sum over 5-pixel regions of dst
#  595|       for (i = 0; i < height; ++i) {
#  596|->         a = dst[i * dst_stride];
#  597|           b = dst[i * dst_stride + 1];
#  598|           c = dst[i * dst_stride + 2];

Error: CPPCHECK_WARNING: [#def130]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSuperRes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def131]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def132]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:64:33: warning[core.NullDereference]: Access to field 'next_ptr' results in a dereference of a null pointer (loaded from field 'last_ptr')
#   62|       }
#   63|   
#   64|->     fifoPtr->last_ptr->next_ptr = (EbObjectWrapper *)NULL;
#   65|   
#   66|       return return_error;

Error: CLANG_WARNING: [#def133]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.c:246:28: warning[core.NullDereference]: Access to field 'lockout_mutex' results in a dereference of a null pointer (loaded from variable 'process_fifo_ptr')
#  244|   
#  245|           // Block on the Process Fifo's Mutex
#  246|->         svt_block_on_mutex(process_fifo_ptr->lockout_mutex);
#  247|   
#  248|           // Put the object on the fifo

Error: CPPCHECK_WARNING: [#def134]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbThreads.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def135]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbThreads.c:469:5: warning[deadcode.DeadStores]: Value stored to 'return_error' is never read
#  467|       return_error = EB_ErrorNone;
#  468|   #else
#  469|->     return_error = pthread_mutex_lock(&cond_var->m_mutex);
#  470|       while (cond_var->val == input) return_error = pthread_cond_wait(&cond_var->m_cond, &cond_var->m_mutex);
#  471|       return_error = pthread_mutex_unlock(&cond_var->m_mutex);

Error: CLANG_WARNING: [#def136]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbThreads.c:470:36: warning[deadcode.DeadStores]: Value stored to 'return_error' is never read
#  468|   #else
#  469|       return_error = pthread_mutex_lock(&cond_var->m_mutex);
#  470|->     while (cond_var->val == input) return_error = pthread_cond_wait(&cond_var->m_cond, &cond_var->m_mutex);
#  471|       return_error = pthread_mutex_unlock(&cond_var->m_mutex);
#  472|   #endif

Error: CPPCHECK_WARNING: [#def137]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbUtility.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def138]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbUtility.c:528:70: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  526|                   svt_aom_blk_geom_mds[*idx_mds].tx_height[tx_depth] =
#  527|                       tx_size_high[svt_aom_blk_geom_mds[*idx_mds].txsize[tx_depth]];
#  528|->                 svt_aom_blk_geom_mds[*idx_mds].tx_width_uv[tx_depth] =
#  529|                       tx_size_wide[svt_aom_blk_geom_mds[*idx_mds].txsize_uv[tx_depth]];
#  530|                   svt_aom_blk_geom_mds[*idx_mds].tx_height_uv[tx_depth] =

Error: CPPCHECK_WARNING: [#def139]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbWarpedMotion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def140]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/convolve.h:63: error[uninitvar]: Uninitialized variables: conv_params.ref, conv_params.plane, conv_params.fwd_offset, conv_params.bck_offset, conv_params.use_dist_wtd_comp_avg
#   61|       conv_params.use_jnt_comp_avg = 0;
#   62|   
#   63|->     return conv_params;
#   64|   }
#   65|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def141]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/convolve.h:63:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.ref’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/convolve.h: scope_hint: In function ‘warp_error’
#   61|       conv_params.use_jnt_comp_avg = 0;
#   62|   
#   63|->     return conv_params;
#   64|   }
#   65|   

Error: CPPCHECK_WARNING (CWE-457): [#def142]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/convolve.h:87: error[uninitvar]: Uninitialized variables: conv_params.use_jnt_comp_avg, conv_params.fwd_offset, conv_params.bck_offset, conv_params.use_dist_wtd_comp_avg
#   85|       conv_params.dst_stride = 0;
#   86|       conv_params.plane      = 0;
#   87|->     return conv_params;
#   88|   }
#   89|   

Error: CPPCHECK_WARNING: [#def143]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c: scope_hint: In function ‘init_arrays’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:263:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pred_pos_luma’
#  261|       ASSERT(pred_pos_luma != NULL);
#  262|       for (int32_t row = 0; row < num_pos_luma; row++) {
#  263|->         pred_pos_luma[row] = (int32_t *)malloc(sizeof(**pred_pos_luma) * 3);
#  264|           ASSERT(pred_pos_luma[row]);
#  265|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:270:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pred_pos_chroma’
#  268|       ASSERT(pred_pos_chroma != NULL);
#  269|       for (int32_t row = 0; row < num_pos_chroma; row++) {
#  270|->         pred_pos_chroma[row] = (int32_t *)malloc(sizeof(**pred_pos_chroma) * 3);
#  271|           ASSERT(pred_pos_chroma[row]);
#  272|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:278:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pred_pos_luma’
#  276|       for (int32_t row = -params->ar_coeff_lag; row < 0; row++) {
#  277|           for (int32_t col = -params->ar_coeff_lag; col < params->ar_coeff_lag + 1; col++) {
#  278|->             pred_pos_luma[pos_ar_index][0] = row;
#  279|               pred_pos_luma[pos_ar_index][1] = col;
#  280|               pred_pos_luma[pos_ar_index][2] = 0;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def147]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:278:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
#  276|       for (int32_t row = -params->ar_coeff_lag; row < 0; row++) {
#  277|           for (int32_t col = -params->ar_coeff_lag; col < params->ar_coeff_lag + 1; col++) {
#  278|->             pred_pos_luma[pos_ar_index][0] = row;
#  279|               pred_pos_luma[pos_ar_index][1] = col;
#  280|               pred_pos_luma[pos_ar_index][2] = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:278:44: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*<unknown>’
#  276|       for (int32_t row = -params->ar_coeff_lag; row < 0; row++) {
#  277|           for (int32_t col = -params->ar_coeff_lag; col < params->ar_coeff_lag + 1; col++) {
#  278|->             pred_pos_luma[pos_ar_index][0] = row;
#  279|               pred_pos_luma[pos_ar_index][1] = col;
#  280|               pred_pos_luma[pos_ar_index][2] = 0;

Error: CLANG_WARNING: [#def149]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:278:44: warning[core.NullDereference]: Array access results in an undefined pointer dereference
#  276|       for (int32_t row = -params->ar_coeff_lag; row < 0; row++) {
#  277|           for (int32_t col = -params->ar_coeff_lag; col < params->ar_coeff_lag + 1; col++) {
#  278|->             pred_pos_luma[pos_ar_index][0] = row;
#  279|               pred_pos_luma[pos_ar_index][1] = col;
#  280|               pred_pos_luma[pos_ar_index][2] = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:282:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pred_pos_chroma’
#  280|               pred_pos_luma[pos_ar_index][2] = 0;
#  281|   
#  282|->             pred_pos_chroma[pos_ar_index][0] = row;
#  283|               pred_pos_chroma[pos_ar_index][1] = col;
#  284|               pred_pos_chroma[pos_ar_index][2] = 0;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def151]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:282:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
#  280|               pred_pos_luma[pos_ar_index][2] = 0;
#  281|   
#  282|->             pred_pos_chroma[pos_ar_index][0] = row;
#  283|               pred_pos_chroma[pos_ar_index][1] = col;
#  284|               pred_pos_chroma[pos_ar_index][2] = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:302:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pred_pos_chroma’
#  300|   
#  301|       if (params->num_y_points > 0) {
#  302|->         pred_pos_chroma[pos_ar_index][0] = 0;
#  303|           pred_pos_chroma[pos_ar_index][1] = 0;
#  304|           pred_pos_chroma[pos_ar_index][2] = 1;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def153]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:302:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
#  300|   
#  301|       if (params->num_y_points > 0) {
#  302|->         pred_pos_chroma[pos_ar_index][0] = 0;
#  303|           pred_pos_chroma[pos_ar_index][1] = 0;
#  304|           pred_pos_chroma[pos_ar_index][2] = 1;

Error: CLANG_WARNING: [#def154]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:302:42: warning[core.NullDereference]: Array access results in an undefined pointer dereference
#  300|   
#  301|       if (params->num_y_points > 0) {
#  302|->         pred_pos_chroma[pos_ar_index][0] = 0;
#  303|           pred_pos_chroma[pos_ar_index][1] = 0;
#  304|           pred_pos_chroma[pos_ar_index][2] = 1;

Error: CLANG_WARNING: [#def155]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:334:54: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  332|           ++num_pos_chroma;
#  333|   
#  334|->     for (int32_t row = 0; row < num_pos_luma; row++) free((*pred_pos_luma)[row]);
#  335|       free(*pred_pos_luma);
#  336|   

Error: CLANG_WARNING: [#def156]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:337:56: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  335|       free(*pred_pos_luma);
#  336|   
#  337|->     for (int32_t row = 0; row < num_pos_chroma; row++) free((*pred_pos_chroma)[row]);
#  338|       free((*pred_pos_chroma));
#  339|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def157]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c: scope_hint: In function ‘generate_luma_grain_block’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:396:57: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘luma_grain_block’
#  394|       for (int32_t i = 0; i < luma_block_size_y; i++)
#  395|           for (int32_t j = 0; j < luma_block_size_x; j++)
#  396|->             luma_grain_block[i * luma_grain_stride + j] = (gaussian_sequence[get_random_number(gauss_bits)] +
#  397|                                                              ((1 << gauss_sec_shift) >> 1)) >>
#  398|                   gauss_sec_shift;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c: scope_hint: In function ‘generate_chroma_grain_blocks’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:438:61: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cb_grain_block’
#  436|           for (int32_t i = 0; i < chroma_block_size_y; i++)
#  437|               for (int32_t j = 0; j < chroma_block_size_x; j++)
#  438|->                 cb_grain_block[i * chroma_grain_stride + j] = (gaussian_sequence[get_random_number(gauss_bits)] +
#  439|                                                                  ((1 << gauss_sec_shift) >> 1)) >>
#  440|                       gauss_sec_shift;

Error: CLANG_WARNING: [#def159]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:461:21: warning[core.NullDereference]: Array access results in an undefined pointer dereference
#  459|               int32_t wsum_cr = 0;
#  460|               for (int32_t pos = 0; pos < num_pos_chroma; pos++) {
#  461|->                 if (pred_pos_chroma[pos][2] == 0) {
#  462|                       wsum_cb = wsum_cb +
#  463|                           params->ar_coeffs_cb[pos] *

Error: CLANG_WARNING: [#def160]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:461:45: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
#  459|               int32_t wsum_cr = 0;
#  460|               for (int32_t pos = 0; pos < num_pos_chroma; pos++) {
#  461|->                 if (pred_pos_chroma[pos][2] == 0) {
#  462|                       wsum_cb = wsum_cb +
#  463|                           params->ar_coeffs_cb[pos] *

Error: CLANG_WARNING: [#def161]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/grainSynthesis.c:842:38: warning[core.UndefinedBinaryOperatorResult]: The right operand of '*' is a garbage value
#  840|       } else if (width == 2) {
#  841|           while (height) {
#  842|->             dst_block[0] = clamp((27 * left_block[0] + 17 * right_block[0] + 16) >> 5, grain_min, grain_max);
#  843|               dst_block[1] = clamp((17 * left_block[1] + 27 * right_block[1] + 16) >> 5, grain_min, grain_max);
#  844|               left_block += left_stride;

Error: CLANG_WARNING: [#def162]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecBitstream.c:92:23: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'int'
#   90|   int32_t svt_aom_dec_get_bits_su(Bitstrm *bs, uint32_t n) {
#   91|       int value     = svt_aom_dec_get_bits(bs, n);
#   92|->     int sign_mask = 1 << (n - 1);
#   93|       if (value & sign_mask)
#   94|           value = value - 2 * sign_mask;

Error: CPPCHECK_WARNING: [#def163]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecCdef.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def164]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecHandle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def165]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecInterPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def166]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecInterPrediction.c:719:5: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  717|   
#  718|       /*Calling Intra prediction */
#  719|->     svt_aom_svtav1_predict_intra_block(part_info,
#  720|                                          plane,
#  721|                                          max_txsize_rect_lookup[plane_bsize],

Error: CPPCHECK_WARNING: [#def167]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecIntraPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def168]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecInverseQuantize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def169]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-126): [#def170]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:204:89: warning[-Wanalyzer-out-of-bounds]: buffer over-read
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbDefinitions.h: scope_hint: In function ‘dec_av1_filter_block_plane_vert’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c: scope_hint: In function ‘dec_av1_filter_block_plane_vert’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:204:89: note: read of 1 byte from after the end of ‘block_size_wide’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:204:89: note: valid subscripts for ‘block_size_wide’ are ‘[0]’ to ‘[21]’
#                                                   └────────────────────────────────┘
#                                                                   ^
#  202|                   const BlockSize bsize   = get_plane_block_size(mi_near->bsize, sub_x, sub_y);
#  203|                   assert(bsize < BlockSizeS_ALL);
#  204|->                 const int32_t prediction_masks = edge_dir == VERT_EDGE ? block_size_wide[bsize] - 1
#  205|                                                                          : block_size_high[bsize] - 1;
#  206|                   const int32_t pu_edge          = !(coord & prediction_masks);

Error: CLANG_WARNING: [#def171]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:204:97: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value due to array index out of bounds
#  202|                   const BlockSize bsize   = get_plane_block_size(mi_near->bsize, sub_x, sub_y);
#  203|                   assert(bsize < BlockSizeS_ALL);
#  204|->                 const int32_t prediction_masks = edge_dir == VERT_EDGE ? block_size_wide[bsize] - 1
#  205|                                                                          : block_size_high[bsize] - 1;
#  206|                   const int32_t pu_edge          = !(coord & prediction_masks);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def172]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:205:89: warning[-Wanalyzer-out-of-bounds]: buffer over-read
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbDefinitions.h: scope_hint: In function ‘dec_av1_filter_block_plane_horz’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c: scope_hint: In function ‘dec_av1_filter_block_plane_horz’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:205:89: note: read of 1 byte from after the end of ‘block_size_high’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:205:89: note: valid subscripts for ‘block_size_high’ are ‘[0]’ to ‘[21]’
#                                                   └────────────────────────────────┘
#                                                                   ^
#  203|                   assert(bsize < BlockSizeS_ALL);
#  204|                   const int32_t prediction_masks = edge_dir == VERT_EDGE ? block_size_wide[bsize] - 1
#  205|->                                                                        : block_size_high[bsize] - 1;
#  206|                   const int32_t pu_edge          = !(coord & prediction_masks);
#  207|                   /*if the current and the previous blocks are skipped,

Error: CLANG_WARNING: [#def173]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:205:97: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value due to array index out of bounds
#  203|                   assert(bsize < BlockSizeS_ALL);
#  204|                   const int32_t prediction_masks = edge_dir == VERT_EDGE ? block_size_wide[bsize] - 1
#  205|->                                                                        : block_size_high[bsize] - 1;
#  206|                   const int32_t pu_edge          = !(coord & prediction_masks);
#  207|                   /*if the current and the previous blocks are skipped,

Error: CLANG_WARNING: [#def174]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:388:25: warning[deadcode.DeadStores]: Value stored to 'cur_tx_size' is never read
#  386|                       if (cur_tx_size == TX_INVALID) {
#  387|                           params.filter_length = 0;
#  388|->                         cur_tx_size          = TX_4X4;
#  389|                       }
#  390|   

Error: CLANG_WARNING: [#def175]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:433:13: warning[deadcode.DeadStores]: Value stored to 'sub_x' during its initialization is never read
#  431|       Bool is16bit = (recon_picture_buf->bit_depth > EB_EIGHT_BIT || dec_handle->is_16bit_pipeline);
#  432|   
#  433|->     int32_t sub_x = color_config->subsampling_x;
#  434|       int32_t sub_y = color_config->subsampling_y;
#  435|   

Error: CLANG_WARNING: [#def176]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:434:13: warning[deadcode.DeadStores]: Value stored to 'sub_y' during its initialization is never read
#  432|   
#  433|       int32_t sub_x = color_config->subsampling_x;
#  434|->     int32_t sub_y = color_config->subsampling_y;
#  435|   
#  436|       uint8_t no_lf_luma = !(frm_hdr->loop_filter_params.filter_level[0]) &&

Error: CLANG_WARNING: [#def177]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecLF.c:569:25: warning[deadcode.DeadStores]: Value stored to 'cur_tx_size' is never read
#  567|                       if (cur_tx_size == TX_INVALID) {
#  568|                           params.filter_length = 0;
#  569|->                         cur_tx_size          = TX_4X4;
#  570|                       }
#  571|   

Error: CPPCHECK_WARNING: [#def178]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecMemInit.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def179]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecMemInit.c:447:5: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'int32_t *', which is incompatible with sizeof operand type 'int32_t'
#  445|       EB_MALLOC_DEC(RestorationLineBuffers ***, lr_ctxt->rlbs,
#  446|           num_instances * sizeof(RestorationLineBuffers**));
#  447|->     EB_MALLOC_DEC(int32_t **, lr_ctxt->rst_tmpbuf,
#  448|            num_instances * RESTORATION_TMPBUF_SIZE);
#  449|       for (uint32_t i = 0; i < num_instances; i++) {

Error: CLANG_WARNING: [#def180]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecMemInit.c:451:9: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'RestorationLineBuffers *', which is incompatible with sizeof operand type 'RestorationLineBuffers **'
#  449|       for (uint32_t i = 0; i < num_instances; i++) {
#  450|           RestorationLineBuffers **p_rlbs;
#  451|->         EB_MALLOC_DEC(RestorationLineBuffers**, lr_ctxt->rlbs[i],
#  452|               num_planes * sizeof(RestorationLineBuffers**));
#  453|           p_rlbs = lr_ctxt->rlbs[i];

Error: CPPCHECK_WARNING: [#def181]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecObmc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def182]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseBlock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def183]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseBlock.c:1551:68: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>>' is a garbage value due to array index out of bounds
# 1549|           uint8_t         subx        = i ? parse_ctxt->seq_header->color_config.subsampling_x : 0;
# 1550|           const BlockSize plane_bsize = get_plane_block_size(bsize, subx, suby);
# 1551|->         const int       txs_wide    = block_size_wide[plane_bsize] >> tx_size_wide_log2[0];
# 1552|           const int       txs_high    = block_size_high[plane_bsize] >> tx_size_high_log2[0];
# 1553|   

Error: CPPCHECK_WARNING: [#def184]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseFrame.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def185]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseHelper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def186]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseBlock.c:20: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseHelper.h:54:5: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#   52|   
#   53|   static INLINE int max_block_wide(PartitionInfo *part_info, int plane_bsize, int subx) {
#   54|->     int max_blocks_wide = block_size_wide[plane_bsize];
#   55|       if (part_info->mb_to_right_edge < 0)
#   56|           max_blocks_wide += gcc_right_shift(part_info->mb_to_right_edge, 3 + subx);

Error: CLANG_WARNING: [#def187]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseHelper.h:62:5: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#   60|   
#   61|   static INLINE int max_block_high(PartitionInfo *part_info, int plane_bsize, int suby) {
#   62|->     int max_blocks_high = block_size_high[plane_bsize];
#   63|       if (part_info->mb_to_bottom_edge < 0)
#   64|           max_blocks_high += gcc_right_shift(part_info->mb_to_bottom_edge, 3 + suby);

Error: CPPCHECK_WARNING: [#def188]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def189]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:1278:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1276|       }
# 1277|       case NEARMV: {
# 1278|->         mv[0].as_int = near_mv[0].as_int;
# 1279|           break;
# 1280|       }

Error: CLANG_WARNING: [#def190]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:1301:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1299|       case NEAR_NEARMV: {
# 1300|           assert(is_compound);
# 1301|->         mv[0].as_int = near_mv[0].as_int;
# 1302|           mv[1].as_int = near_mv[1].as_int;
# 1303|           break;

Error: CLANG_WARNING: [#def191]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:1320:32: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1318|       }
# 1319|       case NEAR_NEWMV: {
# 1320|->         mv[0].as_int           = near_mv[0].as_int;
# 1321|           NmvContext *const nmvc = &parse_ctxt->cur_tile_ctx.nmvc;
# 1322|           read_mv(r, &mv[1].as_mv, &ref_mv[1].as_mv, nmvc, allow_hp);

Error: CLANG_WARNING: [#def192]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:1330:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1328|           read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp);
# 1329|           assert(is_compound);
# 1330|->         mv[1].as_int = near_mv[1].as_int;
# 1331|           break;
# 1332|       }

Error: CLANG_WARNING: [#def193]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:2186:77: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2184|                   }
# 2185|                   for (int i = on_screen_height; i < block_height; i++) {
# 2186|->                     for (int j = 0; j < block_width; j++) { color_map[i][j] = color_map[on_screen_height - 1][j]; }
# 2187|                   }
# 2188|               }

Error: CLANG_WARNING: [#def194]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:2211:71: warning[core.uninitialized.ArraySubscript]: Array subscript is undefined
# 2209|                       for (int i = 0; i < block_height; i++) {
# 2210|                           for (int j = 0; j < block_width; j++) {
# 2211|->                             temp_buf[i * recon_stride + j] = (uint8_t)palette[color_map[i][j]];
# 2212|                           }
# 2213|                       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def195]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c: scope_hint: In function ‘svt_aom_palette_tokens’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:2211:91: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘color_map[i][j]’
# 2209|                       for (int i = 0; i < block_height; i++) {
# 2210|                           for (int j = 0; j < block_width; j++) {
# 2211|->                             temp_buf[i * recon_stride + j] = (uint8_t)palette[color_map[i][j]];
# 2212|                           }
# 2213|                       }

Error: CLANG_WARNING: [#def196]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:2218:62: warning[core.uninitialized.ArraySubscript]: Array subscript is undefined
# 2216|                       for (int i = 0; i < block_height; i++) {
# 2217|                           for (int j = 0; j < block_width; j++) {
# 2218|->                             temp_buf[i * recon_stride + j] = palette[color_map[i][j]];
# 2219|                           }
# 2220|                       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def197]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:2218:82: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘color_map[i][j]’
# 2216|                       for (int i = 0; i < block_height; i++) {
# 2217|                           for (int j = 0; j < block_width; j++) {
# 2218|->                             temp_buf[i * recon_stride + j] = palette[color_map[i][j]];
# 2219|                           }
# 2220|                       }

Error: CPPCHECK_WARNING: [#def198]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseObu.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def199]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseObu.c:682:62: warning[core.DivideZero]: Division by zero
#  680|               max_tile_area_sb = sb_rows * sb_cols;
#  681|           assert(widest_tile_sb > 0);
#  682|->         tile_info->max_tile_height_sb = MAX(max_tile_area_sb / widest_tile_sb, 1);
#  683|   
#  684|           start_sb = 0;

Error: CLANG_WARNING: [#def200]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecParseObu.c:2414:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2412|               obu_header.payload_size -= obu_header.size;
# 2413|   
# 2414|->         payload_size = obu_header.payload_size;
# 2415|   
# 2416|           *data += (obu_header.size + length_size);

Error: CPPCHECK_WARNING: [#def201]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecPicMgr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def202]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def203]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecProcess.c:255:9: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'uint16_t *', which is incompatible with sizeof operand type 'uint16_t **'
#  253|       for (int32_t sb_row = 0; sb_row < (nvfb + 1); sb_row++) {
#  254|           uint16_t **p_linebuf;
#  255|->         EB_MALLOC_DEC(uint16_t **, dec_mt_frame_data->cdef_linebuf[sb_row], num_planes * sizeof(uint16_t **));
#  256|           p_linebuf = dec_mt_frame_data->cdef_linebuf[sb_row];
#  257|           for (int32_t pli = 0; pli < num_planes; pli++) {

Error: CPPCHECK_WARNING: [#def204]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecProcessBlock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def205]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecProcessBlock.c:326:13: warning[deadcode.DeadStores]: Value stored to 'n_coeffs' is never read
#  324|                                         trans_info->txb_y_offset);
#  325|   
#  326|->             n_coeffs = 0;
#  327|   
#  328|               if (!mode_info->skip && trans_info->cbf) {

Error: CPPCHECK_WARNING: [#def206]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecRestoration.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def207]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecRestoration.c:458: warning[uninitvar]: Uninitialized variables: tile_rect.left, tile_rect.top, tile_rect.right, tile_rect.bottom
#  456|       }
#  457|   
#  458|->     int tile_h  = tile_rect[AOM_PLANE_Y].bottom - tile_rect[AOM_PLANE_Y].top;
#  459|       int sb_size = 1 << dec_handle->seq_header.sb_size_log2;
#  460|   

Error: CPPCHECK_WARNING: [#def208]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecSuperRes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def209]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecSuperRes.c:44:40: warning[core.NullDereference]: Access to field 'bit_depth' results in a dereference of a null pointer (loaded from variable 'src')
#   42|                                          frm_hdr->frame_size.frame_height >> sub_x,
#   43|                                          sub_x,
#   44|->                                        src->bit_depth,
#   45|                                          dst->is_16bit_pipeline);
#   46|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def210]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecSuperRes.c: scope_hint: In function ‘av1_upscale_normative_and_extend_frame’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecSuperRes.c:44:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
#   42|                                          frm_hdr->frame_size.frame_height >> sub_x,
#   43|                                          sub_x,
#   44|->                                        src->bit_depth,
#   45|                                          dst->is_16bit_pipeline);
#   46|       }

Error: CPPCHECK_WARNING: [#def211]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Decoder/Codec/EbDecUtils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def212]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbCdef_AVX2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def213]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbCdef_AVX2.c: scope_hint: In function ‘svt_search_one_dual_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbCdef_AVX2.c:47:17: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbCdef_AVX2.c: scope_hint: In function ‘sum32’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbCdef_AVX2.c:201:24: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   45|                   best_mse = curr;
#   46|           }
#   47|->         __m256i best_mse_ = _mm256_set1_epi64x(best_mse);
#   48|           /* Find best mse when adding each possible new option. */
#   49|           //assert(~total_strengths % 4);

Error: CPPCHECK_WARNING: [#def214]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def215]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:308:17: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  306|                       ss10 = _mm256_adds_epu16(ss10, ss0);
#  307|                   }
#  308|->                 p_src += src_stride;
#  309|                   p_ref += ref_stride;
#  310|               }

Error: CLANG_WARNING: [#def216]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:309:17: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  307|                   }
#  308|                   p_src += src_stride;
#  309|->                 p_ref += ref_stride;
#  310|               }
#  311|   

Error: CLANG_WARNING: [#def217]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:513:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  511|                           s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  512|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  513|->                         p_src += src_stride << 1;
#  514|                           p_ref += ref_stride << 1;
#  515|                       }

Error: CLANG_WARNING: [#def218]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:514:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  512|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  513|                           p_src += src_stride << 1;
#  514|->                         p_ref += ref_stride << 1;
#  515|                       }
#  516|   

Error: CLANG_WARNING: [#def219]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:545:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  543|                           s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  544|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  545|->                         p_src += src_stride << 1;
#  546|                           p_ref += ref_stride << 1;
#  547|                       }

Error: CLANG_WARNING: [#def220]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:546:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  544|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  545|                           p_src += src_stride << 1;
#  546|->                         p_ref += ref_stride << 1;
#  547|                       }
#  548|   

Error: CLANG_WARNING: [#def221]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:690:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  688|                           s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  689|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  690|->                         p_src += src_stride << 1;
#  691|                           p_ref += ref_stride << 1;
#  692|                       }

Error: CLANG_WARNING: [#def222]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:691:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  689|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  690|                           p_src += src_stride << 1;
#  691|->                         p_ref += ref_stride << 1;
#  692|                       }
#  693|   

Error: CLANG_WARNING: [#def223]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:736:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  734|                           s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  735|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  736|->                         p_src += src_stride << 1;
#  737|                           p_ref += ref_stride << 1;
#  738|                       }

Error: CLANG_WARNING: [#def224]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:737:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  735|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  736|                           p_src += src_stride << 1;
#  737|->                         p_ref += ref_stride << 1;
#  738|                       }
#  739|   

Error: CLANG_WARNING: [#def225]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:871:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  869|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  870|                           s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  871|->                         p_src += src_stride << 1;
#  872|                           p_ref += ref_stride << 1;
#  873|                       }

Error: CLANG_WARNING: [#def226]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:872:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  870|                           s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  871|                           p_src += src_stride << 1;
#  872|->                         p_ref += ref_stride << 1;
#  873|                       }
#  874|   

Error: CLANG_WARNING: [#def227]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:907:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  905|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  906|                           s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  907|->                         p_src += src_stride << 1;
#  908|                           p_ref += ref_stride << 1;
#  909|                       }

Error: CLANG_WARNING: [#def228]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:908:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  906|                           s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  907|                           p_src += src_stride << 1;
#  908|->                         p_ref += ref_stride << 1;
#  909|                       }
#  910|   

Error: CLANG_WARNING: [#def229]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:959:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  957|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
#  958|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
#  959|->                         p_src += 2 * src_stride;
#  960|                           p_ref += 2 * ref_stride;
#  961|                       }

Error: CLANG_WARNING: [#def230]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:960:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  958|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
#  959|                           p_src += 2 * src_stride;
#  960|->                         p_ref += 2 * ref_stride;
#  961|                       }
#  962|   

Error: CLANG_WARNING: [#def231]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1005:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1003|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
# 1004|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1005|->                         p_src += 2 * src_stride;
# 1006|                           p_ref += 2 * ref_stride;
# 1007|                       }

Error: CLANG_WARNING: [#def232]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1006:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1004|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1005|                           p_src += 2 * src_stride;
# 1006|->                         p_ref += 2 * ref_stride;
# 1007|                       }
# 1008|   

Error: CLANG_WARNING: [#def233]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1055:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1053|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
# 1054|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1055|->                         p_src += 2 * src_stride;
# 1056|                           p_ref += 2 * ref_stride;
# 1057|                       }

Error: CLANG_WARNING: [#def234]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1056:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1054|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1055|                           p_src += 2 * src_stride;
# 1056|->                         p_ref += 2 * ref_stride;
# 1057|                       }
# 1058|   

Error: CLANG_WARNING: [#def235]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1115:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1113|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
# 1114|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1115|->                         p_src += 2 * src_stride;
# 1116|                           p_ref += 2 * ref_stride;
# 1117|                       }

Error: CLANG_WARNING: [#def236]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1116:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1114|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1115|                           p_src += 2 * src_stride;
# 1116|->                         p_ref += 2 * ref_stride;
# 1117|                       }
# 1118|   

Error: CLANG_WARNING: [#def237]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1180:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1178|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
# 1179|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1180|->                         p_src += 2 * src_stride;
# 1181|                           p_ref += 2 * ref_stride;
# 1182|                       }

Error: CLANG_WARNING: [#def238]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1181:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1179|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1180|                           p_src += 2 * src_stride;
# 1181|->                         p_ref += 2 * ref_stride;
# 1182|                       }
# 1183|   

Error: CLANG_WARNING: [#def239]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1246:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1244|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
# 1245|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1246|->                         p_src += 2 * src_stride;
# 1247|                           p_ref += 2 * ref_stride;
# 1248|                       }

Error: CLANG_WARNING: [#def240]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1247:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1245|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1246|                           p_src += 2 * src_stride;
# 1247|->                         p_ref += 2 * ref_stride;
# 1248|                       }
# 1249|   

Error: CLANG_WARNING: [#def241]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1310:13: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1308|                                                    _mm_loadu_si128((__m128i *)(p_src + src_stride)),
# 1309|                                                    0x1);
# 1310|->             p_src += 2 * src_stride;
# 1311|   
# 1312|               for (i = 0; i < search_area_height; i++) {

Error: CLANG_WARNING: [#def242]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1534:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1532|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1533|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1534|->                         p_src += src_stride;
# 1535|                           p_ref += ref_stride;
# 1536|                       }

Error: CLANG_WARNING: [#def243]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1535:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1533|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1534|                           p_src += src_stride;
# 1535|->                         p_ref += ref_stride;
# 1536|                       }
# 1537|   

Error: CLANG_WARNING: [#def244]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1596:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1594|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1595|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1596|->                         p_src += src_stride;
# 1597|                           p_ref += ref_stride;
# 1598|                       }

Error: CLANG_WARNING: [#def245]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1597:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1595|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1596|                           p_src += src_stride;
# 1597|->                         p_ref += ref_stride;
# 1598|                       }
# 1599|   

Error: CLANG_WARNING: [#def246]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1663:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1661|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1662|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1663|->                         p_src += src_stride;
# 1664|                           p_ref += ref_stride;
# 1665|                       }

Error: CLANG_WARNING: [#def247]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1664:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1662|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1663|                           p_src += src_stride;
# 1664|->                         p_ref += ref_stride;
# 1665|                       }
# 1666|   

Error: CLANG_WARNING: [#def248]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1732:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1730|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1731|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1732|->                         p_src += src_stride;
# 1733|                           p_ref += ref_stride;
# 1734|                       }

Error: CLANG_WARNING: [#def249]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1733:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1731|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1732|                           p_src += src_stride;
# 1733|->                         p_ref += ref_stride;
# 1734|                       }
# 1735|   

Error: CLANG_WARNING: [#def250]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:4629:44: warning[deadcode.DeadStores]: Value stored to 's6' during its initialization is never read
# 4627|       uint32_t       k;
# 4628|       const uint8_t *p_ref, *p_src;
# 4629|->     __m128i        s0, s1, s2, s3, s4, s5, s6 = _mm_set1_epi32(-1);
# 4630|       __m256i        ss0, ss1, ss2, ss3, ss4, ss5, ss6, ss7, ss8, ss9, ss10, ss11;
# 4631|       __m256i        ss12, ss13, ss14, ss15, ss16, ss17, ss18;

Error: CLANG_WARNING: [#def251]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:4659:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 4657|                       ss3 = _mm256_adds_epu16(ss3, _mm256_mpsadbw_epu8(ss0, ss2, 0));
# 4658|                       ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 4659|->                     p_ref += ref_stride << 2;
# 4660|                       ss3 = _mm256_adds_epu16(ss3, ss5);
# 4661|                       s3  = _mm_adds_epu16(_mm256_castsi256_si128(ss3), _mm256_extracti128_si256(ss3, 1));

Error: CLANG_WARNING: [#def252]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:4922:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 4920|                       ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 4921|                       ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 4922|->                     p_ref += ref_stride << 2;
# 4923|                       ss3 = _mm256_adds_epu16(_mm256_adds_epu16(ss3, ss4), _mm256_adds_epu16(ss5, ss6));
# 4924|                       s3  = _mm_adds_epu16(_mm256_castsi256_si128(ss3), _mm256_extracti128_si256(ss3, 1));

Error: CLANG_WARNING: [#def253]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:5082:45: warning[deadcode.DeadStores]: Although the value stored to 'ss7' is used in the enclosing expression, the value is never actually read from 'ss7'
# 5080|                       p_src = src;
# 5081|                       p_ref = ref + j;
# 5082|->                     ss3 = ss4 = ss5 = ss6 = ss7 = _mm256_setzero_si256();
# 5083|                       for (k = 0; k < (block_height - 1); k += 2) {
# 5084|                           ss0 = _mm256_insertf128_si256(_mm256_castsi128_si256(_mm_loadu_si128((__m128i *)p_ref)),

Error: CPPCHECK_WARNING: [#def254]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbNoiseModel_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def255]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbNoiseModel_avx2.c: scope_hint: In function ‘svt_av1_add_block_observations_internal_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbNoiseModel_avx2.c:21:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   19|                                                     double *buffer, double *buffer_norm, double *b, double *A) {
#   20|       uint32_t      i;
#   21|->     const __m256d recp_spr_pd = _mm256_set1_pd(recp_sqr_norm);
#   22|       const __m256d val_pd      = _mm256_set1_pd(val);
#   23|       __m256d       buffer_pd, tmp_pd;

Error: CPPCHECK_WARNING: [#def256]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbRestorationPick_AVX2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def257]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbRestorationPick_AVX2.c: scope_hint: In function ‘svt_get_proj_subspace_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbRestorationPick_AVX2.c:48:10: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   46|       __m256i h_00, h_01, h_11;
#   47|       __m256i c_0, c_1;
#   48|->     h_00 = _mm256_setzero_si256();
#   49|       h_01 = _mm256_setzero_si256();
#   50|       h_11 = _mm256_setzero_si256();

Error: CPPCHECK_WARNING: [#def258]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbTemporalFiltering_AVX2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def259]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbTemporalFiltering_AVX2.c: scope_hint: In function ‘__m256i_div_epi32’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbTemporalFiltering_AVX2.c:680:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  678|   }
#  679|   
#  680|-> static INLINE __m256i __m256i_div_epi32(const __m256i *a, const __m256i *b) {
#  681|       __m256 d_f = _mm256_div_ps(_mm256_cvtepi32_ps(*a), _mm256_cvtepi32_ps(*b));
#  682|       return _mm256_cvtps_epi32(_mm256_floor_ps(d_f));

Error: CPPCHECK_WARNING: [#def260]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbTransforms_Intrinsic_AVX2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def261]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbTransforms_Intrinsic_AVX2.c: scope_hint: In function ‘energy_computation_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbTransforms_Intrinsic_AVX2.c:40:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbTransforms_Intrinsic_AVX2.c: scope_hint: In function ‘hadd64_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/EbTransforms_Intrinsic_AVX2.c:29:24: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   38|   
#   39|   static INLINE uint64_t energy_computation_avx2(const int32_t *const in, const uint32_t size) {
#   40|->     const __m256i zero = _mm256_setzero_si256();
#   41|       uint32_t      i    = 0;
#   42|       __m256i       sum  = zero;

Error: COMPILER_WARNING: [#def262]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/av1_quantize_avx2.c: scope_hint: In function ‘mm256_mullo_epi64’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/av1_quantize_avx2.c:341:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/av1_quantize_avx2.c: scope_hint: In function ‘quant_gather_eob’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/av1_quantize_avx2.c:93:24: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#  339|   }
#  340|   // 64 bit multiply. return the low 64 bits of the intermediate integers
#  341|-> static inline __m256i mm256_mullo_epi64(const __m256i a, const __m256i b) {
#  342|       // if a 64bit integer 'a' can be represented by its low 32bit part a0 and high 32bit part a1 as: a1<<32+a0,
#  343|       // 64bit integer multiply a*b can expand to: (a1*b1)<<64 + (a1*b0 + a0*b1)<<32 + a0*b0.

Error: COMPILER_WARNING: [#def263]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/corner_match_avx2.c: scope_hint: In function ‘svt_av1_compute_cross_correlation_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/corner_match_avx2.c:29:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   27|       int           mask_idx = match_sz / 2;
#   28|       const __m128i mask     = _mm_loadu_si128((__m128i *)svt_aom_compute_cross_byte_mask[mask_idx]);
#   29|->     const __m256i zero     = _mm256_setzero_si256();
#   30|       __m128i       v1, v2;
#   31|   

Error: CPPCHECK_WARNING: [#def264]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/encodetxb_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def265]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/fft_avx2.c: scope_hint: In function ‘transpose8x8_float’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/fft_avx2.c:29:12: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   27|   
#   28|   static INLINE void transpose8x8_float(const float *A, float *b, const int32_t lda, const int32_t ldb) {
#   29|->     __m256 in0 = _mm256_loadu_ps(&A[0 * lda]);
#   30|       __m256 in1 = _mm256_loadu_ps(&A[1 * lda]);
#   31|       __m256 in2 = _mm256_loadu_ps(&A[2 * lda]);

Error: COMPILER_WARNING (CWE-457): [#def266]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c:8002:13: warning[-Wmaybe-uninitialized]: ‘in’ may be used uninitialized
# 8002 |     in[0] = _mm256_permute2x128_si256(input[0], input[2], 0x20);
#      |             ^
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c: scope_hint: In function ‘svt_av1_fwd_txfm2d_8x4_N2_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c:9403:19: note: ‘in’ declared here
# 9403 |     __m256i       in[4];
#      |                   ^
# 8000|       __m256i       v[4];
# 8001|   
# 8002|->     in[0] = _mm256_permute2x128_si256(input[0], input[2], 0x20);
# 8003|       in[1] = _mm256_permute2x128_si256(input[0], input[2], 0x31);
# 8004|   

Error: COMPILER_WARNING: [#def267]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/highbd_quantize_intrin_avx2.c: scope_hint: In function ‘load_bytes_to_m256_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/highbd_quantize_intrin_avx2.c:156:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/highbd_quantize_intrin_avx2.c: scope_hint: In function ‘quantize_qm’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/highbd_quantize_intrin_avx2.c:109:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#  154|   }
#  155|   
#  156|-> static INLINE __m256i load_bytes_to_m256_avx2(const QmVal *p) {
#  157|       __m128i small_load = _mm_loadl_epi64((const __m128i *)p);
#  158|       return _mm256_cvtepu8_epi32(small_load);

Error: COMPILER_WARNING: [#def268]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/highbd_variance_avx2.c: scope_hint: In function ‘aom_highbd_calc16x16var_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/highbd_variance_avx2.c:56:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   54|   static void aom_highbd_calc16x16var_avx2(const uint16_t *src, int src_stride, const uint16_t *ref, int ref_stride,
#   55|                                            uint32_t *sse, int *sum) {
#   56|->     __m256i       v_sum_d = _mm256_setzero_si256();
#   57|       __m256i       v_sse_d = _mm256_setzero_si256();
#   58|       const __m256i one     = _mm256_set1_epi16(1);

Error: COMPILER_WARNING: [#def269]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/obmc_sad_avx2.c: scope_hint: In function ‘obmc_sad_w8n_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/obmc_sad_avx2.c:73:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   71|       const int     pre_step = pre_stride - width;
#   72|       int           n        = 0;
#   73|->     __m256i       v_sad_d  = _mm256_setzero_si256();
#   74|       const __m256i v_bias_d = _mm256_set1_epi32((1 << 12) >> 1);
#   75|       assert(width >= 8);

Error: CPPCHECK_WARNING: [#def270]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/obmc_variance_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def271]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/obmc_variance_avx2.c: scope_hint: In function ‘obmc_variance_w16n’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/obmc_variance_avx2.c:121:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  119|       __m256i       v_d;
#  120|       __m128i       res0;
#  121|->     const __m256i v_bias_d = _mm256_set1_epi32((1 << 12) >> 1);
#  122|       __m256i       v_sum_d  = _mm256_setzero_si256();
#  123|       __m256i       v_sse_d  = _mm256_setzero_si256();

Error: COMPILER_WARNING: [#def272]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/palette_avx2.c: scope_hint: In function ‘svt_av1_calc_indices_dim1_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/palette_avx2.c:29:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   27|       memset(indices, 0, n * sizeof(uint8_t));
#   28|   
#   29|->     __m256i centroids_0 = _mm256_set1_epi32(centroids[0]);
#   30|       for (i = 0; i < n; i += 8) {
#   31|           __m256i data_dd = _mm256_loadu_si256((__m256i *)(data + i));

Error: CPPCHECK_WARNING: [#def273]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/pickrst_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def274]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def275]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:40:35: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#   38|       const uint64_t mask_c       = (1LL << bits_to_mask) - 1;
#   39|       const __m128i  blend_mask   = _mm_set1_epi64x(mask_c);
#   40|->     const __m128i  src_0        = _mm_set1_epi8(input[0]);
#   41|       *dst                        = _mm_loadl_epi64((const __m128i *)(input)); // lo 64-bit: 0 1 2 3 4 5 6 7 8
#   42|       *dst                        = _mm_slli_epi64(*dst, bits_to_mask); // lo 64-bit: x x x 0 1 2 3 4 5

Error: CLANG_WARNING: [#def276]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:654:54: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  652|           int      blend_len = 3;
#  653|           uint16_t tmp[8];
#  654|->         for (int i = 0; i < blend_len; ++i) { tmp[i] = input[0]; }
#  655|           memcpy(tmp + blend_len, input, (8 - blend_len) * sizeof(uint16_t));
#  656|   

Error: CLANG_WARNING: [#def277]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2063:13: warning[deadcode.DeadStores]: Value stored to 'optr' is never read
# 2061|               highbd_down2_symeven_output_4x8_kernel(vec_src, filter_2x, base_sum, min, max, optr, out_stride);
# 2062|   
# 2063|->             optr += steps / 2 * out_stride;
# 2064|               in += steps * in_stride;
# 2065|           }

Error: CLANG_WARNING: [#def278]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2064:13: warning[deadcode.DeadStores]: Value stored to 'in' is never read
# 2062|   
# 2063|               optr += steps / 2 * out_stride;
# 2064|->             in += steps * in_stride;
# 2065|           }
# 2066|       }

Error: CLANG_WARNING: [#def279]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2110:13: warning[deadcode.DeadStores]: Value stored to 'x' is never read
# 2108|               in += 4 * in_stride;
# 2109|   
# 2110|->             x += 2;
# 2111|           }
# 2112|   

Error: CLANG_WARNING: [#def280]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2122:13: warning[deadcode.DeadStores]: Value stored to 'optr' is never read
# 2120|               highbd_down2_symeven_output_4x2_kernel(vec_src, filter_2x, base_sum, min, max, optr, out_stride);
# 2121|   
# 2122|->             optr += 2 * out_stride;
# 2123|               in += 4 * in_stride;
# 2124|           }

Error: CLANG_WARNING: [#def281]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2123:13: warning[deadcode.DeadStores]: Value stored to 'in' is never read
# 2121|   
# 2122|               optr += 2 * out_stride;
# 2123|->             in += 4 * in_stride;
# 2124|           }
# 2125|       }

Error: CLANG_WARNING: [#def282]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2347:13: warning[deadcode.DeadStores]: Value stored to 'optr' is never read
# 2345|               down2_symeven_output_4x16_kernel(vec_src, filter_2x, base_sum, min, max, optr, out_stride);
# 2346|   
# 2347|->             optr += 4 * out_stride;
# 2348|               in += 8 * in_stride;
# 2349|           }

Error: CLANG_WARNING: [#def283]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2348:13: warning[deadcode.DeadStores]: Value stored to 'in' is never read
# 2346|   
# 2347|               optr += 4 * out_stride;
# 2348|->             in += 8 * in_stride;
# 2349|           }
# 2350|       }

Error: CLANG_WARNING: [#def284]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2417:13: warning[deadcode.DeadStores]: Value stored to 'optr' is never read
# 2415|               down2_symeven_output_4x4_kernel(vec_src, filter_2x, base_sum, min, max, optr, out_stride);
# 2416|   
# 2417|->             optr += 4 * out_stride; // steps 4 rows
# 2418|               in += 8 * in_stride; // steps 8 rows
# 2419|           }

Error: CLANG_WARNING: [#def285]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2418:13: warning[deadcode.DeadStores]: Value stored to 'in' is never read
# 2416|   
# 2417|               optr += 4 * out_stride; // steps 4 rows
# 2418|->             in += 8 * in_stride; // steps 8 rows
# 2419|           }
# 2420|       }

Error: CLANG_WARNING: [#def286]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2425:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'arrbuf'
# 2423|           uint8_t *arrbuf, *arrbuf2;
# 2424|           EB_MALLOC_ARRAY(arrbuf, in_height);
# 2425|->         EB_MALLOC_ARRAY(arrbuf2, out_height);
# 2426|           if (arrbuf == NULL || arrbuf2 == NULL) {
# 2427|               EB_FREE_ARRAY(arrbuf);

Error: COMPILER_WARNING: [#def287]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/ssim_avx2.c: scope_hint: In function ‘svt_ssim_8x8_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/ssim_avx2.c:45:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/ssim_avx2.c: scope_hint: In function ‘sum8’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/ssim_avx2.c:21:24: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   43|                            int count, uint32_t bd);
#   44|   double        svt_ssim_8x8_avx2(const uint8_t *s, uint32_t sp, const uint8_t *r, uint32_t rp) {
#   45|->     __m256i vec_sum_s    = _mm256_setzero_si256();
#   46|       __m256i vec_sum_r    = _mm256_setzero_si256();
#   47|       __m256i vec_sum_sq_s = _mm256_setzero_si256();

Error: COMPILER_WARNING: [#def288]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/variance_avx2.c: scope_hint: In function ‘sum_to_32bit_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/variance_avx2.c:62:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/variance_avx2.c: scope_hint: In function ‘variance_kernel_no_sum_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/variance_avx2.c:24:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   60|   }
#   61|   
#   62|-> static INLINE __m256i sum_to_32bit_avx2(const __m256i sum) {
#   63|       const __m256i sum_lo = _mm256_cvtepi16_epi32(_mm256_castsi256_si128(sum));
#   64|       const __m256i sum_hi = _mm256_cvtepi16_epi32(_mm256_extractf128_si256(sum, 1));

Error: CPPCHECK_WARNING: [#def289]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/variance_impl_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def290]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/variance_impl_avx2.c: scope_hint: In function ‘svt_aom_sub_pixel_variance32xh_avx2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_AVX2/variance_impl_avx2.c:166:14: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  164|       __m256i zero_reg;
#  165|       int     i, sum;
#  166|->     sum_reg  = _mm256_set1_epi16(0);
#  167|       sse_reg  = _mm256_set1_epi16(0);
#  168|       zero_reg = _mm256_set1_epi16(0);

Error: CPPCHECK_WARNING: [#def291]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE2/encodetxb_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def292]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbCdef_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def293]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def294]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:141:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  139|                       s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  140|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  141|->                     p_src += src_stride << 1;
#  142|                       p_ref += ref_stride << 1;
#  143|                   }

Error: CLANG_WARNING: [#def295]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:142:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  140|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  141|                       p_src += src_stride << 1;
#  142|->                     p_ref += ref_stride << 1;
#  143|                   }
#  144|   

Error: CLANG_WARNING: [#def296]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:173:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  171|                       s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  172|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  173|->                     p_src += src_stride << 1;
#  174|                       p_ref += ref_stride << 1;
#  175|                   }

Error: CLANG_WARNING: [#def297]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:174:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  172|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  173|                       p_src += src_stride << 1;
#  174|->                     p_ref += ref_stride << 1;
#  175|                   }
#  176|   

Error: CLANG_WARNING: [#def298]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:211:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  209|                       s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  210|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  211|->                     p_src += src_stride << 1;
#  212|                       p_ref += ref_stride << 1;
#  213|                   }

Error: CLANG_WARNING: [#def299]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:212:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  210|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  211|                       p_src += src_stride << 1;
#  212|->                     p_ref += ref_stride << 1;
#  213|                   }
#  214|   

Error: CLANG_WARNING: [#def300]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:256:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  254|                       s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  255|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  256|->                     p_src += src_stride << 1;
#  257|                       p_ref += ref_stride << 1;
#  258|                   }

Error: CLANG_WARNING: [#def301]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:257:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  255|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  256|                       p_src += src_stride << 1;
#  257|->                     p_ref += ref_stride << 1;
#  258|                   }
#  259|   

Error: CLANG_WARNING: [#def302]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:311:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  309|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  310|                       s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  311|->                     p_src += src_stride << 1;
#  312|                       p_ref += ref_stride << 1;
#  313|                   }

Error: CLANG_WARNING: [#def303]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:312:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  310|                       s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  311|                       p_src += src_stride << 1;
#  312|->                     p_ref += ref_stride << 1;
#  313|                   }
#  314|   

Error: CLANG_WARNING: [#def304]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:347:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  345|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  346|                       s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  347|->                     p_src += src_stride << 1;
#  348|                       p_ref += ref_stride << 1;
#  349|                   }

Error: CLANG_WARNING: [#def305]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:348:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  346|                       s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  347|                       p_src += src_stride << 1;
#  348|->                     p_ref += ref_stride << 1;
#  349|                   }
#  350|   

Error: CLANG_WARNING: [#def306]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:371:36: warning[deadcode.DeadStores]: Although the value stored to 's6' is used in the enclosing expression, the value is never actually read from 's6'
#  369|                       p_src = src;
#  370|                       p_ref = ref + j;
#  371|->                     s3 = s4 = s5 = s6 = _mm_setzero_si128();
#  372|                       for (k = 0; k < block_height; k++) {
#  373|                           s0 = _mm_loadu_si128((__m128i *)p_ref);

Error: CLANG_WARNING: [#def307]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:395:36: warning[deadcode.DeadStores]: Although the value stored to 's6' is used in the enclosing expression, the value is never actually read from 's6'
#  393|                       p_src = src;
#  394|                       p_ref = ref + j;
#  395|->                     s3 = s4 = s5 = s6 = _mm_setzero_si128();
#  396|                       for (k = 0; k < block_height; k++) {
#  397|                           s0 = _mm_loadu_si128((__m128i *)p_ref);

Error: CLANG_WARNING: [#def308]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:2276:48: warning[deadcode.DeadStores]: Value stored to 's7' during its initialization is never read
# 2274|       uint32_t       k;
# 2275|       const uint8_t *p_ref, *p_src;
# 2276|->     __m128i        s0, s1, s2, s3, s4, s5, s6, s7 = _mm_set1_epi32(-1);
# 2277|       MV             best_mv;
# 2278|       switch (block_width) {

Error: CPPCHECK_WARNING: [#def309]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/EbTemporalFiltering_SSE4_1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def310]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/encodetxb_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def311]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-457): [#def312]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:8362:18: warning[-Wmaybe-uninitialized]: ‘in’ may be used uninitialized
# 8362 |     in[1] = input[4];
#      |                  ^
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c: scope_hint: In function ‘svt_av1_fwd_txfm2d_8x4_N2_sse4_1’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:9786:19: note: ‘in’ declared here
# 9786 |     __m128i       in[8];
#      |                   ^
# 8360|   
# 8361|       in[0] = input[0];
# 8362|->     in[1] = input[4];
# 8363|       in[2] = input[1];
# 8364|       in[3] = input[5];

Error: COMPILER_WARNING (CWE-457): [#def313]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:8364:18: warning[-Wmaybe-uninitialized]: ‘in’ may be used uninitialized
# 8364 |     in[3] = input[5];
#      |                  ^
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c: scope_hint: In function ‘svt_av1_fwd_txfm2d_8x4_N2_sse4_1’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:9786:19: note: ‘in’ declared here
# 9786 |     __m128i       in[8];
#      |                   ^
# 8362|       in[1] = input[4];
# 8363|       in[2] = input[1];
# 8364|->     in[3] = input[5];
# 8365|   
# 8366|       for (int32_t i = 0; i < 4; i++) {

Error: CPPCHECK_WARNING: [#def314]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/ASM_SSE4_1/pickrst_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def315]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/C_DEFAULT/EbComputeSAD_C.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def316]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbAdaptiveMotionVectorPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def317]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbCdefProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def318]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbCodingLoop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def319]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbCodingLoop.c:599:13: warning[core.CallAndMessage]: 13th function call argument is an uninitialized value
#  597|                   (pred_samples->org_x + org_x);
#  598|   
#  599|->             svt_aom_inv_transform_recon_wrapper(pred_samples->buffer_y,
#  600|                                                   pred_luma_offset,
#  601|                                                   pred_samples->stride_y,

Error: CLANG_WARNING: [#def320]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbCodingLoop.c:629:13: warning[core.CallAndMessage]: 13th function call argument is an uninitialized value
#  627|                   ((pred_samples->org_x + round_origin_x) >> 1);
#  628|   
#  629|->             svt_aom_inv_transform_recon_wrapper(pred_samples->buffer_cb,
#  630|                                                   pred_offset_cb,
#  631|                                                   pred_samples->stride_cb,

Error: CLANG_WARNING: [#def321]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbCodingLoop.c:651:13: warning[core.CallAndMessage]: 13th function call argument is an uninitialized value
#  649|                   ((pred_samples->org_x + round_origin_x) >> 1);
#  650|   
#  651|->             svt_aom_inv_transform_recon_wrapper(pred_samples->buffer_cr,
#  652|                                                   pred_offset_cr,
#  653|                                                   pred_samples->stride_cr,

Error: CPPCHECK_WARNING: [#def322]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbCodingUnit.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def323]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def324]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:157:5: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  155|       // for vertical edge, filter direction is horizontal, for horizontal
#  156|       // edge, filter direction is vertical.
#  157|->     return (VERT_EDGE == edge_dir) ? txsize_horz_map[tx_size] : txsize_vert_map[tx_size];
#  158|   }
#  159|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def325]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c: scope_hint: In function ‘set_lpf_parameters’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:255:91: warning[-Wanalyzer-out-of-bounds]: buffer over-read
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbNeighborArrays.h:15: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.h:15: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:15: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbNeighborArrays.h:17: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:1165:13: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c: scope_hint: In function ‘set_lpf_parameters’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:255:91: note: read of 1 byte from after the end of ‘block_size_wide’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:255:91: note: valid subscripts for ‘block_size_wide’ are ‘[0]’ to ‘[21]’
#                                                   └────────────────────────────────┘
#                                                                   ^
#  253|                       mbmi->block_mi.bsize, plane_ptr->subsampling_x, plane_ptr->subsampling_y);
#  254|                   assert(bsize < BlockSizeS_ALL);
#  255|->                 const int32_t prediction_masks = (edge_dir == VERT_EDGE) ? block_size_wide[bsize] - 1
#  256|                                                                            : block_size_high[bsize] - 1;
#  257|                   const int32_t pu_edge          = !(coord & prediction_masks);

Error: CLANG_WARNING: [#def326]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:256:99: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value due to array index out of bounds
#  254|                   assert(bsize < BlockSizeS_ALL);
#  255|                   const int32_t prediction_masks = (edge_dir == VERT_EDGE) ? block_size_wide[bsize] - 1
#  256|->                                                                          : block_size_high[bsize] - 1;
#  257|                   const int32_t pu_edge          = !(coord & prediction_masks);
#  258|                   // if the current and the previous blocks are skipped,

Error: CLANG_WARNING: [#def327]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:1100:52: warning[core.DivideZero]: Division by zero
# 1098|                   total_me_sad += pcs->ppcs->rc_me_distortion[b64_index];
# 1099|               }
# 1100|->             uint32_t average_me_sad = total_me_sad / pcs->b64_total_count;
# 1101|   
# 1102|               if (average_me_sad < use_zero_strength_th)

Error: CLANG_WARNING: [#def328]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:1142:29: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1140|           int32_t filter_level[4];
# 1141|           svt_av1_pick_filter_level_by_q(pcs, frm_hdr->quantization_params.base_q_idx, filter_level);
# 1142|->         lf->filter_level[0] = filter_level[0];
# 1143|           lf->filter_level[1] = filter_level[1];
# 1144|           lf->filter_level_u  = filter_level[2];

Error: CLANG_WARNING: [#def329]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:1200:59: warning[core.DivideZero]: Division by zero
# 1198|               }
# 1199|   
# 1200|->             lf->filter_level[0] = tot_ref_filter_level[0] / tot_refs;
# 1201|               lf->filter_level[1] = tot_ref_filter_level[1] / tot_refs;
# 1202|               lf->filter_level_u  = tot_ref_filter_level_u / tot_refs;

Error: CPPCHECK_WARNING: [#def330]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbDlfProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def331]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncCdef.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def332]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncCdef.c: scope_hint: In function ‘finish_cdef_search’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncCdef.c:761:36: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sb_index’
#  759|                   if (svt_sb_all_skip(pcs, cm, fbr * MI_SIZE_64X64, fbc * MI_SIZE_64X64))
#  760|                       continue;
#  761|->                 sb_index[sb_count] = MI_SIZE_64X64 * fbr * pcs->mi_stride + MI_SIZE_64X64 * fbc;
#  762|                   sb_count++;
#  763|               }

Error: CLANG_WARNING: [#def333]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncCdef.c:816:29: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'uint64_t *', which is incompatible with sizeof operand type 'uint64_t **'
#  814|           FALSE);
#  815|       lambda   = full_lambda;
#  816|->     mse[0]   = (uint64_t **)malloc(sizeof(*mse) * nvfb * nhfb);
#  817|       mse[1]   = (uint64_t **)malloc(sizeof(*mse) * nvfb * nhfb);
#  818|       sb_count = 0;

Error: CLANG_WARNING: [#def334]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncCdef.c:817:29: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'uint64_t *', which is incompatible with sizeof operand type 'uint64_t **'
#  815|       lambda   = full_lambda;
#  816|       mse[0]   = (uint64_t **)malloc(sizeof(*mse) * nvfb * nhfb);
#  817|->     mse[1]   = (uint64_t **)malloc(sizeof(*mse) * nvfb * nhfb);
#  818|       sb_count = 0;
#  819|       for (fbr = 0; fbr < nvfb; ++fbr) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def335]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncCdef.c:833:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)nvfb * (long unsigned int)nhfb * 8)’
#  831|                   continue;
#  832|               // point to the MSE data
#  833|->             mse[0][sb_count] = pcs->mse_seg[0][fbr * nhfb + fbc];
#  834|               mse[1][sb_count] = pcs->mse_seg[1][fbr * nhfb + fbc];
#  835|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def336]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncCdef.c:834:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)nvfb * (long unsigned int)nhfb * 8)’
#  832|               // point to the MSE data
#  833|               mse[0][sb_count] = pcs->mse_seg[0][fbr * nhfb + fbc];
#  834|->             mse[1][sb_count] = pcs->mse_seg[1][fbr * nhfb + fbc];
#  835|   
#  836|               sb_index[sb_count] = MI_SIZE_64X64 * fbr * pcs->mi_stride + MI_SIZE_64X64 * fbc;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def337]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncCdef.c:836:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sb_index’
#  834|               mse[1][sb_count] = pcs->mse_seg[1][fbr * nhfb + fbc];
#  835|   
#  836|->             sb_index[sb_count] = MI_SIZE_64X64 * fbr * pcs->mi_stride + MI_SIZE_64X64 * fbc;
#  837|               sb_addr[sb_count]  = fbr * nhfb + fbc;
#  838|               sb_count++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def338]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncCdef.c:837:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sb_addr’
#  835|   
#  836|               sb_index[sb_count] = MI_SIZE_64X64 * fbr * pcs->mi_stride + MI_SIZE_64X64 * fbc;
#  837|->             sb_addr[sb_count]  = fbr * nhfb + fbc;
#  838|               sb_count++;
#  839|           }

Error: CPPCHECK_WARNING: [#def339]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncDecProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def340]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncDecProcess.c:944:44: warning[deadcode.DeadStores]: Although the value stored to 'recon_coeff_buffer' is used in the enclosing expression, the value is never actually read from 'recon_coeff_buffer'
#  942|                   (input_pic->buffer_cb)[input_pic->org_x / 2 + input_pic->org_y / 2 * input_pic->stride_cb]);
#  943|               ;
#  944|->             uint16_t *recon_buffer_org_u = recon_coeff_buffer = (uint16_t *)(&(
#  945|                   (recon_ptr->buffer_cb)[(recon_ptr->org_x << is_16bit) / 2 +
#  946|                                          (recon_ptr->org_y << is_16bit) / 2 * recon_ptr->stride_cb]));

Error: CLANG_WARNING: [#def341]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncDecProcess.c:952:44: warning[deadcode.DeadStores]: Although the value stored to 'recon_coeff_buffer' is used in the enclosing expression, the value is never actually read from 'recon_coeff_buffer'
#  950|                   (input_pic->buffer_cr)[input_pic->org_x / 2 + input_pic->org_y / 2 * input_pic->stride_cr]);
#  951|               ;
#  952|->             uint16_t *recon_buffer_org_v = recon_coeff_buffer = (uint16_t *)(&(
#  953|                   (recon_ptr->buffer_cr)[(recon_ptr->org_x << is_16bit) / 2 +
#  954|                                          (recon_ptr->org_y << is_16bit) / 2 * recon_ptr->stride_cr]));

Error: CLANG_WARNING: [#def342]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1049:17: warning[unix.Malloc]: Potential memory leak
# 1047|                   uint8_t *uncompressed_pics[3];
# 1048|                   EB_MALLOC_ARRAY(uncompressed_pics[0], pcs->ppcs->enhanced_unscaled_pic->luma_size);
# 1049|->                 EB_MALLOC_ARRAY(uncompressed_pics[1], pcs->ppcs->enhanced_unscaled_pic->chroma_size);
# 1050|                   EB_MALLOC_ARRAY(uncompressed_pics[2], pcs->ppcs->enhanced_unscaled_pic->chroma_size);
# 1051|   

Error: CLANG_WARNING: [#def343]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1050:17: warning[unix.Malloc]: Potential memory leak
# 1048|                   EB_MALLOC_ARRAY(uncompressed_pics[0], pcs->ppcs->enhanced_unscaled_pic->luma_size);
# 1049|                   EB_MALLOC_ARRAY(uncompressed_pics[1], pcs->ppcs->enhanced_unscaled_pic->chroma_size);
# 1050|->                 EB_MALLOC_ARRAY(uncompressed_pics[2], pcs->ppcs->enhanced_unscaled_pic->chroma_size);
# 1051|   
# 1052|                   svt_c_unpack_compressed_10bit(input_pic->buffer_bit_inc_y,

Error: CLANG_WARNING: [#def344]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1293:44: warning[deadcode.DeadStores]: Although the value stored to 'recon_coeff_buffer' is used in the enclosing expression, the value is never actually read from 'recon_coeff_buffer'
# 1291|                   (input_pic->buffer_cb)[input_pic->org_x / 2 + input_pic->org_y / 2 * input_pic->stride_cb]);
# 1292|               ;
# 1293|->             uint16_t *recon_buffer_org_u = recon_coeff_buffer = (uint16_t *)(&(
# 1294|                   (recon_ptr->buffer_cb)[(recon_ptr->org_x << is_16bit) / 2 +
# 1295|                                          (recon_ptr->org_y << is_16bit) / 2 * recon_ptr->stride_cb]));

Error: CLANG_WARNING: [#def345]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1301:44: warning[deadcode.DeadStores]: Although the value stored to 'recon_coeff_buffer' is used in the enclosing expression, the value is never actually read from 'recon_coeff_buffer'
# 1299|                   (input_pic->buffer_cr)[input_pic->org_x / 2 + input_pic->org_y / 2 * input_pic->stride_cr]);
# 1300|               ;
# 1301|->             uint16_t *recon_buffer_org_v = recon_coeff_buffer = (uint16_t *)(&(
# 1302|                   (recon_ptr->buffer_cr)[(recon_ptr->org_x << is_16bit) / 2 +
# 1303|                                          (recon_ptr->org_y << is_16bit) / 2 * recon_ptr->stride_cr]));

Error: CLANG_WARNING: [#def346]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1471:17: warning[unix.Malloc]: Potential memory leak
# 1469|                   uint8_t *uncompressed_pics[3];
# 1470|                   EB_MALLOC_ARRAY(uncompressed_pics[0], pcs->ppcs->enhanced_unscaled_pic->luma_size);
# 1471|->                 EB_MALLOC_ARRAY(uncompressed_pics[1], pcs->ppcs->enhanced_unscaled_pic->chroma_size);
# 1472|                   EB_MALLOC_ARRAY(uncompressed_pics[2], pcs->ppcs->enhanced_unscaled_pic->chroma_size);
# 1473|   

Error: CLANG_WARNING: [#def347]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1472:17: warning[unix.Malloc]: Potential memory leak
# 1470|                   EB_MALLOC_ARRAY(uncompressed_pics[0], pcs->ppcs->enhanced_unscaled_pic->luma_size);
# 1471|                   EB_MALLOC_ARRAY(uncompressed_pics[1], pcs->ppcs->enhanced_unscaled_pic->chroma_size);
# 1472|->                 EB_MALLOC_ARRAY(uncompressed_pics[2], pcs->ppcs->enhanced_unscaled_pic->chroma_size);
# 1473|   
# 1474|                   svt_c_unpack_compressed_10bit(input_pic->buffer_bit_inc_y,

Error: CPPCHECK_WARNING: [#def348]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncDecSegments.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def349]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncDecSegments.c:114:31: warning[core.UndefinedBinaryOperatorResult]: The result of the '/' expression is undefined
#  112|                              segments_ptr->segment_row_count) -
#  113|               1;
#  114|->         unsigned band_index = BAND_INDEX(0, y, segments_ptr->segment_band_count, segments_ptr->sb_band_count);
#  115|   
#  116|           segments_ptr->row_array[row_index].starting_seg_index = (uint16_t)SEGMENT_INDEX(

Error: CPPCHECK_WARNING: [#def350]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncInterPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def351]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:109: warning[uninitvar]: Uninitialized variable: src_ptr_10b
#  107|               src_stride16 = src_stride;
#  108|           }
#  109|->         svt_highbd_inter_predictor(src_ptr_10b,
#  110|                                      src_stride16,
#  111|                                      (uint16_t *)dst_ptr,

Error: CPPCHECK_WARNING (CWE-457): [#def352]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:522: error[legacyUninitvar]: Uninitialized variable: seg_mask0
#  520|       // try each mask type and its inverse
#  521|       for (cur_mask_type = 0; cur_mask_type < DIFFWTD_MASK_TYPES; cur_mask_type++) {
#  522|->         uint8_t *const temp_mask = cur_mask_type ? seg_mask1 : seg_mask0;
#  523|           // build mask and inverse
#  524|           if (hbd_md)

Error: CPPCHECK_WARNING (CWE-457): [#def353]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:522: error[legacyUninitvar]: Uninitialized variable: seg_mask1
#  520|       // try each mask type and its inverse
#  521|       for (cur_mask_type = 0; cur_mask_type < DIFFWTD_MASK_TYPES; cur_mask_type++) {
#  522|->         uint8_t *const temp_mask = cur_mask_type ? seg_mask1 : seg_mask0;
#  523|           // build mask and inverse
#  524|           if (hbd_md)

Error: CPPCHECK_WARNING (CWE-562): [#def354]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:1673: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 1671|       int            org_dst_stride = conv_params->dst_stride;
# 1672|       CONV_BUF_TYPE *tmp_buf16      = (CONV_BUF_TYPE *)tmp_buf;
# 1673|->     conv_params->dst              = tmp_buf16;
# 1674|       conv_params->dst_stride       = tmp_buf_stride;
# 1675|       assert(conv_params->do_average == 0);

Error: CPPCHECK_WARNING (CWE-457): [#def355]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:3332: warning[uninitvar]: Uninitialized variable: src16_ptr
# 3330|               src_stride16 = src_stride;
# 3331|           }
# 3332|->         svt_highbd_inter_predictor(src16_ptr, //(src_ptr_2b)? (uint16_t*)src16+ 8 + 8*128 : src16,
# 3333|                                      src_stride16,
# 3334|                                      (uint16_t *)dst_ptr,

Error: CPPCHECK_WARNING: [#def356]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncIntraPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def357]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncWarpedMotion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def358]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEncodeContext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def359]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEntropyCoding.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def360]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbEntropyCodingProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def361]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbFullLoop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def362]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbGlobalMotionEstimation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def363]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbGlobalMotionEstimation.c:231:13: warning[deadcode.DeadStores]: Value stored to 'input_refinement' is never read
#  229|           if (pcs->gm_downsample_level == GM_DOWN16) {
#  230|               input_detection  = sixteenth_picture_ptr;
#  231|->             input_refinement = sixteenth_picture_ptr;
#  232|           } else if (pcs->gm_downsample_level == GM_DOWN) {
#  233|               input_detection  = quarter_picture_ptr;

Error: CLANG_WARNING: [#def364]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbGlobalMotionEstimation.c:234:13: warning[deadcode.DeadStores]: Value stored to 'input_refinement' is never read
#  232|           } else if (pcs->gm_downsample_level == GM_DOWN) {
#  233|               input_detection  = quarter_picture_ptr;
#  234|->             input_refinement = quarter_picture_ptr;
#  235|           } else {
#  236|               input_detection  = input_pic;

Error: CLANG_WARNING: [#def365]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbGlobalMotionEstimation.c:237:13: warning[deadcode.DeadStores]: Value stored to 'input_refinement' is never read
#  235|           } else {
#  236|               input_detection  = input_pic;
#  237|->             input_refinement = input_pic;
#  238|           }
#  239|   

Error: CPPCHECK_WARNING: [#def366]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbInitialRateControlProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def367]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbInitialRateControlProcess.c:626:21: warning[core.DivideZero]: Division by zero
#  624|               avg_variance_me_dist += pcs->me_8x8_cost_variance[b64_idx];
#  625|           }
#  626|->         avg_me_dist /= pcs->b64_total_count;
#  627|           avg_variance_me_dist /= pcs->b64_total_count;
#  628|   

Error: CLANG_WARNING: [#def368]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbInitialRateControlProcess.c:699:42: warning[core.DivideZero]: Division by zero
#  697|                       dist += pcs->me_8x8_distortion[b64_idx];
#  698|                   }
#  699|->                 pcs->norm_me_dist = dist / scs->b64_total_count;
#  700|               }
#  701|   

Error: CPPCHECK_WARNING: [#def369]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbMdRateEstimation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def370]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbModeDecision.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def371]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbModeDecisionConfigurationProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def372]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbModeDecisionConfigurationProcess.c:509:52: warning[core.DivideZero]: Division by zero
#  507|           tot_me_8x8_dist += pcs->ppcs->me_8x8_distortion[b64_idx];
#  508|       }
#  509|->     uint64_t me_8x8_dist_per_sb  = tot_me_8x8_dist / pcs->b64_total_count;
#  510|       uint64_t cmplx               = me_8x8_dist_per_sb / MAX(1, pcs->scs->static_config.qp);
#  511|       uint64_t coeff_low_level_th  = COEFF_LVL_TH_0;

Error: CLANG_WARNING: [#def373]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbModeDecisionConfigurationProcess.c:600:44: warning[core.DivideZero]: Division by zero
#  598|               pcs->min_me_clpx = min_dist;
#  599|               pcs->max_me_clpx = max_dist;
#  600|->             pcs->avg_me_clpx = avg_me_clpx / pcs->ppcs->b64_total_count;
#  601|           }
#  602|           pcs->coeff_lvl = INVALID_LVL;

Error: CPPCHECK_WARNING: [#def374]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbModeDecisionProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def375]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbMotionEstimation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def376]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbMotionEstimation.c:1570:13: warning[deadcode.DeadStores]: Value stored to 'x_top_left_search_region' is never read
# 1568|   
# 1569|               // Move to the top left of the search region
# 1570|->             x_top_left_search_region = (int16_t)(ref_pic_ptr->org_x + b64_origin_x) + x_search_area_origin;
# 1571|               y_top_left_search_region = (int16_t)(ref_pic_ptr->org_y + b64_origin_y) + y_search_area_origin;
# 1572|               open_loop_me_fullpel_search_sblock(me_ctx,

Error: CLANG_WARNING: [#def377]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbMotionEstimation.c:1571:13: warning[deadcode.DeadStores]: Value stored to 'y_top_left_search_region' is never read
# 1569|               // Move to the top left of the search region
# 1570|               x_top_left_search_region = (int16_t)(ref_pic_ptr->org_x + b64_origin_x) + x_search_area_origin;
# 1571|->             y_top_left_search_region = (int16_t)(ref_pic_ptr->org_y + b64_origin_y) + y_search_area_origin;
# 1572|               open_loop_me_fullpel_search_sblock(me_ctx,
# 1573|                                                  list_index,

Error: CLANG_WARNING: [#def378]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbMotionEstimation.c:2653:40: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value due to array index out of bounds
# 2651|   
# 2652|               //ME was skipped, so do not add this Unipred candidate
# 2653|->             if (blk_do_ref[list_index] == 0)
# 2654|                   continue;
# 2655|   

Error: CLANG_WARNING: [#def379]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbMotionEstimation.c:2717:9: warning[deadcode.DeadStores]: Value stored to 'num_of_list_to_search' is never read
# 2715|   
# 2716|       if (num_of_list_to_search < 2 || !ctx->search_results[REF_LIST_1][0].do_ref)
# 2717|->         num_of_list_to_search = 1;
# 2718|   
# 2719|       // Set the count to 1 for all PUs using memset, which is faster than setting at the end of each loop.  The count will only need

Error: CLANG_WARNING: [#def380]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbMotionEstimation.c:3271:13: warning[deadcode.DeadStores]: Value stored to 'above_row' is never read
# 3269|               above0_row     = above0_data + 16;
# 3270|               left0_col      = left0_data + 16;
# 3271|->             above_row      = above_data + 16;
# 3272|               left_col       = left_data + 16;
# 3273|               ois_mb_results_ptr =

Error: CLANG_WARNING: [#def381]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbMotionEstimation.c:3272:13: warning[deadcode.DeadStores]: Value stored to 'left_col' is never read
# 3270|               left0_col      = left0_data + 16;
# 3271|               above_row      = above_data + 16;
# 3272|->             left_col       = left_data + 16;
# 3273|               ois_mb_results_ptr =
# 3274|                   pcs->pa_me_data

Error: CPPCHECK_WARNING: [#def382]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbMotionEstimationProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def383]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbNeighborArrays.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def384]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPacketizationProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def385]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPacketizationProcess.c:898:13: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  896|           if (scs->enable_dec_order || (pcs->ppcs->is_ref == TRUE && pcs->ppcs->ref_pic_wrapper))
#  897|               // Post the Full Results Object
#  898|->             svt_post_full_object(picture_manager_results_wrapper_ptr);
#  899|           // Post Rate Control Task. Be done after postig to PM as RC might release ppcs
#  900|           svt_post_full_object(rate_control_tasks_wrapper_ptr);

Error: CPPCHECK_WARNING: [#def386]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def387]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:243:60: warning[core.DivideZero]: Division by zero
#  241|       }
#  242|   
#  243|->     block_mean = (block_mean << (VARIANCE_PRECISION >> 1)) / (input_area_width * input_area_height);
#  244|   
#  245|       return block_mean;

Error: CLANG_WARNING: [#def388]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:266:53: warning[core.DivideZero]: Division by zero
#  264|       }
#  265|   
#  266|->     block_mean = (block_mean << VARIANCE_PRECISION) / (input_area_width * input_area_height);
#  267|   
#  268|       return block_mean;

Error: CLANG_WARNING: [#def389]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:833:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
#  831|   
#  832|           // (0,5)
#  833|->         block_index = block_index + 24;
#  834|   
#  835|           // (1,0)

Error: CLANG_WARNING: [#def390]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:852:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
#  850|   
#  851|           // (1,5)
#  852|->         block_index = block_index + 24;
#  853|   
#  854|           // (2,0)

Error: CLANG_WARNING: [#def391]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:871:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
#  869|   
#  870|           // (2,5)
#  871|->         block_index = block_index + 24;
#  872|   
#  873|           // (3,0)

Error: CLANG_WARNING: [#def392]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:890:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
#  888|   
#  889|           // (3,5)
#  890|->         block_index = block_index + 24;
#  891|   
#  892|           // (4,0)

Error: CLANG_WARNING: [#def393]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:909:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
#  907|   
#  908|           // (4,5)
#  909|->         block_index = block_index + 24;
#  910|   
#  911|           // (5,0)

Error: CLANG_WARNING: [#def394]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:928:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
#  926|   
#  927|           // (5,5)
#  928|->         block_index = block_index + 24;
#  929|   
#  930|           // (6,0)

Error: CLANG_WARNING: [#def395]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:947:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
#  945|   
#  946|           // (6,5)
#  947|->         block_index = block_index + 24;
#  948|   
#  949|           // (7,0)

Error: CLANG_WARNING: [#def396]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:1546:116: warning[core.DivideZero]: Division by zero
# 1544|               pcs->average_intensity_per_region[region_in_picture_width_index][region_in_picture_height_index] =
# 1545|                   (uint8_t)((sum +
# 1546|->                            (((region_width + region_width_offset) * (region_height + region_height_offset)) >> 1)) /
# 1547|                             ((region_width + region_width_offset) * (region_height + region_height_offset)));
# 1548|               *sum_avg_intensity_ttl_regions_luma += sum;

Error: CLANG_WARNING: [#def397]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:1587:57: warning[core.DivideZero]: Division by zero
# 1585|       }
# 1586|   
# 1587|->     pcs->pic_avg_variance = (uint16_t)(pic_tot_variance / b64_total_count);
# 1588|   
# 1589|       return;

Error: CPPCHECK_WARNING: [#def398]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def399]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbSystemResourceManager.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.h:17: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c: scope_hint: In function ‘recon_coef_dctor’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:126:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*(EncDecSet *)p.quantized_coeff + (long unsigned int)sb_index * 8’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:84:13: note: in definition of macro ‘EB_DELETE’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1104:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:327:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:327:9: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:341:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:341:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:106:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:137:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:341:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1104:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1104:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1104:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:123:5: note: in expansion of macro ‘EB_DELETE’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:84:13: note: in definition of macro ‘EB_DELETE’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:124:5: note: in expansion of macro ‘EB_DELETE’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:85:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureControlSet.c:124:5: note: in expansion of macro ‘EB_DELETE’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:84:13: note: in definition of macro ‘EB_DELETE’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:84:13: note: in definition of macro ‘EB_DELETE’
#  124|       EB_DELETE(obj->recon_pic);
#  125|       for (uint16_t sb_index = 0; sb_index < obj->init_b64_total_count; ++sb_index) {
#  126|->         EB_DELETE(obj->quantized_coeff[sb_index]); // OMK2
#  127|       }
#  128|       EB_DELETE_PTR_ARRAY(obj->quantized_coeff, obj->init_b64_total_count);

Error: CPPCHECK_WARNING: [#def400]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureDecisionProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def401]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureDecisionProcess.c:4365:9: warning[core.NullDereference]: Access to field 'pred_struct_ptr' results in a dereference of a null pointer (loaded from variable 'pcs')
# 4363|       uint8_t ldp_i_eos_mg = 0;
# 4364|       // TODO: does it matter which pcs is used for the pred_type check?
# 4365|->     if (pcs->pred_struct_ptr->pred_type == SVT_AV1_PRED_RANDOM_ACCESS &&
# 4366|           ctx->mg_pictures_array[0]->slice_type == P_SLICE) {
# 4367|           if (svt_aom_is_delayed_intra(ctx->mg_pictures_array[mg_size - 1]))

Error: CPPCHECK_WARNING: [#def402]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def403]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c: scope_hint: In function ‘svt_aom_picture_manager_kernel’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:403:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ref_entry’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Globals/EbEncHandle.h:18: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:15: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:336:9: note: in expansion of macro ‘EB_GET_FULL_OBJECT’
#  401|                           i != enc_ctx->ref_pic_list_length - 1, enc_ctx->app_callback_ptr, EB_ENC_PM_ERROR5);
#  402|                   }
#  403|->                 ref_entry->picture_number                = pcs->picture_number;
#  404|                   ref_entry->reference_object_ptr          = (EbObjectWrapper *)NULL;
#  405|                   ref_entry->release_enable                = TRUE;

Error: CLANG_WARNING: [#def404]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:403:58: warning[core.NullDereference]: Access to field 'picture_number' results in a dereference of a null pointer (loaded from variable 'ref_entry')
#  401|                           i != enc_ctx->ref_pic_list_length - 1, enc_ctx->app_callback_ptr, EB_ENC_PM_ERROR5);
#  402|                   }
#  403|->                 ref_entry->picture_number                = pcs->picture_number;
#  404|                   ref_entry->reference_object_ptr          = (EbObjectWrapper *)NULL;
#  405|                   ref_entry->release_enable                = TRUE;

Error: CLANG_WARNING: [#def405]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:451:33: warning[core.NullDereference]: Access to field 'picture_number' results in a dereference of a null pointer (loaded from variable 'ref_entry')
#  449|                   CHECK_REPORT_ERROR(i != enc_ctx->ref_pic_list_length - 1, enc_ctx->app_callback_ptr, EB_ENC_PM_ERROR5);
#  450|               }
#  451|->             CHECK_REPORT_ERROR((ref_entry->picture_number == input_pic_demux->picture_number),
#  452|                                  enc_ctx->app_callback_ptr,
#  453|                                  EB_ENC_PM_ERROR8);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def406]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:25: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:451:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ref_entry’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/API/EbSvtAv1ErrorCodes.h:21:15: note: in definition of macro ‘CHECK_REPORT_ERROR’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:336:9: note: in expansion of macro ‘EB_GET_FULL_OBJECT’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/API/EbSvtAv1ErrorCodes.h:21:15: note: in definition of macro ‘CHECK_REPORT_ERROR’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/API/EbSvtAv1ErrorCodes.h:21:15: note: in definition of macro ‘CHECK_REPORT_ERROR’
#  449|                   CHECK_REPORT_ERROR(i != enc_ctx->ref_pic_list_length - 1, enc_ctx->app_callback_ptr, EB_ENC_PM_ERROR5);
#  450|               }
#  451|->             CHECK_REPORT_ERROR((ref_entry->picture_number == input_pic_demux->picture_number),
#  452|                                  enc_ctx->app_callback_ptr,
#  453|                                  EB_ENC_PM_ERROR8);

Error: CPPCHECK_WARNING: [#def407]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbPredictionStructure.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def408]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbProductCodingLoop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def409]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def410]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:842:5: warning[deadcode.DeadStores]: Value stored to 'q' is never read
#  840|       }
#  841|   
#  842|->     q = active_worst_quality;
#  843|       if (use_qstep_based_q_calc) {
#  844|           const unsigned int r0_weight_idx = !frame_is_intra_only(ppcs) + !!temporal_layer;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def411]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:19: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c: scope_hint: In function ‘crf_qindex_calc’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:870:62: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ref_obj_l1’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbUtility.h:216:27: note: in definition of macro ‘MAX’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Globals/EbEncHandle.h:18: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:15: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:3137:9: note: in expansion of macro ‘EB_GET_FULL_OBJECT’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbUtility.h:216:27: note: in definition of macro ‘MAX’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbUtility.h:216:27: note: in definition of macro ‘MAX’
#  868|               uint8_t ref_tmp_layer = ref_obj_l0->tmp_layer_idx;
#  869|               if (pcs->slice_type == B_SLICE)
#  870|->                 ref_tmp_layer = MAX(ref_tmp_layer, ref_obj_l1->tmp_layer_idx);
#  871|               active_best_quality    = rc->arf_q;
#  872|               int8_t tmp_layer_delta = (int8_t)temporal_layer - (int8_t)ref_tmp_layer;

Error: CLANG_WARNING: [#def412]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:1238:21: warning[core.DivideZero]: Division by zero
# 1236|               avg_me_dist += ppcs->me_8x8_distortion[b64_idx];
# 1237|           }
# 1238|->         avg_me_dist /= ppcs->b64_total_count;
# 1239|   
# 1240|           RATE_CONTROL *rc        = &scs->enc_ctx->rc;

Error: CLANG_WARNING: [#def413]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:1322:21: warning[core.DivideZero]: Division by zero
# 1320|               max_dist = MAX(ppcs->me_8x8_cost_variance[b64_idx], max_dist);
# 1321|           }
# 1322|->         avg_me_dist /= ppcs->b64_total_count;
# 1323|   
# 1324|           for (b64_idx = 0; b64_idx < ppcs->b64_total_count; ++b64_idx) {

Error: CLANG_WARNING: [#def414]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:1329:87: warning[core.DivideZero]: Division by zero
# 1327|               if (diff_dist <= 0) {
# 1328|                   offset = (min_dist != avg_me_dist)
# 1329|->                     ? (int)((min_offset[pcs->ppcs->temporal_layer_index] * diff_dist) / (int)(min_dist - avg_me_dist))
# 1330|                       : 0;
# 1331|               } else {

Error: CLANG_WARNING: [#def415]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:3069:90: warning[core.DivideZero]: Division by zero
# 3067|               if (frames_in_sw == (uint32_t)rc->rate_average_periodin_frames) {
# 3068|                   rc->max_bit_actual_per_sw = MAX(rc->max_bit_actual_per_sw,
# 3069|->                                                 rc->total_bit_actual_per_sw * frame_rate / frames_in_sw / 1000);
# 3070|                   if (queue_entry_ptr->picture_number % ((rc->rate_average_periodin_frames)) == 0) {
# 3071|                       rc->max_bit_actual_per_gop = MAX(rc->max_bit_actual_per_gop,

Error: CLANG_WARNING: [#def416]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:3101:13: warning[deadcode.DeadStores]: Value stored to 'queue_entry_ptr' is never read
# 3099|                   : rc->coded_frames_stat_queue_head_index + 1;
# 3100|   
# 3101|->             queue_entry_ptr = (rc->coded_frames_stat_queue[rc->coded_frames_stat_queue_head_index]);
# 3102|           }
# 3103|       }

Error: CLANG_WARNING: [#def417]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:3177:29: warning[core.DivideZero]: Division by zero
# 3175|                       avg_me_dist += pcs->ppcs->rc_me_distortion[b64_idx];
# 3176|                   }
# 3177|->                 avg_me_dist /= pcs->ppcs->b64_total_count;
# 3178|                   rc->cur_avg_base_me_dist = (uint32_t)avg_me_dist;
# 3179|               }

Error: CLANG_WARNING: [#def418]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateControlProcess.c:3552:13: warning[deadcode.DeadStores]: Value stored to 'scs' is never read
# 3550|           default:
# 3551|               pcs = (PictureControlSet *)rc_tasks->pcs_wrapper->object_ptr;
# 3552|->             scs = pcs->scs;
# 3553|   
# 3554|               break;

Error: CPPCHECK_WARNING: [#def419]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRateDistortionCost.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def420]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbReferenceObject.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def421]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def422]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:414:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'intbuf'
#  412|   
#  413|       EB_MALLOC_ARRAY(intbuf, width2 * height);
#  414|->     EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  415|       EB_MALLOC_ARRAY(arrbuf, height);
#  416|       EB_MALLOC_ARRAY(arrbuf2, height2);

Error: CLANG_WARNING: [#def423]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:415:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'tmpbuf'
#  413|       EB_MALLOC_ARRAY(intbuf, width2 * height);
#  414|       EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  415|->     EB_MALLOC_ARRAY(arrbuf, height);
#  416|       EB_MALLOC_ARRAY(arrbuf2, height2);
#  417|       if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) {

Error: CLANG_WARNING: [#def424]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:416:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'arrbuf'
#  414|       EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  415|       EB_MALLOC_ARRAY(arrbuf, height);
#  416|->     EB_MALLOC_ARRAY(arrbuf2, height2);
#  417|       if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) {
#  418|           EB_FREE_ARRAY(intbuf);

Error: CLANG_WARNING: [#def425]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:692:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'intbuf'
#  690|   
#  691|       EB_MALLOC_ARRAY(intbuf, width2 * height);
#  692|->     EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  693|       EB_MALLOC_ARRAY(arrbuf, height);
#  694|       EB_MALLOC_ARRAY(arrbuf2, height2);

Error: CLANG_WARNING: [#def426]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:693:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'tmpbuf'
#  691|       EB_MALLOC_ARRAY(intbuf, width2 * height);
#  692|       EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  693|->     EB_MALLOC_ARRAY(arrbuf, height);
#  694|       EB_MALLOC_ARRAY(arrbuf2, height2);
#  695|       if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) {

Error: CLANG_WARNING: [#def427]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:694:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'arrbuf'
#  692|       EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  693|       EB_MALLOC_ARRAY(arrbuf, height);
#  694|->     EB_MALLOC_ARRAY(arrbuf2, height2);
#  695|       if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) {
#  696|           EB_FREE_ARRAY(intbuf);

Error: CLANG_WARNING: [#def428]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:839:9: warning[unix.Malloc]: Potential memory leak
#  837|       if (bd > 8 && !is_packed) {
#  838|           EB_MALLOC_ARRAY(src_buffer_highbd[0], src->luma_size);
#  839|->         EB_MALLOC_ARRAY(src_buffer_highbd[1], src->chroma_size);
#  840|           EB_MALLOC_ARRAY(src_buffer_highbd[2], src->chroma_size);
#  841|           EB_MALLOC_ARRAY(dst_buffer_highbd[0], dst->luma_size);

Error: CLANG_WARNING: [#def429]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:840:9: warning[unix.Malloc]: Potential memory leak
#  838|           EB_MALLOC_ARRAY(src_buffer_highbd[0], src->luma_size);
#  839|           EB_MALLOC_ARRAY(src_buffer_highbd[1], src->chroma_size);
#  840|->         EB_MALLOC_ARRAY(src_buffer_highbd[2], src->chroma_size);
#  841|           EB_MALLOC_ARRAY(dst_buffer_highbd[0], dst->luma_size);
#  842|           EB_MALLOC_ARRAY(dst_buffer_highbd[1], dst->chroma_size);

Error: CLANG_WARNING: [#def430]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:841:9: warning[unix.Malloc]: Potential memory leak
#  839|           EB_MALLOC_ARRAY(src_buffer_highbd[1], src->chroma_size);
#  840|           EB_MALLOC_ARRAY(src_buffer_highbd[2], src->chroma_size);
#  841|->         EB_MALLOC_ARRAY(dst_buffer_highbd[0], dst->luma_size);
#  842|           EB_MALLOC_ARRAY(dst_buffer_highbd[1], dst->chroma_size);
#  843|           EB_MALLOC_ARRAY(dst_buffer_highbd[2], dst->chroma_size);

Error: CLANG_WARNING: [#def431]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:842:9: warning[unix.Malloc]: Potential memory leak
#  840|           EB_MALLOC_ARRAY(src_buffer_highbd[2], src->chroma_size);
#  841|           EB_MALLOC_ARRAY(dst_buffer_highbd[0], dst->luma_size);
#  842|->         EB_MALLOC_ARRAY(dst_buffer_highbd[1], dst->chroma_size);
#  843|           EB_MALLOC_ARRAY(dst_buffer_highbd[2], dst->chroma_size);
#  844|           if (is_2bcompress)

Error: CLANG_WARNING: [#def432]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:843:9: warning[unix.Malloc]: Potential memory leak
#  841|           EB_MALLOC_ARRAY(dst_buffer_highbd[0], dst->luma_size);
#  842|           EB_MALLOC_ARRAY(dst_buffer_highbd[1], dst->chroma_size);
#  843|->         EB_MALLOC_ARRAY(dst_buffer_highbd[2], dst->chroma_size);
#  844|           if (is_2bcompress)
#  845|               svt_aom_pack_highbd_pic(src, src_buffer_highbd, ss_x, ss_y, TRUE);

Error: CLANG_WARNING: [#def433]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:1976:30: warning[core.NullDereference]: Access to field 'bit_depth' results in a dereference of a null pointer (loaded from field 'enhanced_downscaled_pic')
# 1974|           svt_aom_resize_frame(input_pic,
# 1975|                                pcs->enhanced_downscaled_pic,
# 1976|->                              pcs->enhanced_downscaled_pic->bit_depth,
# 1977|                                num_planes,
# 1978|                                ss_x,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def434]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c: scope_hint: In function ‘svt_aom_init_resize_picture’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:1980:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*pcs.enhanced_downscaled_pic’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:1954:5: note: in expansion of macro ‘EB_DELETE’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:1311:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:1311:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:50:14: note: in definition of macro ‘EB_DELETE_UNCHECKED’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:1311:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:1311:5: note: in expansion of macro ‘EB_NEW’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:52:9: note: in expansion of macro ‘EB_FREE’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResize.c:1311:5: note: in expansion of macro ‘EB_NEW’
# 1978|                                ss_x,
# 1979|                                ss_y,
# 1980|->                              pcs->enhanced_downscaled_pic->packed_flag,
# 1981|                                PICTURE_BUFFER_DESC_FULL_MASK, // buffer_enable_mask
# 1982|                                1); // is_2bcompress

Error: CPPCHECK_WARNING: [#def435]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbResourceCoordinationProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def436]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRestProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def437]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRestProcess.c:301:25: warning[core.NullDereference]: Access to field 'org_y' results in a dereference of a null pointer (loaded from variable 'recon_picture_buf')
#  299|   
#  300|       if (plane == 0) {
#  301|->         block_offset = (recon_picture_buf->org_y + blk_row_px) * recon_picture_buf->stride_y +
#  302|               (recon_picture_buf->org_x + blk_col_px);
#  303|           *recon_stride = recon_picture_buf->stride_y;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def438]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRestProcess.c: scope_hint: In function ‘derive_blk_pointers_enc’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRestProcess.c:301:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘recon_picture_buf’
#  299|   
#  300|       if (plane == 0) {
#  301|->         block_offset = (recon_picture_buf->org_y + blk_row_px) * recon_picture_buf->stride_y +
#  302|               (recon_picture_buf->org_x + blk_col_px);
#  303|           *recon_stride = recon_picture_buf->stride_y;

Error: CLANG_WARNING: [#def439]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRestProcess.c:448:41: warning[core.NullDereference]: Access to field 'height' results in a dereference of a null pointer (loaded from variable 'src')
#  446|                                          dst_buf,
#  447|                                          dst_stride,
#  448|->                                        (src->height + sub_y) >> sub_y,
#  449|                                          sub_x,
#  450|                                          bit_depth,

Error: CPPCHECK_WARNING: [#def440]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbRestorationPick.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def441]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSegmentation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-823): [#def442]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSegmentation.c:112: error[arrayIndexOutOfBounds]: Array 'segmentation_params->feature_data[8][8]' accessed at index segmentation_params->feature_data[8][0], which is out of bounds.
#  110|       for (int i = segment_id; i >= 0; i--) {
#  111|           int32_t q_index = pcs->ppcs->frm_hdr.quantization_params.base_q_idx +
#  112|->             segmentation_params->feature_data[i][SEG_LVL_ALT_Q];
#  113|           // Avoid lossless since SVT-AV1 doesn't support it.
#  114|           if (q_index > 0) {

Error: CLANG_WARNING: [#def443]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSegmentation.c:266:13: warning[core.DivideZero]: Division by zero
#  264|           avg_var += (local_avg >> 6);
#  265|       }
#  266|->     avg_var /= pcs->b64_total_count;
#  267|       avg_var = svt_log2f(avg_var);
#  268|   

Error: CPPCHECK_WARNING: [#def444]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSequenceControlSet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def445]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSequenceControlSet.c: scope_hint: In function ‘svt_aom_sb_geom_init’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:223:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*scs.sb_geom’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbPictureBufferDesc.h:19: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbAv1Structs.h:15: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSequenceControlSet.h:17: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:14: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:210:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:88:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:210:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:88:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:94:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:210:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:118:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:210:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
#  221|   
#  222|       for (sb_index = 0; sb_index < picture_sb_width * picture_sb_height; ++sb_index) {
#  223|->         scs->sb_geom[sb_index].horizontal_index = sb_index % picture_sb_width;
#  224|           scs->sb_geom[sb_index].vertical_index   = sb_index / picture_sb_width;
#  225|           scs->sb_geom[sb_index].org_x            = scs->sb_geom[sb_index].horizontal_index * scs->sb_size;

Error: CPPCHECK_WARNING: [#def446]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSourceBasedOperationsProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def447]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSourceBasedOperationsProcess.c:673:25: warning[deadcode.DeadStores]: Value stored to 'above_row' is never read
#  671|                           above0_row = above0_data + MAX_TPL_SIZE;
#  672|                           left0_col  = left0_data + MAX_TPL_SIZE;
#  673|->                         above_row  = above_data + MAX_TPL_SIZE;
#  674|                           left_col   = left_data + MAX_TPL_SIZE;
#  675|   

Error: CLANG_WARNING: [#def448]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSourceBasedOperationsProcess.c:674:25: warning[deadcode.DeadStores]: Value stored to 'left_col' is never read
#  672|                           left0_col  = left0_data + MAX_TPL_SIZE;
#  673|                           above_row  = above_data + MAX_TPL_SIZE;
#  674|->                         left_col   = left_data + MAX_TPL_SIZE;
#  675|   
#  676|                           // Fill Neighbor Arrays

Error: CLANG_WARNING: [#def449]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbSourceBasedOperationsProcess.c:2164:20: warning[deadcode.DeadStores]: Value stored to 'var_backup' during its initialization is never read
# 2162|               // Curve fitting with an exponential model on all 16x16 blocks from the
# 2163|               // midres dataset.
# 2164|->             double var_backup                                   = var;
# 2165|               var                                                 = factor_a * (1 - exp(factor_b * var)) + factor_c;
# 2166|               pcs->pa_me_data->ssim_rdmult_scaling_factors[index] = var;

Error: CPPCHECK_WARNING: [#def450]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTemporalFiltering.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def451]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTemporalFiltering.c:3957:18: warning[core.DivideZero]: Division by zero
# 3955|           }
# 3956|       }
# 3957|->     return (dist / (pic_width_in_b64 * pic_height_in_b64));
# 3958|   }
# 3959|   EbErrorType svt_av1_init_temporal_filtering(

Error: CPPCHECK_WARNING: [#def452]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def453]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:61:23: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#   59|       // stage 1;
#   60|       bf1    = output;
#   61|->     bf1[0] = input[0] + input[3];
#   62|       bf1[1] = input[1] + input[2];
#   63|       bf1[2] = -input[2] + input[1];

Error: CLANG_WARNING: [#def454]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:95:23: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#   93|       // stage 1;
#   94|       bf1    = output;
#   95|->     bf1[0] = input[0] + input[7];
#   96|       bf1[1] = input[1] + input[6];
#   97|       bf1[2] = input[2] + input[5];

Error: CLANG_WARNING: [#def455]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:167:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#  165|       // stage 1;
#  166|       bf1     = output;
#  167|->     bf1[0]  = input[0] + input[15];
#  168|       bf1[1]  = input[1] + input[14];
#  169|       bf1[2]  = input[2] + input[13];

Error: CLANG_WARNING: [#def456]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:321:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#  319|       // stage 1;
#  320|       bf1     = output;
#  321|->     bf1[0]  = input[0] + input[31];
#  322|       bf1[1]  = input[1] + input[30];
#  323|       bf1[2]  = input[2] + input[29];

Error: CLANG_WARNING: [#def457]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:660:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#  658|       // stage 1;
#  659|       bf1     = output;
#  660|->     bf1[0]  = input[0] + input[63];
#  661|       bf1[1]  = input[1] + input[62];
#  662|       bf1[2]  = input[2] + input[61];

Error: CLANG_WARNING: [#def458]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:1423:8: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1421|   
# 1422|       // stage 0
# 1423|->     x0 = input[0];
# 1424|       x1 = input[1];
# 1425|       x2 = input[2];

Error: CLANG_WARNING: [#def459]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:1516:12: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1514|       assert(output != input);
# 1515|       bf1    = output;
# 1516|->     bf1[0] = input[0];
# 1517|       bf1[1] = -input[7];
# 1518|       bf1[2] = -input[3];

Error: CLANG_WARNING: [#def460]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:1613:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1611|       assert(output != input);
# 1612|       bf1     = output;
# 1613|->     bf1[0]  = input[0];
# 1614|       bf1[1]  = -input[15];
# 1615|       bf1[2]  = -input[7];

Error: CLANG_WARNING: [#def461]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:1806:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1804|       // stage 1;
# 1805|       bf1     = output;
# 1806|->     bf1[0]  = input[31];
# 1807|       bf1[1]  = input[0];
# 1808|       bf1[2]  = input[29];

Error: CLANG_WARNING: [#def462]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:2208:79: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 2206|       (void)stage_range;
# 2207|       (void)cos_bit;
# 2208|->     for (int32_t i = 0; i < 4; ++i) output[i] = round_shift((int64_t)input[i] * new_sqrt2, new_sqrt2_bits);
# 2209|       assert(stage_range[0] + new_sqrt2_bits <= 32);
# 2210|   }

Error: CLANG_WARNING: [#def463]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:2215:58: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 2213|       (void)stage_range;
# 2214|       (void)cos_bit;
# 2215|->     for (int32_t i = 0; i < 8; ++i) output[i] = input[i] * 2;
# 2216|   }
# 2217|   

Error: CLANG_WARNING: [#def464]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:2221:80: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 2219|       (void)stage_range;
# 2220|       (void)cos_bit;
# 2221|->     for (int32_t i = 0; i < 16; ++i) output[i] = round_shift((int64_t)input[i] * 2 * new_sqrt2, new_sqrt2_bits);
# 2222|       assert(stage_range[0] + new_sqrt2_bits <= 32);
# 2223|   }

Error: CLANG_WARNING: [#def465]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:2228:59: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 2226|       (void)stage_range;
# 2227|       (void)cos_bit;
# 2228|->     for (int32_t i = 0; i < 32; ++i) output[i] = input[i] * 4;
# 2229|   }
# 2230|   

Error: CLANG_WARNING: [#def466]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:2234:80: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 2232|       (void)stage_range;
# 2233|       (void)cos_bit;
# 2234|->     for (int32_t i = 0; i < 64; ++i) output[i] = round_shift((int64_t)input[i] * 4 * new_sqrt2, new_sqrt2_bits);
# 2235|       assert(stage_range[0] + new_sqrt2_bits <= 32);
# 2236|   }

Error: CLANG_WARNING: [#def467]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:2357:35: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2355|       cfg->txfm_type_col            = av1_txfm_type_ls[txh_idx][tx_type_1d_col];
# 2356|       cfg->txfm_type_row            = av1_txfm_type_ls[txw_idx][tx_type_1d_row];
# 2357|->     cfg->stage_num_col            = av1_txfm_stage_num_list[cfg->txfm_type_col];
# 2358|       cfg->stage_num_row            = av1_txfm_stage_num_list[cfg->txfm_type_row];
# 2359|       set_fwd_txfm_non_scale_range(cfg);

Error: CLANG_WARNING: [#def468]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:2358:35: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2356|       cfg->txfm_type_row            = av1_txfm_type_ls[txw_idx][tx_type_1d_row];
# 2357|       cfg->stage_num_col            = av1_txfm_stage_num_list[cfg->txfm_type_col];
# 2358|->     cfg->stage_num_row            = av1_txfm_stage_num_list[cfg->txfm_type_row];
# 2359|       set_fwd_txfm_non_scale_range(cfg);
# 2360|   }

Error: CLANG_WARNING: [#def469]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:3588:79: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 3586|       (void)stage_range;
# 3587|       (void)cos_bit;
# 3588|->     for (int32_t i = 0; i < 8; ++i) output[i] = round_shift((int64_t)input[i] * 2 * new_sqrt2, new_sqrt2_bits);
# 3589|   
# 3590|       assert(stage_range[0] + new_sqrt2_bits <= 32);

Error: CLANG_WARNING: [#def470]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:3605:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 3603|       assert(output != input);
# 3604|       bf1     = output;
# 3605|->     bf1[0]  = input[0];
# 3606|       bf1[1]  = -input[15];
# 3607|       bf1[2]  = -input[7];

Error: CLANG_WARNING: [#def471]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:3782:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
# 3780|       // stage 1;
# 3781|       bf1     = output;
# 3782|->     bf1[0]  = input[0] + input[15];
# 3783|       bf1[1]  = input[1] + input[14];
# 3784|       bf1[2]  = input[2] + input[13];

Error: CLANG_WARNING: [#def472]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:3906:58: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 3904|       (void)stage_range;
# 3905|       (void)cos_bit;
# 3906|->     for (int32_t i = 0; i < 4; ++i) output[i] = input[i] * 2;
# 3907|   }
# 3908|   

Error: CLANG_WARNING: [#def473]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:3921:12: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 3919|       assert(output != input);
# 3920|       bf1    = output;
# 3921|->     bf1[0] = input[0];
# 3922|       bf1[1] = -input[7];
# 3923|       bf1[2] = -input[3];

Error: CLANG_WARNING: [#def474]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:4009:23: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
# 4007|       // stage 1;
# 4008|       bf1    = output;
# 4009|->     bf1[0] = input[0] + input[7];
# 4010|       bf1[1] = input[1] + input[6];
# 4011|       bf1[2] = input[2] + input[5];

Error: CLANG_WARNING: [#def475]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:4063:47: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 4061|       (void)stage_range;
# 4062|       (void)cos_bit;
# 4063|->     output[0] = round_shift((int64_t)input[0] * new_sqrt2, new_sqrt2_bits);
# 4064|       output[1] = round_shift((int64_t)input[1] * new_sqrt2, new_sqrt2_bits);
# 4065|       assert(stage_range[0] + new_sqrt2_bits <= 32);

Error: CLANG_WARNING: [#def476]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:4076:8: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 4074|   
# 4075|       // stage 0
# 4076|->     x0 = input[0];
# 4077|       x1 = input[1];
# 4078|       x2 = input[2];

Error: CLANG_WARNING: [#def477]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:4120:23: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
# 4118|       // stage 1;
# 4119|       bf0    = step;
# 4120|->     bf0[0] = input[0] + input[3];
# 4121|       bf0[1] = input[1] + input[2];
# 4122|       bf0[2] = -input[2] + input[1];

Error: CLANG_WARNING: [#def478]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:4143:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
# 4141|       // stage 1;
# 4142|       bf1     = output;
# 4143|->     bf1[0]  = input[0] + input[31];
# 4144|       bf1[1]  = input[1] + input[30];
# 4145|       bf1[2]  = input[2] + input[29];

Error: CLANG_WARNING: [#def479]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:4429:59: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 4427|       (void)stage_range;
# 4428|       (void)cos_bit;
# 4429|->     for (int32_t i = 0; i < 16; ++i) output[i] = input[i] * 4;
# 4430|   }
# 4431|   

Error: CLANG_WARNING: [#def480]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:4443:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
# 4441|       // stage 1;
# 4442|       bf1     = output;
# 4443|->     bf1[0]  = input[0] + input[63];
# 4444|       bf1[1]  = input[1] + input[62];
# 4445|       bf1[2]  = input[2] + input[61];

Error: CLANG_WARNING: [#def481]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:5107:80: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 5105|       (void)stage_range;
# 5106|       (void)cos_bit;
# 5107|->     for (int32_t i = 0; i < 32; ++i) output[i] = round_shift((int64_t)input[i] * 4 * new_sqrt2, new_sqrt2_bits);
# 5108|       assert(stage_range[0] + new_sqrt2_bits <= 32);
# 5109|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def482]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c: scope_hint: In function ‘av1_tranform_two_d_core_N4_c’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:6738:9: warning[-Wanalyzer-jump-through-null]: jump through null pointer
# 6736|           }
# 6737|           svt_av1_round_shift_array_c(temp_in, txfm_size_row, -shift[0]); // NM svt_av1_round_shift_array_c
# 6738|->         txfm_func_col(temp_in, temp_out, cos_bit_col, stage_range_col);
# 6739|           svt_av1_round_shift_array_c(temp_out, txfm_size_row / 4, -shift[1]); // NM svt_av1_round_shift_array_c
# 6740|           if (cfg->lr_flip == 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def483]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbTransforms.c:6751:9: warning[-Wanalyzer-jump-through-null]: jump through null pointer
# 6749|       // Rows
# 6750|       for (r = 0; r < txfm_size_row / 4; ++r) {
# 6751|->         txfm_func_row(buf + r * txfm_size_col, output + r * txfm_size_col, cos_bit_row, stage_range_row);
# 6752|           svt_av1_round_shift_array_c(output + r * txfm_size_col, txfm_size_col / 4, -shift[2]);
# 6753|   

Error: CPPCHECK_WARNING: [#def484]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EncModeConfig.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def485]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EncModeConfig.c:7229:9: warning[deadcode.DeadStores]: Value stored to 'subres_level' is never read
# 7227|           subres_level = 0;
# 7228|       } else {
# 7229|->         subres_level = 0;
# 7230|           // The controls checks the deviation between: (1) the pred-to-src SAD of even rows and (2) the pred-to-src SAD of odd rows for each 64x64 to decide whether to use subres or not
# 7231|           // then applies the result to the 64x64 block and to all children, therefore if incomplete 64x64 then shut subres

Error: CLANG_WARNING: [#def486]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EncModeConfig.c:8176:29: warning[core.DivideZero]: Division by zero
# 8174|                       avg_me_dist += ppcs->me_64x64_distortion[b64_idx];
# 8175|                   }
# 8176|->                 avg_me_dist /= ppcs->b64_total_count;
# 8177|                   avg_me_dist /= pcs->picture_qp;
# 8178|   

Error: CPPCHECK_WARNING: [#def487]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/av1me.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def488]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/av1me.c:1272:21: warning[deadcode.DeadStores]: Value stored to 'var' is never read
# 1270|                       x->second_best_mv = x->best_mv;
# 1271|                       x->best_mv.as_mv  = best_hash_mv;
# 1272|->                     var               = best_hash_cost;
# 1273|                   }
# 1274|               }

Error: CPPCHECK_WARNING: [#def489]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/corner_match.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def490]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/dwt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def491]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/fft.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def492]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/firstpass.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def493]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/firstpass.c: scope_hint: In function ‘realloc_stats_out’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/firstpass.c:82:15: warning[-Wanalyzer-malloc-leak]: leak of ‘**scs.enc_ctx.stats_out.stat’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbMotionEstimationLcuResults.h:16: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/EbCodingUnit.h:15: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/aom_dsp_rtcd.h:20: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/firstpass.c:17: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/firstpass.c:78:13: note: in expansion of macro ‘EB_REALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/firstpass.c:78:13: note: in expansion of macro ‘EB_REALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/firstpass.c:78:13: note: in expansion of macro ‘EB_REALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:81:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Common/Codec/EbMalloc.h:127:9: note: in expansion of macro ‘EB_ADD_MEM’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/firstpass.c:78:13: note: in expansion of macro ‘EB_REALLOC_ARRAY’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/firstpass.c:78:13: note: in expansion of macro ‘EB_REALLOC_ARRAY’
#   80|           out->capability = capability;
#   81|       }
#   82|->     out->size = frame_number + 1;
#   83|       return EB_ErrorNone;
#   84|   }

Error: CPPCHECK_WARNING: [#def494]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/hash_motion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def495]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/mcomp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def496]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/noise_model.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def497]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/noise_model.c: scope_hint: In function ‘svt_aom_flat_block_finder_free.part.0’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/noise_model.c:447:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*block_finder.A’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/noise_model.c:18: included_from: Included from here.
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/noise_model.c:397:9: note: in expansion of macro ‘SVT_ERROR’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/noise_model.c: scope_hint: In function ‘svt_aom_flat_block_finder_free.part.0’
#  445|       if (!block_finder)
#  446|           return;
#  447|->     free(block_finder->A);
#  448|       free(block_finder->at_a_inv);
#  449|       memset(block_finder, 0, sizeof(*block_finder));

Error: CPPCHECK_WARNING: [#def498]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/palette.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def499]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/palette.c:515:30: warning[core.NullDereference]: Array access results in a null pointer dereference
#  513|               assert(color_new_idx >= 0 && color_new_idx < n);
#  514|               if (calc_rate) {
#  515|->                 this_rate += (*color_cost)[palette_size_idx][color_ctx][color_new_idx];
#  516|               } else {
#  517|                   (*t)->token         = color_new_idx;

Error: CLANG_WARNING: [#def500]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/palette.c:540:27: warning[core.NullDereference]: Array access (via field 'color_map') results in a null pointer dereference
#  538|       get_color_map_params(frame_context, blk_ptr, plane, bsize, tx_size, type, &color_map_params);
#  539|       // The first color index does not use context or entropy.
#  540|->     (*t)->token         = color_map_params.color_map[0];
#  541|       (*t)->color_map_cdf = NULL;
#  542|       ++(*t);

Error: CPPCHECK_WARNING: [#def501]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/pass2_strategy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def502]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/pass2_strategy.c:1567:94: warning[core.DivideZero]: Division by zero
# 1565|       // Based on the gfu boost, calculate the frame size for I frames
# 1566|       else if (ppcs->temporal_layer_index == 0) {
# 1567|->         int64_t gf_group_bits = available_bit_sw * (int64_t)(1 << ppcs->hierarchical_levels) /
# 1568|               (frames_in_sw - coded_frames_num_sw);
# 1569|           max_frame_size  = calculate_boost_bits((1 << ppcs->hierarchical_levels), rc->gfu_boost, gf_group_bits);

Error: CPPCHECK_WARNING: [#def503]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/ransac.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def504]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/ransac.c: scope_hint: In function ‘ransac’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/ransac.c:400:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘motions’
#  398|       assert(motions != NULL);
#  399|       for (int i = 0; i < num_desired_motions; ++i) {
#  400|->         motions[i].inlier_indices = (int *)malloc(sizeof(*motions->inlier_indices) * npoints);
#  401|           clear_motion(motions + i, npoints);
#  402|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def505]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/ransac.c: scope_hint: In function ‘is_collinear3’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/ransac.c:540:44: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*p2’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/ransac.c: scope_hint: In function ‘is_collinear3’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Codec/ransac.c: scope_hint: In function ‘is_collinear3’
#  538|   static int is_collinear3(double *p1, double *p2, double *p3) {
#  539|       static const double collinear_eps = 1e-3;
#  540|->     const double        v             = (p2[0] - p1[0]) * (p3[1] - p1[1]) - (p2[1] - p1[1]) * (p3[0] - p1[0]);
#  541|       return fabs(v) < collinear_eps;
#  542|   }

Error: CLANG_WARNING: [#def506]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Globals/EbEncHandle.c:197:13: warning[deadcode.DeadStores]: Value stored to 'old_max_size' during its initialization is never read
#  195|           int processor_id = 0;
#  196|           int max_size = INITIAL_PROCESSOR_GROUP;
#  197|->         int old_max_size = max_size;
#  198|           char line[1024];
#  199|           while (fgets(line, sizeof(line), fin)) {

Error: CLANG_WARNING: [#def507]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Globals/EbEncHandle.c:2404:18: warning[deadcode.DeadStores]: Although the value stored to 'return_error' is used in the enclosing expression, the value is never actually read from 'return_error'
# 2402|           EbBufferHeaderType *receive_buffer = NULL;
# 2403|           EbErrorType         return_error;
# 2404|->         switch ((return_error = svt_av1_enc_get_packet(svt_enc_component, &receive_buffer, 1))) {
# 2405|           case EB_ErrorMax: return EB_ErrorMax;
# 2406|           case EB_NoErrorEmptyQueue: eos = true; break;

Error: CLANG_WARNING: [#def508]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Globals/EbEncHandle.c:2422:31: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
# 2420|   **********************************/
# 2421|   EB_API EbErrorType svt_av1_enc_deinit(EbComponentType *svt_enc_component) {
# 2422|->     if (!svt_enc_component || !svt_enc_component->p_component_private)
# 2423|           return EB_ErrorBadParameter;
# 2424|   

Error: CLANG_WARNING: [#def509]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Globals/EbEncHandle.c:5100:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'p_first_node'
# 5098|               p_new_node->data = p_src_node->data;
# 5099|           } else {
# 5100|->             EB_MALLOC(p_new_node->data, p_src_node->size);
# 5101|               memcpy(p_new_node->data, p_src_node->data, p_src_node->size);
# 5102|           }

Error: CPPCHECK_WARNING: [#def510]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Globals/EbEncSettings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-835): [#def511]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Globals/EbMetadataHandle.c: scope_hint: In function ‘svt_aom_parse_mastering_display’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/Source/Lib/Encoder/Globals/EbMetadataHandle.c:157:19: warning[-Wanalyzer-infinite-loop]: infinite loop
#  155|           return 0;
#  156|       double gx = 0, gy = 0, bx = 0, by = 0, rx = 0, ry = 0, wx = 0, wy = 0, max_luma = 0, min_luma = 0;
#  157|->     while (md_str && *md_str) {
#  158|           switch (*md_str) {
#  159|           case 'G':

Error: CPPCHECK_WARNING: [#def512]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/gstreamer-plugin/gstsvtav1enc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def513]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/third_party/fastfeat/fast_9.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def514]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/third_party/fastfeat/fast_9.c: scope_hint: In function ‘svt_aom_fast9_score’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/third_party/fastfeat/fast_9.c:2970:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘scores’
# 2968|   
# 2969|     for(n=0; n < num_corners; n++)
# 2970|->     scores[n] = aom_fast9_corner_score(i + corners[n].y*stride + corners[n].x, pixel, b);
# 2971|   
# 2972|     return scores;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def515]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/third_party/fastfeat/fast_9.c: scope_hint: In function ‘svt_aom_fast9_detect’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/third_party/fastfeat/fast_9.c:5906:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret_corners’
# 5904|           }
# 5905|         }
# 5906|->       ret_corners[num_corners].x = x;
# 5907|         ret_corners[num_corners].y = y;
# 5908|         num_corners++;

Error: CPPCHECK_WARNING: [#def516]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/third_party/fastfeat/nonmax.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def517]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/third_party/fastfeat/nonmax.c: scope_hint: In function ‘svt_aom_nonmax_suppression’
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/third_party/fastfeat/nonmax.c:38:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘row_start’
#   36|   
#   37|     for(i=0; i < last_row+1; i++)
#   38|->     row_start[i] = -1;
#   39|   
#   40|     {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def518]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/third_party/fastfeat/nonmax.c:111:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret_nonmax’
#  109|         }
#  110|   
#  111|->     ret_nonmax[num_nonmax++] = corners[i];
#  112|   cont:
#  113|       ;

Error: CPPCHECK_WARNING: [#def519]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/third_party/safestringlib/strcpy_s.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def520]
svt-av1-2.1.0-build/SVT-AV1-v2.1.0/third_party/safestringlib/strncpy_s.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-61.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namesvt-av1-2.1.0-1.fc41
store-results-to/tmp/tmpcz1ek3ge/svt-av1-2.1.0-1.fc41.tar.xz
time-created2024-07-03 18:11:38
time-finished2024-07-03 18:20:16
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpcz1ek3ge/svt-av1-2.1.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpcz1ek3ge/svt-av1-2.1.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9