svt-av1-1.4.1-5.fc40

List of Defects

Error: COMPILER_WARNING: [#def1]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/gstreamer-plugin/gstsvtav1enc.h:14: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/gstreamer-plugin/gstsvtav1enc.c:25: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/API/EbSvtAv1.h:85: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-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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
#   83|   */
#   84|   typedef uint8_t Bool;
#   85|-> #define FALSE 0
#   86|   #define TRUE 1
#   87|   

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

Error: CPPCHECK_WARNING: [#def3]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/DecApp/EbDecAppMain.c: scope_hint: In function ‘main’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/DecApp/EbDecAppMain.c:199:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘recon_buffer’
#  197|           EbBufferHeaderType *recon_buffer = malloc(sizeof(*recon_buffer));
#  198|           assert(recon_buffer != NULL);
#  199|->         recon_buffer->p_buffer = malloc(sizeof(EbSvtIOFormat));
#  200|   
#  201|           /* FilmGrain module req. even dim. for internal operation */

Error: CLANG_WARNING: [#def5]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/DecApp/EbDecAppMain.c:199:34: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'uint8_t', which is incompatible with sizeof operand type 'EbSvtIOFormat'
#  197|           EbBufferHeaderType *recon_buffer = malloc(sizeof(*recon_buffer));
#  198|           assert(recon_buffer != NULL);
#  199|->         recon_buffer->p_buffer = malloc(sizeof(EbSvtIOFormat));
#  200|   
#  201|           /* FilmGrain module req. even dim. for internal operation */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/DecApp/EbDecAppMain.c:207:57: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(88)’
#  205|           size     = size * w * h;
#  206|           assert(recon_buffer->p_buffer != NULL);
#  207|->         ((EbSvtIOFormat *)recon_buffer->p_buffer)->luma = (uint8_t *)malloc(size);
#  208|           ((EbSvtIOFormat *)recon_buffer->p_buffer)->cb   = (uint8_t *)malloc(size >> 2);
#  209|           ((EbSvtIOFormat *)recon_buffer->p_buffer)->cr   = (uint8_t *)malloc(size >> 2);

Error: CPPCHECK_WARNING: [#def7]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/DecApp/EbDecParamParser.c:122:13: warning[core.NullDereference]: Array access results in a null pointer dereference
#  120|   
#  121|       for (token_index = 1; token_index < argc; token_index++, cmd_token_cnt++) {
#  122|->         if (argv[token_index][0] == '-') {
#  123|               cmd_copy[cmd_token_cnt] = argv[token_index];
#  124|               if (argv[token_index + 1] != NULL && (argv[token_index + 1][0] != '-'))

Error: CPPCHECK_WARNING: [#def9]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppConfig.c: scope_hint: In function ‘set_cfg_force_key_frames’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppConfig.c:342:55: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
#  342 |         char        *specifier = (char *)calloc(sizeof(*specifier), len + 1);
#      |                                                       ^
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppConfig.c:342:55: note: earlier argument should specify number of elements, later size of each element
#  340|       while (p) {
#  341|           const size_t len       = strcspn(p, ",");
#  342|->         char        *specifier = (char *)calloc(sizeof(*specifier), len + 1);
#  343|           if (!specifier)
#  344|               goto err;

Error: COMPILER_WARNING: [#def13]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppConfig.c:361:43: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
#  361 |     fkf.frames = (uint64_t *)calloc(sizeof(*fkf.frames), fkf.count);
#      |                                           ^
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppConfig.c:361:43: note: earlier argument should specify number of elements, later size of each element
#  359|           goto err;
#  360|   
#  361|->     fkf.frames = (uint64_t *)calloc(sizeof(*fkf.frames), fkf.count);
#  362|       if (!fkf.frames)
#  363|           goto err;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def14]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppConfig.c: scope_hint: In function ‘read_command_line’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppConfig.c:2707:31: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppConfig.c:2707:31: note: write of 8 bytes to beyond the end of ‘config_strings’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppConfig.c:2707:31: note: valid subscripts for ‘config_strings’ are ‘[0]’ to ‘[5]’
# 2705|   
# 2706|       for (index = 0; index < num_channels; ++index)
# 2707|->         config_strings[index] = (char *)malloc(sizeof(char) * COMMAND_LINE_MAX_SIZE);
# 2708|       for (int i = 0; i < MAX_NUM_TOKENS; ++i) {
# 2709|           cmd_copy[i] = NULL;

Error: CPPCHECK_WARNING: [#def15]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppContext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def16]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppContext.c:160:5: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'uint8_t', which is incompatible with sizeof operand type 'EbSvtIOFormat'
#  158|       callback_data->input_buffer_pool->size = sizeof(EbBufferHeaderType);
#  159|   
#  160|->     EB_APP_MALLOC(uint8_t *,
#  161|                     callback_data->input_buffer_pool->p_buffer,
#  162|                     sizeof(EbSvtIOFormat),

Error: CLANG_WARNING: [#def17]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def18]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def19]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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:

Error: CLANG_WARNING: [#def20]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppInputy4m.c:176:13: warning[deadcode.DeadStores]: Value stored to 'aspect_n' is never read
#  174|               break;
#  175|           case 'A': /* aspect ratio, not required */
#  176|->             aspect_n = strtol(tokstart, &tokstart, 10);
#  177|               aspect_d = strtol(++tokstart, &tokstart, 10);
#  178|               ++tokstart;

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

Error: CPPCHECK_WARNING: [#def22]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppMain.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def23]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/App/EncApp/EbAppProcessCmd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def24]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbHighbdIntraPrediction_AVX2.c: scope_hint: In function ‘load_left_4’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbHighbdIntraPrediction_AVX2.c:1379:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbHighbdIntraPrediction_AVX2.c: scope_hint: In function ‘dc_common_predictor_16xh_kernel’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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
# 1377|   }
# 1378|   
# 1379|-> static INLINE __m256i load_left_4(const uint16_t *const left, const __m256i r) {
# 1380|       const __m128i l0 = _mm_loadl_epi64((const __m128i *)left);
# 1381|       // 0 1 2 3 x x x x  0 1 2 3 x x x x

Error: CPPCHECK_WARNING: [#def25]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def26]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def27]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbPictureOperators_Inline_AVX2.h:17: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbPictureOperators_Intrinsic_AVX2.c:14: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbMemory_AVX2.h: scope_hint: In function ‘load_u8_4x2_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbMemory_AVX2.h:36:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbMemory_AVX2.h: scope_hint: In function ‘storeu_s16_8x2_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbMemory_AVX2.h:96: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: [#def28]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def29]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbPackUnPack_Intrinsic_AVX2.c: scope_hint: In function ‘svt_enc_un_pack8_bit_data_avx2_intrin’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbPackUnPack_Intrinsic_AVX2.c:19:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   17|                                              uint8_t *out_8bit_buffer, uint32_t out_stride,
#   18|                                              uint32_t width, uint32_t height) {
#   19|->     __m256i ymm_00ff = _mm256_set1_epi16(0x00FF);
#   20|       __m128i xmm_00ff = _mm_set1_epi16(0x00FF);
#   21|       switch (width) {

Error: CPPCHECK_WARNING: [#def30]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def31]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbPictureOperators_Intrinsic_AVX2.c:2637: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'
# 2635|       src[5] = _mm256_loadu_si256((const __m256i *)(src_diff += src_stride));
# 2636|       src[6] = _mm256_loadu_si256((const __m256i *)(src_diff += src_stride));
# 2637|->     src[7] = _mm256_loadu_si256((const __m256i *)(src_diff += src_stride));
# 2638|   
# 2639|       hadamard_col8x2_avx2(src, 0);

Error: CPPCHECK_WARNING: [#def32]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def33]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def34]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/cfl_avx2.c: scope_hint: In function ‘predict_unclipped’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/cfl_avx2.c:17:41: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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
#   15|   
#   16|   static INLINE __m256i predict_unclipped(const __m256i *input, __m256i alpha_q12, __m256i alpha_sign,
#   17|->                                         __m256i dc_q0) {
#   18|       __m256i ac_q3          = _mm256_loadu_si256(input);
#   19|       __m256i ac_sign        = _mm256_sign_epi16(alpha_sign, ac_q3);

Error: CPPCHECK_WARNING: [#def35]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def36]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def37]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def38]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def39]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:278:61: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
#  276|       if (!do_cols) {
#  277|           const int     log_range_out = AOMMAX(16, bd + 6);
#  278|->         const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
#  279|           const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
#  280|           round_shift_8x8_avx2(out, out_shift);

Error: CLANG_WARNING: [#def40]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2352:57: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2350|           const int log_range_out = AOMMAX(16, bd + 6);
# 2351|           __m256i   offset        = _mm256_set1_epi32((1 << out_shift) >> 1);
# 2352|->         clamp_lo                = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2353|           clamp_hi                = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2354|           x                       = _mm256_add_epi32(x, offset);

Error: CLANG_WARNING: [#def41]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2472:61: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2470|       if (!do_cols) {
# 2471|           const int     log_range_out = AOMMAX(16, bd + 6);
# 2472|->         const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2473|           const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2474|   

Error: CLANG_WARNING: [#def42]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2720:61: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2718|       } else {
# 2719|           const int32_t log_range_out = AOMMAX(16, bd + 6);
# 2720|->         const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2721|           const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2722|   

Error: CLANG_WARNING: [#def43]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2774:24: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2772|           const int32_t log_range_out = AOMMAX(16, bd + 6);
# 2773|           const __m256i clamp_lo_out  = _mm256_set1_epi32(
# 2774|->             AOMMAX(-(1 << (log_range_out - 1)), -(1 << (log_range - 1 - out_shift))));
# 2775|           const __m256i clamp_hi_out = _mm256_set1_epi32(
# 2776|               AOMMIN((1 << (log_range_out - 1)) - 1, (1 << (log_range - 1 - out_shift))));

Error: CLANG_WARNING: [#def44]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2806:61: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2804|           if (!do_cols) {
# 2805|               const int log_range_out = AOMMAX(16, bd + 6);
# 2806|->             clamp_lo                = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2807|               clamp_hi                = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2808|               __m256i offset          = _mm256_set1_epi32((1 << out_shift) >> 1);

Error: CLANG_WARNING: [#def45]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:2970:65: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2968|           if (!do_cols) {
# 2969|               const int     log_range_out = AOMMAX(16, bd + 6);
# 2970|->             const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2971|               const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2972|               round_shift_8x8_avx2(out, out_shift);

Error: CLANG_WARNING: [#def46]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:3151:65: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3149|           if (!do_cols) {
# 3150|               const int     log_range_out = AOMMAX(16, bd + 6);
# 3151|->             const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 3152|               const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3153|               round_shift_8x8_avx2(out, out_shift);

Error: CLANG_WARNING: [#def47]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:3625:65: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3623|           } else {
# 3624|               const int32_t log_range_out = AOMMAX(16, bd + 6);
# 3625|->             const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 3626|               const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3627|   

Error: CLANG_WARNING: [#def48]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:3997:65: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3995|           } else {
# 3996|               const int32_t log_range_out = AOMMAX(16, bd + 6);
# 3997|->             const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 3998|               const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3999|   

Error: CLANG_WARNING: [#def49]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:4057:24: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4055|           const int32_t log_range_out = AOMMAX(16, bd + 6);
# 4056|           const __m256i clamp_lo_out  = _mm256_set1_epi32(
# 4057|->             AOMMAX(-(1 << (log_range_out - 1)), -(1 << (log_range - 1 - out_shift))));
# 4058|           const __m256i clamp_hi_out = _mm256_set1_epi32(
# 4059|               AOMMIN((1 << (log_range_out - 1)) - 1, (1 << (log_range - 1 - out_shift))));

Error: CLANG_WARNING: [#def50]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:4091:57: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4089|           const int log_range_out = AOMMAX(16, bd + 6);
# 4090|           __m256i   offset        = _mm256_set1_epi32((1 << out_shift) >> 1);
# 4091|->         clamp_lo                = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 4092|           clamp_hi                = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4093|           x                       = _mm256_add_epi32(offset, x);

Error: CLANG_WARNING: [#def51]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:4735:65: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4733|           if (!do_cols) {
# 4734|               const int     log_range_out = AOMMAX(16, bd + 6);
# 4735|->             const __m256i clamp_lo_out  = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 4736|               const __m256i clamp_hi_out  = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4737|               round_shift_8x8_avx2(out, out_shift);

Error: CLANG_WARNING: [#def52]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:4772:24: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4770|           const int32_t log_range_out = AOMMAX(16, bd + 6);
# 4771|           const __m256i clamp_lo_out  = _mm256_set1_epi32(
# 4772|->             AOMMAX(-(1 << (log_range_out - 1)), -(1 << (log_range - 1 - out_shift))));
# 4773|           const __m256i clamp_hi_out = _mm256_set1_epi32(
# 4774|               AOMMIN((1 << (log_range_out - 1)) - 1, (1 << (log_range - 1 - out_shift))));

Error: CLANG_WARNING: [#def53]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_inv_txfm_avx2.c:4806:61: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4804|           if (!do_cols) {
# 4805|               const int log_range_out = AOMMAX(16, bd + 6);
# 4806|->             clamp_lo                = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 4807|               clamp_hi                = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4808|               if (out_shift != 0) {

Error: CPPCHECK_WARNING: [#def54]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def55]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def56]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/highbd_warp_affine_avx2.c: scope_hint: In function ‘load_2buffers’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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,
#   16|->                                     const uint8_t *ref8b_b, 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: [#def57]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def58]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def59]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def60]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbBlend_a64_mask_avx2.c:19: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/synonyms_avx2.h: scope_hint: In function ‘yy_load_256’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/synonyms_avx2.h:27:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/synonyms_avx2.h: scope_hint: In function ‘yy_roundn_epu16’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/synonyms_avx2.h:61: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: [#def61]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/dwt_avx2.c:12: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/transpose_avx2.h: scope_hint: In function ‘_mm256_unpacklo_epi128’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/transpose_avx2.h:19:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def62]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/EbIntraPrediction_Intrinsic_AVX2.c:15: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/txfm_common_avx2.h: scope_hint: In function ‘pair_set_w16_epi16’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def63]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def64]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/warp_plane_avx2.c: scope_hint: In function ‘svt_av1_warp_affine_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/warp_plane_avx2.c:1208:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/warp_plane_avx2.c: scope_hint: In function ‘horizontal_filter_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_AVX2/warp_plane_avx2.c:377:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 1206|   
# 1207|       const int     offset_bits_vert       = bd + 2 * FILTER_BITS - reduce_bits_horiz;
# 1208|->     const __m256i reduce_bits_vert_const = _mm256_set1_epi32(((1 << reduce_bits_vert) >> 1));
# 1209|       const __m256i res_add_const          = _mm256_set1_epi32(1 << offset_bits_vert);
# 1210|       const int     round_bits  = 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1;

Error: CPPCHECK_WARNING: [#def65]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def66]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def67]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def68]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def69]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE2/EbPictureOperators_Intrinsic_SSE2.c:389: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'
#  387|       src[5] = _mm_load_si128((const __m128i *)(src_diff += src_stride));
#  388|       src[6] = _mm_load_si128((const __m128i *)(src_diff += src_stride));
#  389|->     src[7] = _mm_load_si128((const __m128i *)(src_diff += src_stride));
#  390|   
#  391|       hadamard_col8_sse2(src, 0);

Error: CPPCHECK_WARNING: [#def70]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def71]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def72]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE2/highbd_subtract_sse2.c: scope_hint: In function ‘svt_aom_highbd_subtract_block_sse2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE2/highbd_subtract_sse2.c:285:5: warning[-Wanalyzer-jump-through-null]: jump through null pointer
#  283|   
#  284|       func = get_subtract_func(rows, cols);
#  285|->     func(diff, diff_stride, src, src_stride, pred, pred_stride);
#  286|   }

Error: CPPCHECK_WARNING: [#def73]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def74]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def75]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def76]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def77]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def78]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:125:40: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
#  123|       if (!do_cols) {
#  124|           log_range = AOMMAX(16, bd + 6);
#  125|->         clamp_lo  = _mm_set1_epi32(-(1 << (log_range - 1)));
#  126|           clamp_hi  = _mm_set1_epi32((1 << (log_range - 1)) - 1);
#  127|   

Error: CLANG_WARNING: [#def79]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:2826:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2824|       if (!do_cols) {
# 2825|           const int     log_range_out = AOMMAX(16, bd + 6);
# 2826|->         const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 2827|           const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2828|   

Error: CLANG_WARNING: [#def80]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:2857:54: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2855|       if (!do_cols) {
# 2856|           const int log_range_out = AOMMAX(16, bd + 6);
# 2857|->         clamp_lo                = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 2858|           clamp_hi                = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2859|   

Error: CLANG_WARNING: [#def81]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:3034:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3032|       } else {
# 3033|           const int32_t log_range_out = AOMMAX(16, bd + 6);
# 3034|->         const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 3035|           const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3036|   

Error: CLANG_WARNING: [#def82]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:3153:44: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3151|           if (!do_cols) {
# 3152|               log_range = AOMMAX(16, bd + 6);
# 3153|->             clamp_lo  = _mm_set1_epi32(-(1 << (log_range - 1)));
# 3154|               clamp_hi  = _mm_set1_epi32((1 << (log_range - 1)) - 1);
# 3155|               if (out_shift != 0) {

Error: CLANG_WARNING: [#def83]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:3320:62: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3318|           if (!do_cols) {
# 3319|               const int     log_range_out = AOMMAX(16, bd + 6);
# 3320|->             const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 3321|               const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3322|               round_shift_8x8(out, out_shift);

Error: CLANG_WARNING: [#def84]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:3501:62: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3499|           if (!do_cols) {
# 3500|               const int     log_range_out = AOMMAX(16, bd + 6);
# 3501|->             const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 3502|               const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3503|               round_shift_8x8(out, out_shift);

Error: CLANG_WARNING: [#def85]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:3865:62: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3863|           } else {
# 3864|               const int32_t log_range_out = AOMMAX(16, bd + 6);
# 3865|->             const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 3866|               const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3867|   

Error: CLANG_WARNING: [#def86]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:4359:62: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4357|           } else {
# 4358|               const int32_t log_range_out = AOMMAX(16, bd + 6);
# 4359|->             const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 4360|               const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4361|   

Error: CLANG_WARNING: [#def87]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:4545:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4543|       if (!do_cols) {
# 4544|           const int     log_range_out = AOMMAX(16, bd + 6);
# 4545|->         const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 4546|           const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4547|           for (int i = 0; i < 32; i += 8) {

Error: CLANG_WARNING: [#def88]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:4714:54: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4712|       } else {
# 4713|           const int log_range_out = AOMMAX(16, bd + 6);
# 4714|->         clamp_lo                = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 4715|           clamp_hi                = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4716|           if (out_shift != 0) {

Error: CLANG_WARNING: [#def89]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:5356:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 5354|       if (!do_cols) {
# 5355|           const int     log_range_out = AOMMAX(16, bd + 6);
# 5356|->         const __m128i clamp_lo_out  = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 5357|           const __m128i clamp_hi_out  = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 5358|           round_shift_8x8(out, out_shift);

Error: CLANG_WARNING: [#def90]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/ASM_SSE4_1/highbd_inv_txfm_sse4.c:5423:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 5421|           if (!do_cols) {
# 5422|               const int log_range_out = AOMMAX(16, bd + 6);
# 5423|->             clamp_lo                = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 5424|               clamp_hi                = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 5425|               if (out_shift != 0) {

Error: CPPCHECK_WARNING: [#def91]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def92]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def93]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def94]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def95]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def96]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def97]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def98]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def99]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbBitstreamUnit.c:366: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'
#  364|       if (offs + c > storage) {
#  365|           storage = offs + c;
#  366|->         out     = realloc(enc->buf, sizeof(*buf) * storage);
#  367|           if (!out) {
#  368|               enc->error = -1;

Error: CPPCHECK_WARNING: [#def100]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def101]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbCabacContextModel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def102]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbCdef.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def103]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbDeblockingCommon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def104]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbInterPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def105]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbIntraPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def106]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def107]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:14: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c: scope_hint: In function ‘prediction_structure_config_array_ctor’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:68:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*dest.entry_array’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:133:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:622:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:133:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:614:5: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:69:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:133:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:614:5: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:133:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:614:5: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:133:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:622:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:133:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:622:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
#   66|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   67|       do {                                              \
#   68|->         if (!p)                                       \
#   69|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   70|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:15: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c: scope_hint: In function ‘svt_muxing_queue_ctor’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:68:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*queue_ptr.object_queue’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:214:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:457:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:69:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:83:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbDefinitions.h:2239:9: note: in expansion of macro ‘EB_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:211:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:214:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:214:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:214:5: note: in expansion of macro ‘EB_NEW’
#   66|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   67|       do {                                              \
#   68|->         if (!p)                                       \
#   69|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   70|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:68:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*queue_ptr.process_fifo_ptr_array’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:218:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:457:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:69:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:83:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbDefinitions.h:2239:9: note: in expansion of macro ‘EB_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:211:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:214:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:214:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:116:5: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:214:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:216:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:216:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:116:5: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:216:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:101:26: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:218:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:218:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:218:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
#   66|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   67|       do {                                              \
#   68|->         if (!p)                                       \
#   69|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   70|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:68:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*queue_ptr.process_queue’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:216:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:457:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:69:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:474:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:83:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbDefinitions.h:2239:9: note: in expansion of macro ‘EB_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:211:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:214:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:214:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:116:5: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:214:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:216:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:216:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:216:5: note: in expansion of macro ‘EB_NEW’
#   66|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   67|       do {                                              \
#   68|->         if (!p)                                       \
#   69|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   70|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c: scope_hint: In function ‘recon_coef_ctor’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:68:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 112)’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:385:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:355:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:369:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:69:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:369:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:369:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:385:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:385:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:385:9: note: in expansion of macro ‘EB_NEW’
#   66|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   67|       do {                                              \
#   68|->         if (!p)                                       \
#   69|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   70|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureDecisionReorderQueue.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.h:19: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:14: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c: scope_hint: In function ‘encode_context_ctor’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:68:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 24)’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:96:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:83:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbDefinitions.h:2239:9: note: in expansion of macro ‘EB_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:89:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.h:17: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:90:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:83:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbDefinitions.h:2239:9: note: in expansion of macro ‘EB_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:90:5: note: in expansion of macro ‘EB_CREATE_MUTEX’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:91:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:91:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:69:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:91:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:91:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:96:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:96:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c:96:9: note: in expansion of macro ‘EB_NEW’
#   66|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   67|       do {                                              \
#   68|->         if (!p)                                       \
#   69|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   70|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c: scope_hint: In function ‘me_ctor’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:68:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 32)’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1562:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1559:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:69:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1559:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1559:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1562:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1562:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1562:9: note: in expansion of macro ‘EB_NEW’
#   66|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   67|       do {                                              \
#   68|->         if (!p)                                       \
#   69|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   70|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c: scope_hint: In function ‘svt_system_resource_ctor’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:68:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 48)’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:461:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:457:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:69:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:457:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:457:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:461:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:461:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:461:9: note: in expansion of macro ‘EB_NEW’
#   66|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   67|       do {                                              \
#   68|->         if (!p)                                       \
#   69|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   70|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c: scope_hint: In function ‘picture_control_set_ctor’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:68:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 96)’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:520:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1252:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:133:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:470:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:101:26: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:133:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:471:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:133:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:471:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:133:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:472:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:133:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:472:9: note: in expansion of macro ‘EB_CALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:481:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:481:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:489:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:489:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:497:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:88:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:498:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:498:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:88:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:499:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:499:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:88:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:500:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:500:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:515:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:88:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:517:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:517:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:520:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:520:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:520:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:520:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:520:9: note: in expansion of macro ‘EB_NEW’
#   66|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   67|       do {                                              \
#   68|->         if (!p)                                       \
#   69|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   70|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c: scope_hint: In function ‘picture_parent_control_set_ctor’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:68:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(4, 8)’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1397:13: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1392:9: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1392:9: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:69:13: note: in expansion of macro ‘svt_print_alloc_fail’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1392:9: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1392:9: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:101:9: note: in definition of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1397:13: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1397:13: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1397:13: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
#   66|   #define EB_NO_THROW_ADD_MEM(p, size, type)            \
#   67|       do {                                              \
#   68|->         if (!p)                                       \
#   69|               svt_print_alloc_fail(__FILE__, __LINE__); \
#   70|           else                                          \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbPictureBufferDesc.h:20: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.h:17: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:19: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c: scope_hint: In function ‘av1_resize_frame’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:77:20: warning[-Wanalyzer-malloc-leak]: leak of ‘malloced_p’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:96:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:924:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:88:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:924:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:924:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:924:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:924:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:88:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:925:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:925:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:96:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:924:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
#   75|       do {                                          \
#   76|           if (!p)                                   \
#   77|->             return EB_ErrorInsufficientResources; \
#   78|       } while (0)
#   79|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c: scope_hint: In function ‘svt_reference_object_creator’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:114:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:52:9: note: in expansion of macro ‘EB_FREE’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:223:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:223:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:165:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:150:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:179:5: note: in expansion of macro ‘EB_MALLOC_2D’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:150:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:179:5: note: in expansion of macro ‘EB_MALLOC_2D’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:150:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:179:5: note: in expansion of macro ‘EB_MALLOC_2D’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:88:35: note: in definition of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:151:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:179:5: note: in expansion of macro ‘EB_MALLOC_2D’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:151:9: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:179:5: note: in expansion of macro ‘EB_MALLOC_2D’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:223:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:223:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:223:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:52:9: note: in expansion of macro ‘EB_FREE’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:223:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:52:9: note: in expansion of macro ‘EB_FREE’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c:223:5: note: in expansion of macro ‘EB_NEW’
#  112|       do {                                        \
#  113|           EB_REMOVE_MEM_ENTRY(pointer, EB_N_PTR); \
#  114|->         free(pointer);                          \
#  115|           pointer = NULL;                         \
#  116|       } while (0)

Error: CPPCHECK_WARNING: [#def119]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbPictureBufferDesc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def120]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def121]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbRestoration.c:117: error[uninitvar]: Uninitialized variable: conv_params.use_dist_wtd_comp_avg
#  115|       conv_params.use_jnt_comp_avg = 0;
#  116|   
#  117|->     return conv_params;
#  118|   }
#  119|   

Error: CLANG_WARNING: [#def122]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbRestoration.c:560:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
#  558|       } else {
#  559|           for (j = 0; j < width; ++j) {
#  560|->             a = src[j] * src[j];
#  561|               b = src[src_stride + j] * src[src_stride + j];
#  562|               c = src[2 * src_stride + j] * src[2 * src_stride + j];

Error: CLANG_WARNING: [#def123]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbRestoration.c:578:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  576|       // Horizontal sum over 3-pixel regions of dst
#  577|       for (i = 0; i < height; ++i) {
#  578|->         a = dst[i * dst_stride];
#  579|           b = dst[i * dst_stride + 1];
#  580|           c = dst[i * dst_stride + 2];

Error: CLANG_WARNING: [#def124]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbRestoration.c:635:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
#  633|       } else {
#  634|           for (j = 0; j < width; ++j) {
#  635|->             a = src[j] * src[j];
#  636|               b = src[src_stride + j] * src[src_stride + j];
#  637|               c = src[2 * src_stride + j] * src[2 * src_stride + j];

Error: CLANG_WARNING: [#def125]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbRestoration.c:659:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  657|       // Horizontal sum over 5-pixel regions of dst
#  658|       for (i = 0; i < height; ++i) {
#  659|->         a = dst[i * dst_stride];
#  660|           b = dst[i * dst_stride + 1];
#  661|           c = dst[i * dst_stride + 2];

Error: CPPCHECK_WARNING: [#def126]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSuperRes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def127]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def128]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def129]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.c:251:28: warning[core.NullDereference]: Access to field 'lockout_mutex' results in a dereference of a null pointer (loaded from variable 'process_fifo_ptr')
#  249|   
#  250|           // Block on the Process Fifo's Mutex
#  251|->         svt_block_on_mutex(process_fifo_ptr->lockout_mutex);
#  252|   
#  253|           // Put the object on the fifo

Error: CPPCHECK_WARNING: [#def130]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbThreads.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def131]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbThreads.c:434:5: warning[deadcode.DeadStores]: Value stored to 'return_error' is never read
#  432|       return_error = EB_ErrorNone;
#  433|   #else
#  434|->     return_error = pthread_mutex_lock(&cond_var->m_mutex);
#  435|       while (cond_var->val == input)
#  436|           return_error = pthread_cond_wait(&cond_var->m_cond, &cond_var->m_mutex);

Error: CLANG_WARNING: [#def132]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbThreads.c:436:9: warning[deadcode.DeadStores]: Value stored to 'return_error' is never read
#  434|       return_error = pthread_mutex_lock(&cond_var->m_mutex);
#  435|       while (cond_var->val == input)
#  436|->         return_error = pthread_cond_wait(&cond_var->m_cond, &cond_var->m_mutex);
#  437|       return_error = pthread_mutex_unlock(&cond_var->m_mutex);
#  438|   #endif

Error: CPPCHECK_WARNING: [#def133]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbUtility.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def134]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbUtility.c:507:71: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  505|                   blk_geom_mds[*idx_mds].tx_height[tx_depth][txb_itr] =
#  506|                       tx_size_high[blk_geom_mds[*idx_mds].txsize[tx_depth][txb_itr]];
#  507|->                 blk_geom_mds[*idx_mds].tx_width_uv[tx_depth][txb_itr] =
#  508|                       tx_size_wide[blk_geom_mds[*idx_mds].txsize_uv[tx_depth][txb_itr]];
#  509|                   blk_geom_mds[*idx_mds].tx_height_uv[tx_depth][txb_itr] =

Error: CPPCHECK_WARNING: [#def135]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def136]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/convolve.h:70: 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
#   68|       conv_params.use_jnt_comp_avg = 0;
#   69|   
#   70|->     return conv_params;
#   71|   }
#   72|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def137]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/convolve.h:70:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.ref’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/convolve.h: scope_hint: In function ‘warp_error’
#   68|       conv_params.use_jnt_comp_avg = 0;
#   69|   
#   70|->     return conv_params;
#   71|   }
#   72|   

Error: CPPCHECK_WARNING (CWE-457): [#def138]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/convolve.h:95: 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
#   93|       conv_params.dst_stride = 0;
#   94|       conv_params.plane      = 0;
#   95|->     return conv_params;
#   96|   }
#   97|   

Error: CPPCHECK_WARNING: [#def139]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def140]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c: scope_hint: In function ‘init_arrays’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:296:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pred_pos_luma’
#  294|       ASSERT(pred_pos_luma != NULL);
#  295|       for (int32_t row = 0; row < num_pos_luma; row++) {
#  296|->         pred_pos_luma[row] = (int32_t *)malloc(sizeof(**pred_pos_luma) * 3);
#  297|           ASSERT(pred_pos_luma[row]);
#  298|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:303:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pred_pos_chroma’
#  301|       ASSERT(pred_pos_chroma != NULL);
#  302|       for (int32_t row = 0; row < num_pos_chroma; row++) {
#  303|->         pred_pos_chroma[row] = (int32_t *)malloc(sizeof(**pred_pos_chroma) * 3);
#  304|           ASSERT(pred_pos_chroma[row]);
#  305|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:311:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pred_pos_luma’
#  309|       for (int32_t row = -params->ar_coeff_lag; row < 0; row++) {
#  310|           for (int32_t col = -params->ar_coeff_lag; col < params->ar_coeff_lag + 1; col++) {
#  311|->             pred_pos_luma[pos_ar_index][0] = row;
#  312|               pred_pos_luma[pos_ar_index][1] = col;
#  313|               pred_pos_luma[pos_ar_index][2] = 0;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def143]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:311:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
#  309|       for (int32_t row = -params->ar_coeff_lag; row < 0; row++) {
#  310|           for (int32_t col = -params->ar_coeff_lag; col < params->ar_coeff_lag + 1; col++) {
#  311|->             pred_pos_luma[pos_ar_index][0] = row;
#  312|               pred_pos_luma[pos_ar_index][1] = col;
#  313|               pred_pos_luma[pos_ar_index][2] = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:311:44: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*<unknown>’
#  309|       for (int32_t row = -params->ar_coeff_lag; row < 0; row++) {
#  310|           for (int32_t col = -params->ar_coeff_lag; col < params->ar_coeff_lag + 1; col++) {
#  311|->             pred_pos_luma[pos_ar_index][0] = row;
#  312|               pred_pos_luma[pos_ar_index][1] = col;
#  313|               pred_pos_luma[pos_ar_index][2] = 0;

Error: CLANG_WARNING: [#def145]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:311:44: warning[core.NullDereference]: Array access results in an undefined pointer dereference
#  309|       for (int32_t row = -params->ar_coeff_lag; row < 0; row++) {
#  310|           for (int32_t col = -params->ar_coeff_lag; col < params->ar_coeff_lag + 1; col++) {
#  311|->             pred_pos_luma[pos_ar_index][0] = row;
#  312|               pred_pos_luma[pos_ar_index][1] = col;
#  313|               pred_pos_luma[pos_ar_index][2] = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:315:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pred_pos_chroma’
#  313|               pred_pos_luma[pos_ar_index][2] = 0;
#  314|   
#  315|->             pred_pos_chroma[pos_ar_index][0] = row;
#  316|               pred_pos_chroma[pos_ar_index][1] = col;
#  317|               pred_pos_chroma[pos_ar_index][2] = 0;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def147]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:315:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
#  313|               pred_pos_luma[pos_ar_index][2] = 0;
#  314|   
#  315|->             pred_pos_chroma[pos_ar_index][0] = row;
#  316|               pred_pos_chroma[pos_ar_index][1] = col;
#  317|               pred_pos_chroma[pos_ar_index][2] = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:335:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pred_pos_chroma’
#  333|   
#  334|       if (params->num_y_points > 0) {
#  335|->         pred_pos_chroma[pos_ar_index][0] = 0;
#  336|           pred_pos_chroma[pos_ar_index][1] = 0;
#  337|           pred_pos_chroma[pos_ar_index][2] = 1;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def149]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:335:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
#  333|   
#  334|       if (params->num_y_points > 0) {
#  335|->         pred_pos_chroma[pos_ar_index][0] = 0;
#  336|           pred_pos_chroma[pos_ar_index][1] = 0;
#  337|           pred_pos_chroma[pos_ar_index][2] = 1;

Error: CLANG_WARNING: [#def150]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:335:42: warning[core.NullDereference]: Array access results in an undefined pointer dereference
#  333|   
#  334|       if (params->num_y_points > 0) {
#  335|->         pred_pos_chroma[pos_ar_index][0] = 0;
#  336|           pred_pos_chroma[pos_ar_index][1] = 0;
#  337|           pred_pos_chroma[pos_ar_index][2] = 1;

Error: CLANG_WARNING: [#def151]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:372:54: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  370|           ++num_pos_chroma;
#  371|   
#  372|->     for (int32_t row = 0; row < num_pos_luma; row++) free((*pred_pos_luma)[row]);
#  373|       free(*pred_pos_luma);
#  374|   

Error: CLANG_WARNING: [#def152]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:375:56: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  373|       free(*pred_pos_luma);
#  374|   
#  375|->     for (int32_t row = 0; row < num_pos_chroma; row++) free((*pred_pos_chroma)[row]);
#  376|       free((*pred_pos_chroma));
#  377|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c: scope_hint: In function ‘generate_luma_grain_block’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:438:57: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘luma_grain_block’
#  436|       for (int32_t i = 0; i < luma_block_size_y; i++)
#  437|           for (int32_t j = 0; j < luma_block_size_x; j++)
#  438|->             luma_grain_block[i * luma_grain_stride + j] =
#  439|                   (gaussian_sequence[get_random_number(gauss_bits)] +
#  440|                    ((1 << gauss_sec_shift) >> 1)) >>

Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c: scope_hint: In function ‘generate_chroma_grain_blocks’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:482:61: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cb_grain_block’
#  480|           for (int32_t i = 0; i < chroma_block_size_y; i++)
#  481|               for (int32_t j = 0; j < chroma_block_size_x; j++)
#  482|->                 cb_grain_block[i * chroma_grain_stride + j] =
#  483|                       (gaussian_sequence[get_random_number(gauss_bits)] +
#  484|                        ((1 << gauss_sec_shift) >> 1)) >>

Error: CLANG_WARNING: [#def155]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:507:21: warning[core.NullDereference]: Array access results in an undefined pointer dereference
#  505|               int32_t wsum_cr = 0;
#  506|               for (int32_t pos = 0; pos < num_pos_chroma; pos++) {
#  507|->                 if (pred_pos_chroma[pos][2] == 0) {
#  508|                       wsum_cb = wsum_cb +
#  509|                           params->ar_coeffs_cb[pos] *

Error: CLANG_WARNING: [#def156]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:507:45: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
#  505|               int32_t wsum_cr = 0;
#  506|               for (int32_t pos = 0; pos < num_pos_chroma; pos++) {
#  507|->                 if (pred_pos_chroma[pos][2] == 0) {
#  508|                       wsum_cb = wsum_cb +
#  509|                           params->ar_coeffs_cb[pos] *

Error: CLANG_WARNING: [#def157]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/grainSynthesis.c:914:21: warning[core.UndefinedBinaryOperatorResult]: The right operand of '*' is a garbage value
#  912|           while (height) {
#  913|               dst_block[0] = clamp(
#  914|->                 (27 * left_block[0] + 17 * right_block[0] + 16) >> 5, grain_min, grain_max);
#  915|               dst_block[1] = clamp(
#  916|                   (17 * left_block[1] + 27 * right_block[1] + 16) >> 5, grain_min, grain_max);

Error: CLANG_WARNING: [#def158]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecBitstream.c:92:23: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'int'
#   90|   int32_t dec_get_bits_su(Bitstrm *bs, uint32_t n) {
#   91|       int value     = 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: [#def159]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecCdef.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def160]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecHandle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def161]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecInterPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def162]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecInterPrediction.c:746:5: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  744|   
#  745|       /*Calling Intra prediction */
#  746|->     svtav1_predict_intra_block(part_info,
#  747|                                  plane,
#  748|                                  max_txsize_rect_lookup[plane_bsize],

Error: CPPCHECK_WARNING: [#def163]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecIntraPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def164]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecInverseQuantize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def165]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def166]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecLF.c:219:89: warning[-Wanalyzer-out-of-bounds]: buffer over-read
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecLF.c:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbDefinitions.h: scope_hint: In function ‘dec_av1_filter_block_plane_vert’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecLF.c: scope_hint: In function ‘dec_av1_filter_block_plane_vert’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecLF.c:219:89: note: read of 1 byte from after the end of ‘block_size_wide’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecLF.c:219:89: note: valid subscripts for ‘block_size_wide’ are ‘[0]’ to ‘[21]’
#                                                   └────────────────────────────────┘
#                                                                   ^
#  217|                   const BlockSize bsize = get_plane_block_size(mi_near->sb_type, sub_x, sub_y);
#  218|                   assert(bsize < BlockSizeS_ALL);
#  219|->                 const int32_t prediction_masks = edge_dir == VERT_EDGE ? block_size_wide[bsize] - 1
#  220|                                                                          : block_size_high[bsize] - 1;
#  221|                   const int32_t pu_edge          = !(coord & prediction_masks);

Error: CLANG_WARNING: [#def167]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecLF.c:219:97: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value due to array index out of bounds
#  217|                   const BlockSize bsize = get_plane_block_size(mi_near->sb_type, sub_x, sub_y);
#  218|                   assert(bsize < BlockSizeS_ALL);
#  219|->                 const int32_t prediction_masks = edge_dir == VERT_EDGE ? block_size_wide[bsize] - 1
#  220|                                                                          : block_size_high[bsize] - 1;
#  221|                   const int32_t pu_edge          = !(coord & prediction_masks);

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

Error: CLANG_WARNING: [#def169]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecLF.c:220:97: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value due to array index out of bounds
#  218|                   assert(bsize < BlockSizeS_ALL);
#  219|                   const int32_t prediction_masks = edge_dir == VERT_EDGE ? block_size_wide[bsize] - 1
#  220|->                                                                        : block_size_high[bsize] - 1;
#  221|                   const int32_t pu_edge          = !(coord & prediction_masks);
#  222|                   /*if the current and the previous blocks are skipped,

Error: CLANG_WARNING: [#def170]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecLF.c:407:25: warning[deadcode.DeadStores]: Value stored to 'cur_tx_size' is never read
#  405|                       if (cur_tx_size == TX_INVALID) {
#  406|                           params.filter_length = 0;
#  407|->                         cur_tx_size          = TX_4X4;
#  408|                       }
#  409|   

Error: CLANG_WARNING: [#def171]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecLF.c:453:13: warning[deadcode.DeadStores]: Value stored to 'sub_x' during its initialization is never read
#  451|       Bool is16bit = (recon_picture_buf->bit_depth > EB_EIGHT_BIT || dec_handle->is_16bit_pipeline);
#  452|   
#  453|->     int32_t sub_x = color_config->subsampling_x;
#  454|       int32_t sub_y = color_config->subsampling_y;
#  455|   

Error: CLANG_WARNING: [#def172]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecLF.c:454:13: warning[deadcode.DeadStores]: Value stored to 'sub_y' during its initialization is never read
#  452|   
#  453|       int32_t sub_x = color_config->subsampling_x;
#  454|->     int32_t sub_y = color_config->subsampling_y;
#  455|   
#  456|       uint8_t no_lf_luma = !(frm_hdr->loop_filter_params.filter_level[0]) &&

Error: CLANG_WARNING: [#def173]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecLF.c:593:25: warning[deadcode.DeadStores]: Value stored to 'cur_tx_size' is never read
#  591|                       if (cur_tx_size == TX_INVALID) {
#  592|                           params.filter_length = 0;
#  593|->                         cur_tx_size          = TX_4X4;
#  594|                       }
#  595|   

Error: CPPCHECK_WARNING: [#def174]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecMemInit.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def175]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def176]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def177]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecObmc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def178]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseBlock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def179]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseBlock.c:1664:68: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>>' is a garbage value due to array index out of bounds
# 1662|           uint8_t         subx        = i ? parse_ctxt->seq_header->color_config.subsampling_x : 0;
# 1663|           const BlockSize plane_bsize = get_plane_block_size(bsize, subx, suby);
# 1664|->         const int       txs_wide    = block_size_wide[plane_bsize] >> tx_size_wide_log2[0];
# 1665|           const int       txs_high    = block_size_high[plane_bsize] >> tx_size_high_log2[0];
# 1666|   

Error: CPPCHECK_WARNING: [#def180]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseFrame.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def181]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseHelper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

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

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

Error: CPPCHECK_WARNING: [#def184]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def185]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:1407:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1405|       }
# 1406|       case NEARMV: {
# 1407|->         mv[0].as_int = near_mv[0].as_int;
# 1408|           break;
# 1409|       }

Error: CLANG_WARNING: [#def186]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:1430:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1428|       case NEAR_NEARMV: {
# 1429|           assert(is_compound);
# 1430|->         mv[0].as_int = near_mv[0].as_int;
# 1431|           mv[1].as_int = near_mv[1].as_int;
# 1432|           break;

Error: CLANG_WARNING: [#def187]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:1449:32: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1447|       }
# 1448|       case NEAR_NEWMV: {
# 1449|->         mv[0].as_int           = near_mv[0].as_int;
# 1450|           NmvContext *const nmvc = &parse_ctxt->cur_tile_ctx.nmvc;
# 1451|           read_mv(r, &mv[1].as_mv, &ref_mv[1].as_mv, nmvc, allow_hp);

Error: CLANG_WARNING: [#def188]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:1459:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1457|           read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp);
# 1458|           assert(is_compound);
# 1459|->         mv[1].as_int = near_mv[1].as_int;
# 1460|           break;
# 1461|       }

Error: CLANG_WARNING: [#def189]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:2363:41: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2361|                   for (int i = on_screen_height; i < block_height; i++) {
# 2362|                       for (int j = 0; j < block_width; j++) {
# 2363|->                         color_map[i][j] = color_map[on_screen_height - 1][j];
# 2364|                       }
# 2365|                   }

Error: CLANG_WARNING: [#def190]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:2390:71: warning[core.uninitialized.ArraySubscript]: Array subscript is undefined
# 2388|                       for (int i = 0; i < block_height; i++) {
# 2389|                           for (int j = 0; j < block_width; j++) {
# 2390|->                             temp_buf[i * recon_stride + j] = (uint8_t)palette[color_map[i][j]];
# 2391|                           }
# 2392|                       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def191]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c: scope_hint: In function ‘palette_tokens’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:2390:91: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘color_map[i][j]’
# 2388|                       for (int i = 0; i < block_height; i++) {
# 2389|                           for (int j = 0; j < block_width; j++) {
# 2390|->                             temp_buf[i * recon_stride + j] = (uint8_t)palette[color_map[i][j]];
# 2391|                           }
# 2392|                       }

Error: CLANG_WARNING: [#def192]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:2397:62: warning[core.uninitialized.ArraySubscript]: Array subscript is undefined
# 2395|                       for (int i = 0; i < block_height; i++) {
# 2396|                           for (int j = 0; j < block_width; j++) {
# 2397|->                             temp_buf[i * recon_stride + j] = palette[color_map[i][j]];
# 2398|                           }
# 2399|                       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def193]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseInterBlock.c:2397:82: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘color_map[i][j]’
# 2395|                       for (int i = 0; i < block_height; i++) {
# 2396|                           for (int j = 0; j < block_width; j++) {
# 2397|->                             temp_buf[i * recon_stride + j] = palette[color_map[i][j]];
# 2398|                           }
# 2399|                       }

Error: CPPCHECK_WARNING: [#def194]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseObu.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def195]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseObu.c:699:62: warning[core.DivideZero]: Division by zero
#  697|               max_tile_area_sb = sb_rows * sb_cols;
#  698|           assert(widest_tile_sb > 0);
#  699|->         tile_info->max_tile_height_sb = MAX(max_tile_area_sb / widest_tile_sb, 1);
#  700|   
#  701|           start_sb = 0;

Error: CLANG_WARNING: [#def196]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecParseObu.c:2505:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2503|               obu_header.payload_size -= obu_header.size;
# 2504|   
# 2505|->         payload_size = obu_header.payload_size;
# 2506|   
# 2507|           *data += (obu_header.size + length_size);

Error: CPPCHECK_WARNING: [#def197]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecPicMgr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def198]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def199]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecProcess.c:271: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 **'
#  269|       for (int32_t sb_row = 0; sb_row < (nvfb + 1); sb_row++) {
#  270|           uint16_t **p_linebuf;
#  271|->         EB_MALLOC_DEC(
#  272|               uint16_t **, dec_mt_frame_data->cdef_linebuf[sb_row], num_planes * sizeof(uint16_t **));
#  273|           p_linebuf = dec_mt_frame_data->cdef_linebuf[sb_row];

Error: CPPCHECK_WARNING: [#def200]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecProcessBlock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def201]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecProcessBlock.c:343:13: warning[deadcode.DeadStores]: Value stored to 'n_coeffs' is never read
#  341|                                         trans_info->txb_y_offset);
#  342|   
#  343|->             n_coeffs = 0;
#  344|   
#  345|               if (!mode_info->skip && trans_info->cbf) {

Error: CPPCHECK_WARNING: [#def202]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def203]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecRestoration.c:510: warning[uninitvar]: Uninitialized variables: tile_rect.left, tile_rect.top, tile_rect.right, tile_rect.bottom
#  508|       }
#  509|   
#  510|->     int tile_h  = tile_rect[AOM_PLANE_Y].bottom - tile_rect[AOM_PLANE_Y].top;
#  511|       int sb_size = 1 << dec_handle->seq_header.sb_size_log2;
#  512|   

Error: CPPCHECK_WARNING: [#def204]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecSuperRes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

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

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

Error: CPPCHECK_WARNING: [#def207]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Decoder/Codec/EbDecUtils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def208]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def209]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbCdef_AVX2.c: scope_hint: In function ‘svt_search_one_dual_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbCdef_AVX2.c:49:17: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbCdef_AVX2.c: scope_hint: In function ‘sum32’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbCdef_AVX2.c:213:24: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   47|                   best_mse = curr;
#   48|           }
#   49|->         __m256i best_mse_ = _mm256_set1_epi64x(best_mse);
#   50|           /* Find best mse when adding each possible new option. */
#   51|           //assert(~total_strengths % 4);

Error: CPPCHECK_WARNING: [#def210]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def211]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:325:17: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  323|                       ss10 = _mm256_adds_epu16(ss10, ss0);
#  324|                   }
#  325|->                 p_src += src_stride;
#  326|                   p_ref += ref_stride;
#  327|               }

Error: CLANG_WARNING: [#def212]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:326:17: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  324|                   }
#  325|                   p_src += src_stride;
#  326|->                 p_ref += ref_stride;
#  327|               }
#  328|   

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

Error: CLANG_WARNING: [#def214]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:544:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  542|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  543|                           p_src += src_stride << 1;
#  544|->                         p_ref += ref_stride << 1;
#  545|                       }
#  546|   

Error: CLANG_WARNING: [#def215]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:575:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  573|                           s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  574|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  575|->                         p_src += src_stride << 1;
#  576|                           p_ref += ref_stride << 1;
#  577|                       }

Error: CLANG_WARNING: [#def216]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:576:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  574|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  575|                           p_src += src_stride << 1;
#  576|->                         p_ref += ref_stride << 1;
#  577|                       }
#  578|   

Error: CLANG_WARNING: [#def217]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:730:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  728|                           s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  729|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  730|->                         p_src += src_stride << 1;
#  731|                           p_ref += ref_stride << 1;
#  732|                       }

Error: CLANG_WARNING: [#def218]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:731:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  729|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  730|                           p_src += src_stride << 1;
#  731|->                         p_ref += ref_stride << 1;
#  732|                       }
#  733|   

Error: CLANG_WARNING: [#def219]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:777:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  775|                           s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  776|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  777|->                         p_src += src_stride << 1;
#  778|                           p_ref += ref_stride << 1;
#  779|                       }

Error: CLANG_WARNING: [#def220]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:778:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  776|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  777|                           p_src += src_stride << 1;
#  778|->                         p_ref += ref_stride << 1;
#  779|                       }
#  780|   

Error: CLANG_WARNING: [#def221]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:923:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  921|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  922|                           s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  923|->                         p_src += src_stride << 1;
#  924|                           p_ref += ref_stride << 1;
#  925|                       }

Error: CLANG_WARNING: [#def222]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:924:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  922|                           s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  923|                           p_src += src_stride << 1;
#  924|->                         p_ref += ref_stride << 1;
#  925|                       }
#  926|   

Error: CLANG_WARNING: [#def223]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:959:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  957|                           s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  958|                           s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  959|->                         p_src += src_stride << 1;
#  960|                           p_ref += ref_stride << 1;
#  961|                       }

Error: CLANG_WARNING: [#def224]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:960:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  958|                           s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  959|                           p_src += src_stride << 1;
#  960|->                         p_ref += ref_stride << 1;
#  961|                       }
#  962|   

Error: CLANG_WARNING: [#def225]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1020:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1018|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
# 1019|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1020|->                         p_src += 2 * src_stride;
# 1021|                           p_ref += 2 * ref_stride;
# 1022|                       }

Error: CLANG_WARNING: [#def226]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1021:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1019|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1020|                           p_src += 2 * src_stride;
# 1021|->                         p_ref += 2 * ref_stride;
# 1022|                       }
# 1023|   

Error: CLANG_WARNING: [#def227]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1076:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1074|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
# 1075|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1076|->                         p_src += 2 * src_stride;
# 1077|                           p_ref += 2 * ref_stride;
# 1078|                       }

Error: CLANG_WARNING: [#def228]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1077:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1075|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1076|                           p_src += 2 * src_stride;
# 1077|->                         p_ref += 2 * ref_stride;
# 1078|                       }
# 1079|   

Error: CLANG_WARNING: [#def229]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1136:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1134|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
# 1135|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1136|->                         p_src += 2 * src_stride;
# 1137|                           p_ref += 2 * ref_stride;
# 1138|                       }

Error: CLANG_WARNING: [#def230]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1137:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1135|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1136|                           p_src += 2 * src_stride;
# 1137|->                         p_ref += 2 * ref_stride;
# 1138|                       }
# 1139|   

Error: CLANG_WARNING: [#def231]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1205:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1203|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
# 1204|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1205|->                         p_src += 2 * src_stride;
# 1206|                           p_ref += 2 * ref_stride;
# 1207|                       }

Error: CLANG_WARNING: [#def232]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1206:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1204|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1205|                           p_src += 2 * src_stride;
# 1206|->                         p_ref += 2 * ref_stride;
# 1207|                       }
# 1208|   

Error: CLANG_WARNING: [#def233]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1279:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1277|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
# 1278|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1279|->                         p_src += 2 * src_stride;
# 1280|                           p_ref += 2 * ref_stride;
# 1281|                       }

Error: CLANG_WARNING: [#def234]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1280:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1278|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1279|                           p_src += 2 * src_stride;
# 1280|->                         p_ref += 2 * ref_stride;
# 1281|                       }
# 1282|   

Error: CLANG_WARNING: [#def235]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1357:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1355|                           ss4 = _mm256_adds_epu16(ss4, _mm256_mpsadbw_epu8(ss0, ss2, 45)); // 101 101
# 1356|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1357|->                         p_src += 2 * src_stride;
# 1358|                           p_ref += 2 * ref_stride;
# 1359|                       }

Error: CLANG_WARNING: [#def236]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1358:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1356|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1357|                           p_src += 2 * src_stride;
# 1358|->                         p_ref += 2 * ref_stride;
# 1359|                       }
# 1360|   

Error: CLANG_WARNING: [#def237]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1428:13: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1426|                   _mm_loadu_si128((__m128i *)(p_src + src_stride)),
# 1427|                   0x1);
# 1428|->             p_src += 2 * src_stride;
# 1429|   
# 1430|               for (i = 0; i < search_area_height; i++) {

Error: CLANG_WARNING: [#def238]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1693:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1691|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1692|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1693|->                         p_src += src_stride;
# 1694|                           p_ref += ref_stride;
# 1695|                       }

Error: CLANG_WARNING: [#def239]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1694:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1692|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1693|                           p_src += src_stride;
# 1694|->                         p_ref += ref_stride;
# 1695|                       }
# 1696|   

Error: CLANG_WARNING: [#def240]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1765:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1763|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1764|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1765|->                         p_src += src_stride;
# 1766|                           p_ref += ref_stride;
# 1767|                       }

Error: CLANG_WARNING: [#def241]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1766:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1764|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1765|                           p_src += src_stride;
# 1766|->                         p_ref += ref_stride;
# 1767|                       }
# 1768|   

Error: CLANG_WARNING: [#def242]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1842:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1840|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1841|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1842|->                         p_src += src_stride;
# 1843|                           p_ref += ref_stride;
# 1844|                       }

Error: CLANG_WARNING: [#def243]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1843:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1841|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1842|                           p_src += src_stride;
# 1843|->                         p_ref += ref_stride;
# 1844|                       }
# 1845|   

Error: CLANG_WARNING: [#def244]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1923:25: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
# 1921|                           ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 1922|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1923|->                         p_src += src_stride;
# 1924|                           p_ref += ref_stride;
# 1925|                       }

Error: CLANG_WARNING: [#def245]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:1924:25: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 1922|                           ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 1923|                           p_src += src_stride;
# 1924|->                         p_ref += ref_stride;
# 1925|                       }
# 1926|   

Error: CLANG_WARNING: [#def246]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:5014:44: warning[deadcode.DeadStores]: Value stored to 's6' during its initialization is never read
# 5012|       uint32_t       k;
# 5013|       const uint8_t *p_ref, *p_src;
# 5014|->     __m128i        s0, s1, s2, s3, s4, s5, s6 = _mm_set1_epi32(-1);
# 5015|       __m256i        ss0, ss1, ss2, ss3, ss4, ss5, ss6, ss7, ss8, ss9, ss10, ss11;
# 5016|       __m256i        ss12, ss13, ss14, ss15, ss16, ss17, ss18;

Error: CLANG_WARNING: [#def247]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:5046:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 5044|                       ss3 = _mm256_adds_epu16(ss3, _mm256_mpsadbw_epu8(ss0, ss2, 0));
# 5045|                       ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 5046|->                     p_ref += ref_stride << 2;
# 5047|                       ss3 = _mm256_adds_epu16(ss3, ss5);
# 5048|                       s3  = _mm_adds_epu16(_mm256_castsi256_si128(ss3),

Error: CLANG_WARNING: [#def248]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:5330:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
# 5328|                       ss5 = _mm256_adds_epu16(ss5, _mm256_mpsadbw_epu8(ss1, ss2, 18)); // 010 010
# 5329|                       ss6 = _mm256_adds_epu16(ss6, _mm256_mpsadbw_epu8(ss1, ss2, 63)); // 111 111
# 5330|->                     p_ref += ref_stride << 2;
# 5331|                       ss3 = _mm256_adds_epu16(_mm256_adds_epu16(ss3, ss4),
# 5332|                                               _mm256_adds_epu16(ss5, ss6));

Error: CLANG_WARNING: [#def249]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbComputeSAD_Intrinsic_AVX2.c:5503:45: warning[deadcode.DeadStores]: Although the value stored to 'ss7' is used in the enclosing expression, the value is never actually read from 'ss7'
# 5501|                       p_src = src;
# 5502|                       p_ref = ref + j;
# 5503|->                     ss3 = ss4 = ss5 = ss6 = ss7 = _mm256_setzero_si256();
# 5504|                       for (k = 0; k < (block_height - 1); k += 2) {
# 5505|                           ss0 = _mm256_insertf128_si256(

Error: CPPCHECK_WARNING: [#def250]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def251]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbNoiseModel_avx2.c: scope_hint: In function ‘svt_av1_add_block_observations_internal_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbNoiseModel_avx2.c:22:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   20|                                                     double *buffer_norm, double *b, double *A) {
#   21|       uint32_t      i;
#   22|->     const __m256d recp_spr_pd = _mm256_set1_pd(recp_sqr_norm);
#   23|       const __m256d val_pd      = _mm256_set1_pd(val);
#   24|       __m256d       buffer_pd, tmp_pd;

Error: CPPCHECK_WARNING: [#def252]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def253]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbRestorationPick_AVX2.c: scope_hint: In function ‘svt_get_proj_subspace_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbRestorationPick_AVX2.c:49:10: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   47|       __m256i h_00, h_01, h_11;
#   48|       __m256i c_0, c_1;
#   49|->     h_00 = _mm256_setzero_si256();
#   50|       h_01 = _mm256_setzero_si256();
#   51|       h_11 = _mm256_setzero_si256();

Error: CPPCHECK_WARNING: [#def254]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def255]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbTemporalFiltering_AVX2.c: scope_hint: In function ‘xx_load_and_pad’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbTemporalFiltering_AVX2.c:141:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbTemporalFiltering_AVX2.c: scope_hint: In function ‘xx_mask_and_hadd’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbTemporalFiltering_AVX2.c:154:33: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#  139|   }
#  140|   
#  141|-> static AOM_FORCE_INLINE __m256i xx_load_and_pad(uint16_t *src, int col, int block_width) {
#  142|       __m128i v128tmp = _mm_loadu_si128((__m128i *)(src));
#  143|       if (col == 0) {

Error: CPPCHECK_WARNING: [#def256]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def257]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbTransforms_Intrinsic_AVX2.c: scope_hint: In function ‘energy_computation_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbTransforms_Intrinsic_AVX2.c:40:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/EbTransforms_Intrinsic_AVX2.c: scope_hint: In function ‘hadd64_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def258]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/av1_quantize_avx2.c: scope_hint: In function ‘mm256_mullo_epi64’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/av1_quantize_avx2.c:350:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/av1_quantize_avx2.c: scope_hint: In function ‘quant_gather_eob’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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
#  348|   }
#  349|   // 64 bit multiply. return the low 64 bits of the intermediate integers
#  350|-> static inline __m256i mm256_mullo_epi64(const __m256i a, const __m256i b) {
#  351|       // if a 64bit integer 'a' can be represented by its low 32bit part a0 and high 32bit part a1 as: a1<<32+a0,
#  352|       // 64bit integer multiply a*b can expand to: (a1*b1)<<64 + (a1*b0 + a0*b1)<<32 + a0*b0.

Error: COMPILER_WARNING: [#def259]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/corner_match_avx2.c: scope_hint: In function ‘svt_av1_compute_cross_correlation_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/corner_match_avx2.c:34:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   32|       __m256i       temp1, sum_vec, sumsq2_vec, cross_vec, v, v1_1, v2_1;
#   33|       const __m128i mask = _mm_loadu_si128((__m128i *)byte_mask);
#   34|->     const __m256i zero = _mm256_setzero_si256();
#   35|       __m128i       v1, v2;
#   36|   

Error: COMPILER_WARNING: [#def260]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/enc_warp_plane_avx2.c: scope_hint: In function ‘svt_av1_calc_frame_error_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/enc_warp_plane_avx2.c:22:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   20|       int     i, j;
#   21|       __m256i row_error, col_error;
#   22|->     __m256i zero            = _mm256_set1_epi16(0);
#   23|       __m256i dup_255         = _mm256_set1_epi16(255);
#   24|       col_error               = zero;

Error: CPPCHECK_WARNING: [#def261]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def262]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/fft_avx2.c: scope_hint: In function ‘transpose8x8_float’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/fft_avx2.c:30:12: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   28|   static INLINE void transpose8x8_float(const float *A, float *b, const int32_t lda,
#   29|                                         const int32_t ldb) {
#   30|->     __m256 in0 = _mm256_loadu_ps(&A[0 * lda]);
#   31|       __m256 in1 = _mm256_loadu_ps(&A[1 * lda]);
#   32|       __m256 in2 = _mm256_loadu_ps(&A[2 * lda]);

Error: CPPCHECK_WARNING: [#def263]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def264]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c:1137:9: warning[deadcode.DeadStores]: Value stored to 'top_r' is never read
# 1135|           tmp   = top_l;
# 1136|           top_l = top_r;
# 1137|->         top_r = tmp;
# 1138|           // Swap bottom rows
# 1139|           tmp   = bot_l;

Error: CLANG_WARNING: [#def265]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c:1141:9: warning[deadcode.DeadStores]: Value stored to 'bot_r' is never read
# 1139|           tmp   = bot_l;
# 1140|           bot_l = bot_r;
# 1141|->         bot_r = tmp;
# 1142|       }
# 1143|   

Error: CLANG_WARNING: [#def266]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c:1178:9: warning[deadcode.DeadStores]: Value stored to 'bot_l' is never read
# 1176|           // Swap bottom rows
# 1177|           tmp   = bot_l;
# 1178|->         bot_l = bot_r;
# 1179|           bot_r = tmp;
# 1180|       }

Error: CLANG_WARNING: [#def267]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c:1179:9: warning[deadcode.DeadStores]: Value stored to 'bot_r' is never read
# 1177|           tmp   = bot_l;
# 1178|           bot_l = bot_r;
# 1179|->         bot_r = tmp;
# 1180|       }
# 1181|   

Error: CLANG_WARNING: [#def268]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c:1215:9: warning[deadcode.DeadStores]: Value stored to 'top_r' is never read
# 1213|           tmp   = top_l;
# 1214|           top_l = top_r;
# 1215|->         top_r = tmp;
# 1216|           // Swap bottom rows
# 1217|           tmp   = bot_l;

Error: CLANG_WARNING: [#def269]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c:1218:9: warning[deadcode.DeadStores]: Value stored to 'bot_l' is never read
# 1216|           // Swap bottom rows
# 1217|           tmp   = bot_l;
# 1218|->         bot_l = bot_r;
# 1219|           bot_r = tmp;
# 1220|       }

Error: CLANG_WARNING: [#def270]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c:1219:9: warning[deadcode.DeadStores]: Value stored to 'bot_r' is never read
# 1217|           tmp   = bot_l;
# 1218|           bot_l = bot_r;
# 1219|->         bot_r = tmp;
# 1220|       }
# 1221|   

Error: COMPILER_WARNING (CWE-457): [#def271]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c:8535:13: warning[-Wmaybe-uninitialized]: ‘in’ may be used uninitialized
# 8535 |     in[0] = _mm256_permute2x128_si256(input[0], input[2], 0x20);
#      |             ^
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c: scope_hint: In function ‘svt_av1_fwd_txfm2d_8x4_N2_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_fwd_txfm_avx2.c:9953:19: note: ‘in’ declared here
# 9953 |     __m256i       in[4];
#      |                   ^
# 8533|       __m256i       v[4];
# 8534|   
# 8535|->     in[0] = _mm256_permute2x128_si256(input[0], input[2], 0x20);
# 8536|       in[1] = _mm256_permute2x128_si256(input[0], input[2], 0x31);
# 8537|   

Error: COMPILER_WARNING: [#def272]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_quantize_intrin_avx2.c: scope_hint: In function ‘load_bytes_to_m256_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_quantize_intrin_avx2.c:161:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_quantize_intrin_avx2.c: scope_hint: In function ‘quantize_qm’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_quantize_intrin_avx2.c:112:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#  159|   }
#  160|   
#  161|-> static INLINE __m256i load_bytes_to_m256_avx2(const QmVal *p) {
#  162|       __m128i small_load = _mm_loadl_epi64((const __m128i *)p);
#  163|       return _mm256_cvtepu8_epi32(small_load);

Error: COMPILER_WARNING: [#def273]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/highbd_variance_avx2.c: scope_hint: In function ‘aom_highbd_calc16x16var_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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,
#   55|                                            int ref_stride, 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: [#def274]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/obmc_sad_avx2.c: scope_hint: In function ‘obmc_sad_w8n_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/obmc_sad_avx2.c:75:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   73|       const int     pre_step = pre_stride - width;
#   74|       int           n        = 0;
#   75|->     __m256i       v_sad_d  = _mm256_setzero_si256();
#   76|       const __m256i v_bias_d = _mm256_set1_epi32((1 << 12) >> 1);
#   77|       assert(width >= 8);

Error: CPPCHECK_WARNING: [#def275]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def276]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/obmc_variance_avx2.c: scope_hint: In function ‘obmc_variance_w16n’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/obmc_variance_avx2.c:124:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  122|       __m256i       v_d;
#  123|       __m128i       res0;
#  124|->     const __m256i v_bias_d = _mm256_set1_epi32((1 << 12) >> 1);
#  125|       __m256i       v_sum_d  = _mm256_setzero_si256();
#  126|       __m256i       v_sse_d  = _mm256_setzero_si256();

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

Error: CPPCHECK_WARNING: [#def278]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def279]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def280]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def281]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:672:54: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  670|           int      blend_len = 3;
#  671|           uint16_t tmp[8];
#  672|->         for (int i = 0; i < blend_len; ++i) { tmp[i] = input[0]; }
#  673|           memcpy(tmp + blend_len, input, (8 - blend_len) * sizeof(uint16_t));
#  674|   

Error: CLANG_WARNING: [#def282]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2213:13: warning[deadcode.DeadStores]: Value stored to 'optr' is never read
# 2211|                   vec_src, filter_2x, base_sum, min, max, optr, out_stride);
# 2212|   
# 2213|->             optr += steps / 2 * out_stride;
# 2214|               in += steps * in_stride;
# 2215|           }

Error: CLANG_WARNING: [#def283]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2214:13: warning[deadcode.DeadStores]: Value stored to 'in' is never read
# 2212|   
# 2213|               optr += steps / 2 * out_stride;
# 2214|->             in += steps * in_stride;
# 2215|           }
# 2216|       }

Error: CLANG_WARNING: [#def284]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2265:13: warning[deadcode.DeadStores]: Value stored to 'x' is never read
# 2263|               in += 4 * in_stride;
# 2264|   
# 2265|->             x += 2;
# 2266|           }
# 2267|   

Error: CLANG_WARNING: [#def285]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2285:13: warning[deadcode.DeadStores]: Value stored to 'optr' is never read
# 2283|                   vec_src, filter_2x, base_sum, min, max, optr, out_stride);
# 2284|   
# 2285|->             optr += 2 * out_stride;
# 2286|               in += 4 * in_stride;
# 2287|           }

Error: CLANG_WARNING: [#def286]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2286:13: warning[deadcode.DeadStores]: Value stored to 'in' is never read
# 2284|   
# 2285|               optr += 2 * out_stride;
# 2286|->             in += 4 * in_stride;
# 2287|           }
# 2288|       }

Error: CLANG_WARNING: [#def287]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2534:13: warning[deadcode.DeadStores]: Value stored to 'optr' is never read
# 2532|                   vec_src, filter_2x, base_sum, min, max, optr, out_stride);
# 2533|   
# 2534|->             optr += 4 * out_stride;
# 2535|               in += 8 * in_stride;
# 2536|           }

Error: CLANG_WARNING: [#def288]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2535:13: warning[deadcode.DeadStores]: Value stored to 'in' is never read
# 2533|   
# 2534|               optr += 4 * out_stride;
# 2535|->             in += 8 * in_stride;
# 2536|           }
# 2537|       }

Error: CLANG_WARNING: [#def289]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2615:13: warning[deadcode.DeadStores]: Value stored to 'optr' is never read
# 2613|                   vec_src, filter_2x, base_sum, min, max, optr, out_stride);
# 2614|   
# 2615|->             optr += 4 * out_stride; // steps 4 rows
# 2616|               in += 8 * in_stride; // steps 8 rows
# 2617|           }

Error: CLANG_WARNING: [#def290]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2616:13: warning[deadcode.DeadStores]: Value stored to 'in' is never read
# 2614|   
# 2615|               optr += 4 * out_stride; // steps 4 rows
# 2616|->             in += 8 * in_stride; // steps 8 rows
# 2617|           }
# 2618|       }

Error: CLANG_WARNING: [#def291]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/resize_avx2.c:2623:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'arrbuf'
# 2621|           uint8_t *arrbuf, *arrbuf2;
# 2622|           EB_MALLOC_ARRAY(arrbuf, in_height);
# 2623|->         EB_MALLOC_ARRAY(arrbuf2, out_height);
# 2624|           if (arrbuf == NULL || arrbuf2 == NULL) {
# 2625|               EB_FREE_ARRAY(arrbuf);

Error: COMPILER_WARNING: [#def292]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/variance_avx2.c: scope_hint: In function ‘sum_to_32bit_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/variance_avx2.c:72:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/variance_avx2.c: scope_hint: In function ‘variance_kernel_no_sum_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/variance_avx2.c:33:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   70|   }
#   71|   
#   72|-> static INLINE __m256i sum_to_32bit_avx2(const __m256i sum) {
#   73|       const __m256i sum_lo = _mm256_cvtepi16_epi32(_mm256_castsi256_si128(sum));
#   74|       const __m256i sum_hi = _mm256_cvtepi16_epi32(_mm256_extractf128_si256(sum, 1));

Error: CPPCHECK_WARNING: [#def293]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def294]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/variance_impl_avx2.c: scope_hint: In function ‘svt_aom_sub_pixel_variance32xh_avx2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_AVX2/variance_impl_avx2.c:175:14: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  173|       __m256i zero_reg;
#  174|       int     i, sum;
#  175|->     sum_reg  = _mm256_set1_epi16(0);
#  176|       sse_reg  = _mm256_set1_epi16(0);
#  177|       zero_reg = _mm256_set1_epi16(0);

Error: CPPCHECK_WARNING: [#def295]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def296]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def297]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def298]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:144:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  142|                       s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  143|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  144|->                     p_src += src_stride << 1;
#  145|                       p_ref += ref_stride << 1;
#  146|                   }

Error: CLANG_WARNING: [#def299]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:145:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  143|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  144|                       p_src += src_stride << 1;
#  145|->                     p_ref += ref_stride << 1;
#  146|                   }
#  147|   

Error: CLANG_WARNING: [#def300]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:176:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  174|                       s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  175|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  176|->                     p_src += src_stride << 1;
#  177|                       p_ref += ref_stride << 1;
#  178|                   }

Error: CLANG_WARNING: [#def301]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:177:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  175|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  176|                       p_src += src_stride << 1;
#  177|->                     p_ref += ref_stride << 1;
#  178|                   }
#  179|   

Error: CLANG_WARNING: [#def302]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:214:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  212|                       s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  213|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  214|->                     p_src += src_stride << 1;
#  215|                       p_ref += ref_stride << 1;
#  216|                   }

Error: CLANG_WARNING: [#def303]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:215:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  213|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  214|                       p_src += src_stride << 1;
#  215|->                     p_ref += ref_stride << 1;
#  216|                   }
#  217|   

Error: CLANG_WARNING: [#def304]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:260:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  258|                       s2 = _mm_cvtsi32_si128(*(uint32_t *)p_src);
#  259|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  260|->                     p_src += src_stride << 1;
#  261|                       p_ref += ref_stride << 1;
#  262|                   }

Error: CLANG_WARNING: [#def305]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:261:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  259|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  260|                       p_src += src_stride << 1;
#  261|->                     p_ref += ref_stride << 1;
#  262|                   }
#  263|   

Error: CLANG_WARNING: [#def306]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:316:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  314|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  315|                       s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  316|->                     p_src += src_stride << 1;
#  317|                       p_ref += ref_stride << 1;
#  318|                   }

Error: CLANG_WARNING: [#def307]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:317:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  315|                       s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  316|                       p_src += src_stride << 1;
#  317|->                     p_ref += ref_stride << 1;
#  318|                   }
#  319|   

Error: CLANG_WARNING: [#def308]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:352:21: warning[deadcode.DeadStores]: Value stored to 'p_src' is never read
#  350|                       s3 = _mm_adds_epu16(s3, _mm_mpsadbw_epu8(s0, s2, 0));
#  351|                       s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  352|->                     p_src += src_stride << 1;
#  353|                       p_ref += ref_stride << 1;
#  354|                   }

Error: CLANG_WARNING: [#def309]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:353:21: warning[deadcode.DeadStores]: Value stored to 'p_ref' is never read
#  351|                       s4 = _mm_adds_epu16(s4, _mm_mpsadbw_epu8(s0, s2, 5));
#  352|                       p_src += src_stride << 1;
#  353|->                     p_ref += ref_stride << 1;
#  354|                   }
#  355|   

Error: CLANG_WARNING: [#def310]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:376:36: warning[deadcode.DeadStores]: Although the value stored to 's6' is used in the enclosing expression, the value is never actually read from 's6'
#  374|                       p_src = src;
#  375|                       p_ref = ref + j;
#  376|->                     s3 = s4 = s5 = s6 = _mm_setzero_si128();
#  377|                       for (k = 0; k < block_height; k++) {
#  378|                           s0 = _mm_loadu_si128((__m128i *)p_ref);

Error: CLANG_WARNING: [#def311]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:400:36: warning[deadcode.DeadStores]: Although the value stored to 's6' is used in the enclosing expression, the value is never actually read from 's6'
#  398|                       p_src = src;
#  399|                       p_ref = ref + j;
#  400|->                     s3 = s4 = s5 = s6 = _mm_setzero_si128();
#  401|                       for (k = 0; k < block_height; k++) {
#  402|                           s0 = _mm_loadu_si128((__m128i *)p_ref);

Error: CLANG_WARNING: [#def312]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/EbComputeSAD_Intrinsic_SSE4_1.c:2315:48: warning[deadcode.DeadStores]: Value stored to 's7' during its initialization is never read
# 2313|       uint32_t       k;
# 2314|       const uint8_t *p_ref, *p_src;
# 2315|->     __m128i        s0, s1, s2, s3, s4, s5, s6, s7 = _mm_set1_epi32(-1);
# 2316|       MV             best_mv;
# 2317|       switch (block_width) {

Error: CPPCHECK_WARNING: [#def313]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def314]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def315]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: CLANG_WARNING: [#def316]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:4803:9: warning[deadcode.DeadStores]: Value stored to 'top_r' is never read
# 4801|           tmp   = top_l;
# 4802|           top_l = top_r;
# 4803|->         top_r = tmp;
# 4804|           // Swap bottom rows
# 4805|           tmp   = bot_l;

Error: CLANG_WARNING: [#def317]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:4807:9: warning[deadcode.DeadStores]: Value stored to 'bot_r' is never read
# 4805|           tmp   = bot_l;
# 4806|           bot_l = bot_r;
# 4807|->         bot_r = tmp;
# 4808|       }
# 4809|   

Error: CLANG_WARNING: [#def318]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:4844:9: warning[deadcode.DeadStores]: Value stored to 'bot_l' is never read
# 4842|           // Swap bottom rows
# 4843|           tmp   = bot_l;
# 4844|->         bot_l = bot_r;
# 4845|           bot_r = tmp;
# 4846|       }

Error: CLANG_WARNING: [#def319]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:4845:9: warning[deadcode.DeadStores]: Value stored to 'bot_r' is never read
# 4843|           tmp   = bot_l;
# 4844|           bot_l = bot_r;
# 4845|->         bot_r = tmp;
# 4846|       }
# 4847|   

Error: CLANG_WARNING: [#def320]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:4881:9: warning[deadcode.DeadStores]: Value stored to 'top_r' is never read
# 4879|           tmp   = top_l;
# 4880|           top_l = top_r;
# 4881|->         top_r = tmp;
# 4882|           // Swap bottom rows
# 4883|           tmp   = bot_l;

Error: CLANG_WARNING: [#def321]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:4884:9: warning[deadcode.DeadStores]: Value stored to 'bot_l' is never read
# 4882|           // Swap bottom rows
# 4883|           tmp   = bot_l;
# 4884|->         bot_l = bot_r;
# 4885|           bot_r = tmp;
# 4886|       }

Error: CLANG_WARNING: [#def322]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:4885:9: warning[deadcode.DeadStores]: Value stored to 'bot_r' is never read
# 4883|           tmp   = bot_l;
# 4884|           bot_l = bot_r;
# 4885|->         bot_r = tmp;
# 4886|       }
# 4887|   

Error: COMPILER_WARNING (CWE-457): [#def323]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:8607:18: warning[-Wmaybe-uninitialized]: ‘in’ may be used uninitialized
# 8607 |     in[1] = input[4];
#      |                  ^
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:10050:19: note: ‘in’ declared here
#10050 |     __m128i       in[8];
#      |                   ^
# 8605|   
# 8606|       in[0] = input[0];
# 8607|->     in[1] = input[4];
# 8608|       in[2] = input[1];
# 8609|       in[3] = input[5];

Error: COMPILER_WARNING (CWE-457): [#def324]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:8609:18: warning[-Wmaybe-uninitialized]: ‘in’ may be used uninitialized
# 8609 |     in[3] = input[5];
#      |                  ^
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/ASM_SSE4_1/highbd_fwd_txfm_sse4.c:10050:19: note: ‘in’ declared here
#10050 |     __m128i       in[8];
#      |                   ^
# 8607|       in[1] = input[4];
# 8608|       in[2] = input[1];
# 8609|->     in[3] = input[5];
# 8610|   
# 8611|       for (int32_t i = 0; i < 4; i++) {

Error: CPPCHECK_WARNING: [#def325]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def326]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def327]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbAdaptiveMotionVectorPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def328]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbCdefProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def329]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbCodingLoop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def330]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbCodingLoop.c:2509:26: warning[deadcode.DeadStores]: Value stored to 'blk_geom' during its initialization is never read
# 2507|       while (blk_it < scs->max_block_cnt) {
# 2508|           BlkStruct       *blk_ptr = ctx->blk_ptr = &md_ctx->md_blk_arr_nsq[blk_it];
# 2509|->         const BlockGeom *blk_geom = ctx->blk_geom = get_blk_geom_mds(blk_it);
# 2510|   
# 2511|           //At the boundary when it's not a complete super block.

Error: CPPCHECK_WARNING: [#def331]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbCodingUnit.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def332]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def333]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:162:5: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  160|       // for vertical edge, filter direction is horizontal, for horizontal
#  161|       // edge, filter direction is vertical.
#  162|->     return (VERT_EDGE == edge_dir) ? txsize_horz_map[tx_size] : txsize_vert_map[tx_size];
#  163|   }
#  164|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def334]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.c: scope_hint: In function ‘set_lpf_parameters’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:271:38: warning[-Wanalyzer-out-of-bounds]: buffer over-read
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionUnit.h:15: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.h:15: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:15: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbNeighborArrays.h:18: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:1202:13: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.c: scope_hint: In function ‘set_lpf_parameters’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:271:38: note: read of 1 byte from after the end of ‘block_size_wide’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:271:38: note: valid subscripts for ‘block_size_wide’ are ‘[0]’ to ‘[21]’
#                                                   └────────────────────────────────┘
#                                                                   ^
#  269|                   assert(bsize < BlockSizeS_ALL);
#  270|                   const int32_t prediction_masks = (edge_dir == VERT_EDGE)
#  271|->                     ? block_size_wide[bsize] - 1
#  272|                       : block_size_high[bsize] - 1;
#  273|                   const int32_t pu_edge          = !(coord & prediction_masks);

Error: CLANG_WARNING: [#def335]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDeblockingFilter.c:272:46: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value due to array index out of bounds
#  270|                   const int32_t prediction_masks = (edge_dir == VERT_EDGE)
#  271|                       ? block_size_wide[bsize] - 1
#  272|->                     : block_size_high[bsize] - 1;
#  273|                   const int32_t pu_edge          = !(coord & prediction_masks);
#  274|                   // if the current and the previous blocks are skipped,

Error: CPPCHECK_WARNING: [#def336]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbDlfProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def337]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def338]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncCdef.c: scope_hint: In function ‘finish_cdef_search’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncCdef.c:836:36: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sb_index’
#  834|                   if (svt_sb_all_skip(pcs_ptr, cm, fbr * MI_SIZE_64X64, fbc * MI_SIZE_64X64))
#  835|                       continue;
#  836|->                 sb_index[sb_count] = MI_SIZE_64X64 * fbr * pcs_ptr->mi_stride + MI_SIZE_64X64 * fbc;
#  837|                   sb_count++;
#  838|               }

Error: CLANG_WARNING: [#def339]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncCdef.c:896: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 **'
#  894|           FALSE);
#  895|       lambda   = full_lambda;
#  896|->     mse[0]   = (uint64_t **)malloc(sizeof(*mse) * nvfb * nhfb);
#  897|       mse[1]   = (uint64_t **)malloc(sizeof(*mse) * nvfb * nhfb);
#  898|       sb_count = 0;

Error: CLANG_WARNING: [#def340]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncCdef.c:897: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 **'
#  895|       lambda   = full_lambda;
#  896|       mse[0]   = (uint64_t **)malloc(sizeof(*mse) * nvfb * nhfb);
#  897|->     mse[1]   = (uint64_t **)malloc(sizeof(*mse) * nvfb * nhfb);
#  898|       sb_count = 0;
#  899|       for (fbr = 0; fbr < nvfb; ++fbr) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def341]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncCdef.c:918:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)nvfb * (long unsigned int)nhfb * 8)’
#  916|                   continue;
#  917|               // point to the MSE data
#  918|->             mse[0][sb_count] = pcs_ptr->mse_seg[0][fbr * nhfb + fbc];
#  919|               mse[1][sb_count] = pcs_ptr->mse_seg[1][fbr * nhfb + fbc];
#  920|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def342]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncCdef.c:919:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)nvfb * (long unsigned int)nhfb * 8)’
#  917|               // point to the MSE data
#  918|               mse[0][sb_count] = pcs_ptr->mse_seg[0][fbr * nhfb + fbc];
#  919|->             mse[1][sb_count] = pcs_ptr->mse_seg[1][fbr * nhfb + fbc];
#  920|   
#  921|               sb_index[sb_count] = MI_SIZE_64X64 * fbr * pcs_ptr->mi_stride + MI_SIZE_64X64 * fbc;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def343]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncCdef.c:921:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sb_index’
#  919|               mse[1][sb_count] = pcs_ptr->mse_seg[1][fbr * nhfb + fbc];
#  920|   
#  921|->             sb_index[sb_count] = MI_SIZE_64X64 * fbr * pcs_ptr->mi_stride + MI_SIZE_64X64 * fbc;
#  922|               sb_addr[sb_count]  = fbr * nhfb + fbc;
#  923|               sb_count++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def344]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncCdef.c:922:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sb_addr’
#  920|   
#  921|               sb_index[sb_count] = MI_SIZE_64X64 * fbr * pcs_ptr->mi_stride + MI_SIZE_64X64 * fbc;
#  922|->             sb_addr[sb_count]  = fbr * nhfb + fbc;
#  923|               sb_count++;
#  924|           }

Error: CPPCHECK_WARNING: [#def345]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncDecProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def346]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncDecProcess.c:962: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'
#  960|                                     input_picture_ptr->origin_y / 2 * input_picture_ptr->stride_cb]);
#  961|               ;
#  962|->             uint16_t *recon_buffer_org_u = recon_coeff_buffer = (uint16_t *)(&(
#  963|                   (recon_ptr
#  964|                        ->buffer_cb)[(recon_ptr->origin_x << is_16bit) / 2 +

Error: CLANG_WARNING: [#def347]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncDecProcess.c:973: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'
#  971|                                     input_picture_ptr->origin_y / 2 * input_picture_ptr->stride_cr]);
#  972|               ;
#  973|->             uint16_t *recon_buffer_org_v = recon_coeff_buffer = (uint16_t *)(&(
#  974|                   (recon_ptr
#  975|                        ->buffer_cr)[(recon_ptr->origin_x << is_16bit) / 2 +

Error: CLANG_WARNING: [#def348]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1089:17: warning[unix.Malloc]: Potential memory leak
# 1087|                   EB_MALLOC_ARRAY(uncompressed_pics[0],
# 1088|                                   pcs_ptr->parent_pcs_ptr->enhanced_unscaled_picture_ptr->luma_size);
# 1089|->                 EB_MALLOC_ARRAY(
# 1090|                       uncompressed_pics[1],
# 1091|                       pcs_ptr->parent_pcs_ptr->enhanced_unscaled_picture_ptr->chroma_size);

Error: CLANG_WARNING: [#def349]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1092:17: warning[unix.Malloc]: Potential memory leak
# 1090|                       uncompressed_pics[1],
# 1091|                       pcs_ptr->parent_pcs_ptr->enhanced_unscaled_picture_ptr->chroma_size);
# 1092|->                 EB_MALLOC_ARRAY(
# 1093|                       uncompressed_pics[2],
# 1094|                       pcs_ptr->parent_pcs_ptr->enhanced_unscaled_picture_ptr->chroma_size);

Error: CLANG_WARNING: [#def350]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1372: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'
# 1370|                                     input_picture_ptr->origin_y / 2 * input_picture_ptr->stride_cb]);
# 1371|               ;
# 1372|->             uint16_t *recon_buffer_org_u = recon_coeff_buffer = (uint16_t *)(&(
# 1373|                   (recon_ptr
# 1374|                        ->buffer_cb)[(recon_ptr->origin_x << is_16bit) / 2 +

Error: CLANG_WARNING: [#def351]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1383: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'
# 1381|                                     input_picture_ptr->origin_y / 2 * input_picture_ptr->stride_cr]);
# 1382|               ;
# 1383|->             uint16_t *recon_buffer_org_v = recon_coeff_buffer = (uint16_t *)(&(
# 1384|                   (recon_ptr
# 1385|                        ->buffer_cr)[(recon_ptr->origin_x << is_16bit) / 2 +

Error: CLANG_WARNING: [#def352]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1596:17: warning[unix.Malloc]: Potential memory leak
# 1594|                   EB_MALLOC_ARRAY(uncompressed_pics[0],
# 1595|                                   pcs_ptr->parent_pcs_ptr->enhanced_unscaled_picture_ptr->luma_size);
# 1596|->                 EB_MALLOC_ARRAY(
# 1597|                       uncompressed_pics[1],
# 1598|                       pcs_ptr->parent_pcs_ptr->enhanced_unscaled_picture_ptr->chroma_size);

Error: CLANG_WARNING: [#def353]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncDecProcess.c:1599:17: warning[unix.Malloc]: Potential memory leak
# 1597|                       uncompressed_pics[1],
# 1598|                       pcs_ptr->parent_pcs_ptr->enhanced_unscaled_picture_ptr->chroma_size);
# 1599|->                 EB_MALLOC_ARRAY(
# 1600|                       uncompressed_pics[2],
# 1601|                       pcs_ptr->parent_pcs_ptr->enhanced_unscaled_picture_ptr->chroma_size);

Error: CPPCHECK_WARNING: [#def354]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncDecSegments.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def355]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncDecSegments.c:125:31: warning[core.UndefinedBinaryOperatorResult]: The result of the '/' expression is undefined
#  123|                              segments_ptr->segment_row_count) -
#  124|               1;
#  125|->         unsigned band_index = BAND_INDEX(
#  126|               0, y, segments_ptr->segment_band_count, segments_ptr->sb_band_count);
#  127|   

Error: CPPCHECK_WARNING: [#def356]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-476): [#def357]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:76: error[ctunullpointer]: Null pointer dereference: comp_data
#   74|       //use regular path to generate a prediction for ref1 into  a temporary buffer,
#   75|       //then  blend that temporary buffer with that from  the first reference.
#   76|->     seg_mask = comp_data->seg_mask;
#   77|   
#   78|   #define INTER_PRED_BYTES_PER_PIXEL 2

Error: CPPCHECK_WARNING (CWE-457): [#def358]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:126: warning[uninitvar]: Uninitialized variable: src_ptr_10b
#  124|               src_stride16 = src_stride;
#  125|           }
#  126|->         svt_highbd_inter_predictor(src_ptr_10b,
#  127|                                      src_stride16,
#  128|                                      (uint16_t *)dst_ptr,

Error: CPPCHECK_WARNING (CWE-457): [#def359]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:578: error[legacyUninitvar]: Uninitialized variable: seg_mask0
#  576|       // try each mask type and its inverse
#  577|       for (cur_mask_type = 0; cur_mask_type < DIFFWTD_MASK_TYPES; cur_mask_type++) {
#  578|->         uint8_t *const temp_mask = cur_mask_type ? seg_mask1 : seg_mask0;
#  579|           // build mask and inverse
#  580|           if (hbd_mode_decision)

Error: CPPCHECK_WARNING (CWE-457): [#def360]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:578: error[legacyUninitvar]: Uninitialized variable: seg_mask1
#  576|       // try each mask type and its inverse
#  577|       for (cur_mask_type = 0; cur_mask_type < DIFFWTD_MASK_TYPES; cur_mask_type++) {
#  578|->         uint8_t *const temp_mask = cur_mask_type ? seg_mask1 : seg_mask0;
#  579|           // build mask and inverse
#  580|           if (hbd_mode_decision)

Error: CPPCHECK_WARNING (CWE-562): [#def361]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:1964: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 1962|       int            org_dst_stride = conv_params->dst_stride;
# 1963|       CONV_BUF_TYPE *tmp_buf16      = (CONV_BUF_TYPE *)tmp_buf;
# 1964|->     conv_params->dst              = tmp_buf16;
# 1965|       conv_params->dst_stride       = tmp_buf_stride;
# 1966|       assert(conv_params->do_average == 0);

Error: CPPCHECK_WARNING (CWE-457): [#def362]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:3937: warning[uninitvar]: Uninitialized variable: src16_ptr
# 3935|               src_stride16 = src_stride;
# 3936|           }
# 3937|->         svt_highbd_inter_predictor(src16_ptr, //(src_ptr_2b)? (uint16_t*)src16+ 8 + 8*128 : src16,
# 3938|                                      src_stride16,
# 3939|                                      (uint16_t *)dst_ptr,

Error: CPPCHECK_WARNING (CWE-562): [#def363]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:5029: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5027|       // seg_mask is computed for luma and used for chroma
# 5028|       if (interinter_comp)
# 5029|->         interinter_comp->seg_mask = seg_mask;
# 5030|   
# 5031|       MvReferenceFrame rf[2];

Error: COMPILER_WARNING: [#def364]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c: scope_hint: In function ‘av1_inter_prediction’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:5029:35: warning[-Wdangling-pointer=]: storing the address of local variable ‘seg_mask’ in ‘interinter_comp_791(D)->seg_mask’
# 5029 |         interinter_comp->seg_mask = seg_mask;
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbModeDecision.h:15: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.h:15: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:15: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:5026:34: note: ‘seg_mask’ declared here
# 5026 |     DECLARE_ALIGNED(16, uint8_t, seg_mask[2 * MAX_SB_SQUARE]);
#      |                                  ^~~~~~~~
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncInterPrediction.c:5008:51: note: ‘interinter_comp’ declared here
# 5008 |     uint8_t compound_idx, InterInterCompoundData *interinter_comp,
#      |                           ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
# 5027|       // seg_mask is computed for luma and used for chroma
# 5028|       if (interinter_comp)
# 5029|->         interinter_comp->seg_mask = seg_mask;
# 5030|   
# 5031|       MvReferenceFrame rf[2];

Error: CPPCHECK_WARNING: [#def365]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncIntraPrediction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def366]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncWarpedMotion.c:107:69: warning[core.UndefinedBinaryOperatorResult]: The right operand of '-' is a garbage value
#  105|       for (int i = 0; i < p_height; ++i) {
#  106|           for (int j = 0; j < p_width; ++j) {
#  107|->             sum_error += highbd_error_measure(dst[j + i * p_stride] - ref[j + i * stride], bd);
#  108|           }
#  109|       }

Error: CPPCHECK_WARNING (CWE-457): [#def367]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncWarpedMotion.c:137: error[legacyUninitvar]: Uninitialized variable: (unsigned long)(tmp)
#  135|                                     height,
#  136|                                     stride,
#  137|->                                   CONVERT_TO_BYTEPTR(tmp),
#  138|                                     j,
#  139|                                     i,

Error: CPPCHECK_WARNING (CWE-457): [#def368]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncWarpedMotion.c:148: error[uninitvar]: Uninitialized variable: tmp
#  146|                                     &conv_params);
#  147|   
#  148|->             gm_sumerr += highbd_frame_error(tmp,
#  149|                                               WARP_ERROR_BLOCK,
#  150|                                               CONVERT_TO_SHORTPTR(dst8) + j + i * p_stride,

Error: CPPCHECK_WARNING: [#def369]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEncodeContext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def370]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEntropyCoding.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def371]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbEntropyCodingProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def372]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbFullLoop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def373]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbGlobalMotionEstimation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def374]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbInitialRateControlProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def375]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbMdRateEstimation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def376]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbModeDecision.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def377]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbModeDecisionConfigurationProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def378]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbModeDecisionConfigurationProcess.c:428:29: warning[core.DivideZero]: Division by zero
#  426|                       avg_me_dist += ppcs->me_64x64_distortion[b64_idx];
#  427|                   }
#  428|->                 avg_me_dist /= ppcs->b64_total_count;
#  429|                   avg_me_dist /= pcs_ptr->picture_qp;
#  430|   

Error: CLANG_WARNING: [#def379]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbModeDecisionConfigurationProcess.c:442:29: warning[core.DivideZero]: Division by zero
#  440|                       avg_me_dist += ppcs->me_64x64_distortion[b64_idx];
#  441|                   }
#  442|->                 avg_me_dist /= ppcs->b64_total_count;
#  443|                   avg_me_dist /= pcs_ptr->picture_qp;
#  444|   

Error: CPPCHECK_WARNING: [#def380]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbModeDecisionProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def381]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbMotionEstimation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def382]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbMotionEstimation.c:1540:13: warning[deadcode.DeadStores]: Value stored to 'search_region_index' is never read
# 1538|               y_top_left_search_region = (int16_t)(ref_pic_ptr->origin_y + b64_origin_y) + y_search_area_origin;
# 1539|   
# 1540|->             search_region_index = x_top_left_search_region +
# 1541|                   y_top_left_search_region * ref_pic_ptr->stride_y;
# 1542|               svt_initialize_buffer_32bits(

Error: CLANG_WARNING: [#def383]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbMotionEstimation.c:2491:40: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value due to array index out of bounds
# 2489|   
# 2490|               //ME was skipped, so do not add this Unipred candidate
# 2491|->             if (blk_do_ref[list_index] == 0)
# 2492|                   continue;
# 2493|   

Error: CLANG_WARNING: [#def384]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbMotionEstimation.c:3045:13: warning[deadcode.DeadStores]: Value stored to 'above_row' is never read
# 3043|               above0_row     = above0_data + 16;
# 3044|               left0_col      = left0_data + 16;
# 3045|->             above_row      = above_data + 16;
# 3046|               left_col       = left_data + 16;
# 3047|               ois_mb_results_ptr =

Error: CLANG_WARNING: [#def385]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbMotionEstimation.c:3046:13: warning[deadcode.DeadStores]: Value stored to 'left_col' is never read
# 3044|               left0_col      = left0_data + 16;
# 3045|               above_row      = above_data + 16;
# 3046|->             left_col       = left_data + 16;
# 3047|               ois_mb_results_ptr =
# 3048|                   pcs_ptr->pa_me_data

Error: CPPCHECK_WARNING: [#def386]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbMotionEstimationProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def387]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbNeighborArrays.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def388]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPacketizationProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def389]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPacketizationProcess.c:903:13: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  901|                pcs_ptr->parent_pcs_ptr->reference_picture_wrapper_ptr))
#  902|               // Post the Full Results Object
#  903|->             svt_post_full_object(picture_manager_results_wrapper_ptr);
#  904|           if (pcs_ptr->parent_pcs_ptr->frm_hdr.allow_intrabc)
#  905|               svt_av1_hash_table_destroy(&pcs_ptr->hash_table);

Error: CPPCHECK_WARNING: [#def390]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def391]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:266:60: warning[core.DivideZero]: Division by zero
#  264|       }
#  265|   
#  266|->     block_mean = (block_mean << (VARIANCE_PRECISION >> 1)) / (input_area_width * input_area_height);
#  267|   
#  268|       return block_mean;

Error: CLANG_WARNING: [#def392]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:292:53: warning[core.DivideZero]: Division by zero
#  290|       }
#  291|   
#  292|->     block_mean = (block_mean << VARIANCE_PRECISION) / (input_area_width * input_area_height);
#  293|   
#  294|       return block_mean;

Error: CLANG_WARNING: [#def393]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:1250:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
# 1248|   
# 1249|           // (0,5)
# 1250|->         block_index = block_index + 24;
# 1251|   
# 1252|           // (1,0)

Error: CLANG_WARNING: [#def394]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:1269:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
# 1267|   
# 1268|           // (1,5)
# 1269|->         block_index = block_index + 24;
# 1270|   
# 1271|           // (2,0)

Error: CLANG_WARNING: [#def395]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:1288:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
# 1286|   
# 1287|           // (2,5)
# 1288|->         block_index = block_index + 24;
# 1289|   
# 1290|           // (3,0)

Error: CLANG_WARNING: [#def396]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:1307:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
# 1305|   
# 1306|           // (3,5)
# 1307|->         block_index = block_index + 24;
# 1308|   
# 1309|           // (4,0)

Error: CLANG_WARNING: [#def397]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:1326:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
# 1324|   
# 1325|           // (4,5)
# 1326|->         block_index = block_index + 24;
# 1327|   
# 1328|           // (5,0)

Error: CLANG_WARNING: [#def398]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:1345:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
# 1343|   
# 1344|           // (5,5)
# 1345|->         block_index = block_index + 24;
# 1346|   
# 1347|           // (6,0)

Error: CLANG_WARNING: [#def399]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:1364:9: warning[deadcode.DeadStores]: Value stored to 'block_index' is never read
# 1362|   
# 1363|           // (6,5)
# 1364|->         block_index = block_index + 24;
# 1365|   
# 1366|           // (7,0)

Error: CLANG_WARNING: [#def400]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:2037:33: warning[core.DivideZero]: Division by zero
# 2035|                              (((region_width + region_width_offset) *
# 2036|                                (region_height + region_height_offset)) >>
# 2037|->                             1)) /
# 2038|                             ((region_width + region_width_offset) *
# 2039|                              (region_height + region_height_offset)));

Error: CLANG_WARNING: [#def401]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureAnalysisProcess.c:2082:61: warning[core.DivideZero]: Division by zero
# 2080|       }
# 2081|   
# 2082|->     pcs_ptr->pic_avg_variance = (uint16_t)(pic_tot_variance / b64_total_count);
# 2083|   
# 2084|       return;

Error: CPPCHECK_WARNING: [#def402]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def403]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbSystemResourceManager.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.h:17: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c: scope_hint: In function ‘recon_coef_dctor’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:137:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*(EncDecSet *)p.quantized_coeff + (long unsigned int)sb_index * 8’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:84:13: note: in definition of macro ‘EB_DELETE’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1243:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:355:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:355:9: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:369:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:369:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:102:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:107:9: note: in expansion of macro ‘EB_NO_THROW_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:138:10: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:369:5: note: in expansion of macro ‘EB_ALLOC_PTR_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1243:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1243:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1243:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:133:5: note: in expansion of macro ‘EB_DELETE’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:84:13: note: in definition of macro ‘EB_DELETE’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:134:5: note: in expansion of macro ‘EB_DELETE’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:85:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:134:5: note: in expansion of macro ‘EB_DELETE’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:84:13: note: in definition of macro ‘EB_DELETE’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:84:13: note: in definition of macro ‘EB_DELETE’
#  135|   
#  136|       for (uint16_t sb_index = 0; sb_index < obj->b64_total_count; ++sb_index) {
#  137|->         EB_DELETE(obj->quantized_coeff[sb_index]); //OMK2
#  138|       }
#  139|       EB_DELETE_PTR_ARRAY(obj->quantized_coeff, obj->b64_total_count);

Error: CLANG_WARNING: [#def404]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:464:9: warning[deadcode.DeadStores]: Value stored to 'return_error' is never read
#  462|                                     object_ptr->rst_info);
#  463|   
#  464|->         return_error = svt_av1_alloc_restoration_buffers(object_ptr, init_data_ptr->av1_cm);
#  465|   
#  466|           int32_t ntiles[2];

Error: CLANG_WARNING: [#def405]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1726:21: warning[deadcode.DeadStores]: Value stored to 'blk_geom' is never read
# 1724|   
# 1725|                   if (blk_geom->shape != PART_N)
# 1726|->                     blk_geom = get_blk_geom_mds(blk_geom->sqi_mds);
# 1727|                   pcs_ptr->sb_geom[sb_index].block_is_inside_md_scan[md_scan_block_index] =
# 1728|                       ((pcs_ptr->sb_geom[sb_index].origin_x >= encoding_width) ||

Error: CPPCHECK_WARNING: [#def406]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureDecisionProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def407]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureDecisionProcess.c:578:9: warning[deadcode.DeadStores]: Value stored to 'blk_size' is never read
#  576|       uint8_t blk_size;
#  577|       if (tpl_level <= 5)
#  578|->         blk_size = AOMMIN(picture_width, picture_height) >= 720 ? 16 : 8;
#  579|       if (tpl_level <= 6)
#  580|           blk_size = 16;

Error: CLANG_WARNING: [#def408]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureDecisionProcess.c:5777:9: warning[core.NullDereference]: Access to field 'pred_struct_ptr' results in a dereference of a null pointer (loaded from variable 'pcs')
# 5775|       uint8_t ldp_i_eos_mg = 0;
# 5776|       // TODO: does it matter which pcs is used for the pred_type check?
# 5777|->     if (pcs->pred_struct_ptr->pred_type == SVT_AV1_PRED_RANDOM_ACCESS &&
# 5778|           ctx->mg_pictures_array[0]->slice_type == P_SLICE) {
# 5779|           if (is_delayed_intra(ctx->mg_pictures_array[mg_size - 1]))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def409]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureDecisionProcess.c: scope_hint: In function ‘process_pics’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureDecisionProcess.c:5777:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pcs’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureControlSet.h:17: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureDecisionProcess.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureDecisionProcess.c:18: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureDecisionProcess.c:5940:9: note: in expansion of macro ‘EB_GET_FULL_OBJECT’
# 5775|       uint8_t ldp_i_eos_mg = 0;
# 5776|       // TODO: does it matter which pcs is used for the pred_type check?
# 5777|->     if (pcs->pred_struct_ptr->pred_type == SVT_AV1_PRED_RANDOM_ACCESS &&
# 5778|           ctx->mg_pictures_array[0]->slice_type == P_SLICE) {
# 5779|           if (is_delayed_intra(ctx->mg_pictures_array[mg_size - 1]))

Error: CPPCHECK_WARNING: [#def410]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def411]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c: scope_hint: In function ‘picture_manager_kernel’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:425:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘reference_entry_ptr’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Globals/EbEncHandle.h:18: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:15: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:349:9: note: in expansion of macro ‘EB_GET_FULL_OBJECT’
#  423|                                          EB_ENC_PM_ERROR5);
#  424|                   }
#  425|->                 reference_entry_ptr->picture_number            = pcs_ptr->picture_number;
#  426|                   reference_entry_ptr->reference_object_ptr      = (EbObjectWrapper *)NULL;
#  427|                   reference_entry_ptr->release_enable            = TRUE;

Error: CLANG_WARNING: [#def412]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:425:64: warning[core.NullDereference]: Access to field 'picture_number' results in a dereference of a null pointer (loaded from variable 'reference_entry_ptr')
#  423|                                          EB_ENC_PM_ERROR5);
#  424|                   }
#  425|->                 reference_entry_ptr->picture_number            = pcs_ptr->picture_number;
#  426|                   reference_entry_ptr->reference_object_ptr      = (EbObjectWrapper *)NULL;
#  427|                   reference_entry_ptr->release_enable            = TRUE;

Error: CLANG_WARNING: [#def413]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:479:18: warning[core.NullDereference]: Access to field 'picture_number' results in a dereference of a null pointer (loaded from variable 'reference_entry_ptr')
#  477|               }
#  478|               CHECK_REPORT_ERROR(
#  479|->                 (reference_entry_ptr->picture_number == input_picture_demux_ptr->picture_number),
#  480|                   encode_context_ptr->app_callback_ptr,
#  481|                   EB_ENC_PM_ERROR8);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def414]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:25: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:479:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘reference_entry_ptr’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/API/EbSvtAv1ErrorCodes.h:21:15: note: in definition of macro ‘CHECK_REPORT_ERROR’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPictureManagerProcess.c:349:9: note: in expansion of macro ‘EB_GET_FULL_OBJECT’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/API/EbSvtAv1ErrorCodes.h:21:15: note: in definition of macro ‘CHECK_REPORT_ERROR’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/API/EbSvtAv1ErrorCodes.h:21:15: note: in definition of macro ‘CHECK_REPORT_ERROR’
#  477|               }
#  478|               CHECK_REPORT_ERROR(
#  479|->                 (reference_entry_ptr->picture_number == input_picture_demux_ptr->picture_number),
#  480|                   encode_context_ptr->app_callback_ptr,
#  481|                   EB_ENC_PM_ERROR8);

Error: CPPCHECK_WARNING: [#def415]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def416]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:904:39: warning[core.DivideZero]: Division by zero
#  902|   
#  903|           // Perform the Ceil(MaxReference, N) operation
#  904|->         pred_struct->maximum_extent = CEILING(max_ref, pred_struct_period);
#  905|   
#  906|           // Set the Section Sizes

Error: CLANG_WARNING: [#def417]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:1463:86: warning[core.NullDereference]: Array access (via field 'ref_list0') results in a null pointer dereference
# 1461|           for (int gop_i = 0; gop_i < 1; ++gop_i) {
# 1462|               for (int i = ref_count_used; i < MAX_REF_IDX; ++i) {
# 1463|->                 prediction_structure_config_array[0].entry_array[gop_i].ref_list0[i] = 0;
# 1464|                   prediction_structure_config_array[0].entry_array[gop_i].ref_list1[i] = 0;
# 1465|               }

Error: CLANG_WARNING: [#def418]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:1469:86: warning[core.NullDereference]: Array access (via field 'ref_list0') results in a null pointer dereference
# 1467|           for (int gop_i = 0; gop_i < 2; ++gop_i) {
# 1468|               for (int i = ref_count_used; i < MAX_REF_IDX; ++i) {
# 1469|->                 prediction_structure_config_array[1].entry_array[gop_i].ref_list0[i] = 0;
# 1470|                   prediction_structure_config_array[1].entry_array[gop_i].ref_list1[i] = 0;
# 1471|               }

Error: CLANG_WARNING: [#def419]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:1475:86: warning[core.NullDereference]: Array access (via field 'ref_list0') results in a null pointer dereference
# 1473|           for (int gop_i = 0; gop_i < 4; ++gop_i) {
# 1474|               for (int i = ref_count_used; i < MAX_REF_IDX; ++i) {
# 1475|->                 prediction_structure_config_array[2].entry_array[gop_i].ref_list0[i] = 0;
# 1476|                   prediction_structure_config_array[2].entry_array[gop_i].ref_list1[i] = 0;
# 1477|               }

Error: CLANG_WARNING: [#def420]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbPredictionStructure.c:1506:82: warning[core.NullDereference]: Array access (via field 'ref_list0') results in a null pointer dereference
# 1504|           uint8_t gop_i = 0;
# 1505|           for (int i = ref_count_used_base; i < MAX_REF_IDX; ++i) {
# 1506|->             prediction_structure_config_array[3].entry_array[gop_i].ref_list0[i] = 0;
# 1507|               prediction_structure_config_array[3].entry_array[gop_i].ref_list1[i] = 0;
# 1508|               prediction_structure_config_array[4].entry_array[gop_i].ref_list0[i] = 0;

Error: CPPCHECK_WARNING: [#def421]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbProductCodingLoop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def422]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def423]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:899:5: warning[deadcode.DeadStores]: Value stored to 'q' is never read
#  897|       }
#  898|   
#  899|->     q = active_worst_quality;
#  900|       if (use_qstep_based_q_calc) {
#  901|           const unsigned int r0_weight_idx = !frame_is_intra_only(ppcs) + !!temporal_layer;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def424]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:19: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c: scope_hint: In function ‘crf_qindex_calc’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:929:62: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ref_obj_l1’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbUtility.h:187:27: note: in definition of macro ‘MAX’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Globals/EbEncHandle.h:18: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:15: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:3186:9: note: in expansion of macro ‘EB_GET_FULL_OBJECT’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:3186:9: note: in expansion of macro ‘EB_GET_FULL_OBJECT’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbUtility.h:187:27: note: in definition of macro ‘MAX’
#  927|               uint8_t ref_tmp_layer = ref_obj_l0->tmp_layer_idx;
#  928|               if (pcs->slice_type == B_SLICE)
#  929|->                 ref_tmp_layer = MAX(ref_tmp_layer, ref_obj_l1->tmp_layer_idx);
#  930|               active_best_quality    = rc->arf_q;
#  931|               int8_t tmp_layer_delta = (int8_t)temporal_layer - (int8_t)ref_tmp_layer;

Error: CLANG_WARNING: [#def425]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:1235:21: warning[core.DivideZero]: Division by zero
# 1233|               avg_me_dist += ppcs->me_8x8_cost_variance[sb_addr];
# 1234|           }
# 1235|->         avg_me_dist /= ppcs->b64_total_count;
# 1236|           for (sb_addr = 0; sb_addr < sb_cnt; ++sb_addr) {
# 1237|               sb               = pcs->sb_ptr_array[sb_addr];

Error: CLANG_WARNING: [#def426]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:1287:21: warning[core.DivideZero]: Division by zero
# 1285|               max_dist = MAX(ppcs->me_8x8_cost_variance[b64_idx], max_dist);
# 1286|           }
# 1287|->         avg_me_dist /= ppcs->b64_total_count;
# 1288|   
# 1289|           for (b64_idx = 0; b64_idx < ppcs->b64_total_count; ++b64_idx) {

Error: CLANG_WARNING: [#def427]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:1294:97: warning[core.DivideZero]: Division by zero
# 1292|               if (diff_dist <= 0) {
# 1293|                   offset = (min_dist != avg_me_dist)
# 1294|->                     ? (int)((min_offset[pcs->parent_pcs_ptr->temporal_layer_index] * diff_dist) /
# 1295|                               (int)(min_dist - avg_me_dist))
# 1296|                       : 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def428]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c: scope_hint: In function ‘calc_active_best_quality_no_stats_cbr’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:1921:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ref_obj_l1’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:3186:9: note: in expansion of macro ‘EB_GET_FULL_OBJECT’
# 1919|           uint8_t ref_tmp_layer = ref_obj_l0->tmp_layer_idx;
# 1920|           if (ppcs_ptr->slice_type == B_SLICE) {
# 1921|->             if (ref_obj_l1->tmp_layer_idx > ref_tmp_layer) {
# 1922|                   ref_tmp_layer = ref_obj_l1->tmp_layer_idx;
# 1923|               }

Error: CLANG_WARNING: [#def429]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:3112:62: warning[core.DivideZero]: Division by zero
# 3110|                   rc->max_bit_actual_per_sw = MAX(
# 3111|                       rc->max_bit_actual_per_sw,
# 3112|->                     rc->total_bit_actual_per_sw * frame_rate / frames_in_sw / 1000);
# 3113|                   if (queue_entry_ptr->picture_number % ((rc->rate_average_periodin_frames)) == 0) {
# 3114|                       rc->max_bit_actual_per_gop = MAX(

Error: CLANG_WARNING: [#def430]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:3148:13: warning[deadcode.DeadStores]: Value stored to 'queue_entry_ptr' is never read
# 3146|                   : rc->coded_frames_stat_queue_head_index + 1;
# 3147|   
# 3148|->             queue_entry_ptr = (rc->coded_frames_stat_queue[rc->coded_frames_stat_queue_head_index]);
# 3149|           }
# 3150|       }

Error: CLANG_WARNING: [#def431]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateControlProcess.c:3593:13: warning[deadcode.DeadStores]: Value stored to 'scs_ptr' is never read
# 3591|           default:
# 3592|               pcs_ptr = (PictureControlSet *)rate_control_tasks_ptr->pcs_wrapper_ptr->object_ptr;
# 3593|->             scs_ptr = pcs_ptr->scs_ptr;
# 3594|   
# 3595|               break;

Error: CPPCHECK_WARNING: [#def432]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRateDistortionCost.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def433]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbReferenceObject.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def434]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def435]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:472:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'intbuf'
#  470|   
#  471|       EB_MALLOC_ARRAY(intbuf, width2 * height);
#  472|->     EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  473|       EB_MALLOC_ARRAY(arrbuf, height);
#  474|       EB_MALLOC_ARRAY(arrbuf2, height2);

Error: CLANG_WARNING: [#def436]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:473:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'tmpbuf'
#  471|       EB_MALLOC_ARRAY(intbuf, width2 * height);
#  472|       EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  473|->     EB_MALLOC_ARRAY(arrbuf, height);
#  474|       EB_MALLOC_ARRAY(arrbuf2, height2);
#  475|       if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) {

Error: CLANG_WARNING: [#def437]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:474:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'arrbuf'
#  472|       EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  473|       EB_MALLOC_ARRAY(arrbuf, height);
#  474|->     EB_MALLOC_ARRAY(arrbuf2, height2);
#  475|       if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) {
#  476|           EB_FREE_ARRAY(intbuf);

Error: CLANG_WARNING: [#def438]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:769:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'intbuf'
#  767|   
#  768|       EB_MALLOC_ARRAY(intbuf, width2 * height);
#  769|->     EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  770|       EB_MALLOC_ARRAY(arrbuf, height);
#  771|       EB_MALLOC_ARRAY(arrbuf2, height2);

Error: CLANG_WARNING: [#def439]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:770:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'tmpbuf'
#  768|       EB_MALLOC_ARRAY(intbuf, width2 * height);
#  769|       EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  770|->     EB_MALLOC_ARRAY(arrbuf, height);
#  771|       EB_MALLOC_ARRAY(arrbuf2, height2);
#  772|       if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) {

Error: CLANG_WARNING: [#def440]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:771:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'arrbuf'
#  769|       EB_MALLOC_ARRAY(tmpbuf, AOMMAX(width, height));
#  770|       EB_MALLOC_ARRAY(arrbuf, height);
#  771|->     EB_MALLOC_ARRAY(arrbuf2, height2);
#  772|       if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) {
#  773|           EB_FREE_ARRAY(intbuf);

Error: CLANG_WARNING: [#def441]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:925:9: warning[unix.Malloc]: Potential memory leak
#  923|       if (bd > 8 && !is_packed) {
#  924|           EB_MALLOC_ARRAY(src_buffer_highbd[0], src->luma_size);
#  925|->         EB_MALLOC_ARRAY(src_buffer_highbd[1], src->chroma_size);
#  926|           EB_MALLOC_ARRAY(src_buffer_highbd[2], src->chroma_size);
#  927|           EB_MALLOC_ARRAY(dst_buffer_highbd[0], dst->luma_size);

Error: CLANG_WARNING: [#def442]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:926:9: warning[unix.Malloc]: Potential memory leak
#  924|           EB_MALLOC_ARRAY(src_buffer_highbd[0], src->luma_size);
#  925|           EB_MALLOC_ARRAY(src_buffer_highbd[1], src->chroma_size);
#  926|->         EB_MALLOC_ARRAY(src_buffer_highbd[2], src->chroma_size);
#  927|           EB_MALLOC_ARRAY(dst_buffer_highbd[0], dst->luma_size);
#  928|           EB_MALLOC_ARRAY(dst_buffer_highbd[1], dst->chroma_size);

Error: CLANG_WARNING: [#def443]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:927:9: warning[unix.Malloc]: Potential memory leak
#  925|           EB_MALLOC_ARRAY(src_buffer_highbd[1], src->chroma_size);
#  926|           EB_MALLOC_ARRAY(src_buffer_highbd[2], src->chroma_size);
#  927|->         EB_MALLOC_ARRAY(dst_buffer_highbd[0], dst->luma_size);
#  928|           EB_MALLOC_ARRAY(dst_buffer_highbd[1], dst->chroma_size);
#  929|           EB_MALLOC_ARRAY(dst_buffer_highbd[2], dst->chroma_size);

Error: CLANG_WARNING: [#def444]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:928:9: warning[unix.Malloc]: Potential memory leak
#  926|           EB_MALLOC_ARRAY(src_buffer_highbd[2], src->chroma_size);
#  927|           EB_MALLOC_ARRAY(dst_buffer_highbd[0], dst->luma_size);
#  928|->         EB_MALLOC_ARRAY(dst_buffer_highbd[1], dst->chroma_size);
#  929|           EB_MALLOC_ARRAY(dst_buffer_highbd[2], dst->chroma_size);
#  930|           if (is_2bcompress)

Error: CLANG_WARNING: [#def445]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:929:9: warning[unix.Malloc]: Potential memory leak
#  927|           EB_MALLOC_ARRAY(dst_buffer_highbd[0], dst->luma_size);
#  928|           EB_MALLOC_ARRAY(dst_buffer_highbd[1], dst->chroma_size);
#  929|->         EB_MALLOC_ARRAY(dst_buffer_highbd[2], dst->chroma_size);
#  930|           if (is_2bcompress)
#  931|               pack_highbd_pic(src, src_buffer_highbd, ss_x, ss_y, TRUE);

Error: CLANG_WARNING: [#def446]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:2161:26: warning[core.NullDereference]: Access to field 'bit_depth' results in a dereference of a null pointer (loaded from field 'enhanced_downscaled_picture_ptr')
# 2159|           av1_resize_frame(input_picture_ptr,
# 2160|                            pcs_ptr->enhanced_downscaled_picture_ptr,
# 2161|->                          pcs_ptr->enhanced_downscaled_picture_ptr->bit_depth,
# 2162|                            num_planes,
# 2163|                            ss_x,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def447]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c: scope_hint: In function ‘init_resize_picture’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:2165:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*pcs_ptr.enhanced_downscaled_picture_ptr’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:2137:5: note: in expansion of macro ‘EB_DELETE’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:108:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:74:9: note: in expansion of macro ‘EB_CALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:1435:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:75:15: note: in definition of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:1435:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:50:14: note: in definition of macro ‘EB_DELETE_UNCHECKED’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:1435:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:1435:5: note: in expansion of macro ‘EB_NEW’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:52:9: note: in expansion of macro ‘EB_FREE’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:77:13: note: in expansion of macro ‘EB_DELETE_UNCHECKED’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResize.c:1435:5: note: in expansion of macro ‘EB_NEW’
# 2163|                            ss_x,
# 2164|                            ss_y,
# 2165|->                          pcs_ptr->enhanced_downscaled_picture_ptr->packed_flag,
# 2166|                            PICTURE_BUFFER_DESC_FULL_MASK, // buffer_enable_mask
# 2167|                            1); // is_2bcompress

Error: CPPCHECK_WARNING: [#def448]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbResourceCoordinationProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def449]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRestProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def450]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRestProcess.c:348:25: warning[core.NullDereference]: Access to field 'origin_y' results in a dereference of a null pointer (loaded from variable 'recon_picture_buf')
#  346|   
#  347|       if (plane == 0) {
#  348|->         block_offset = (recon_picture_buf->origin_y + blk_row_px) * recon_picture_buf->stride_y +
#  349|               (recon_picture_buf->origin_x + blk_col_px);
#  350|           *recon_stride = recon_picture_buf->stride_y;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def451]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRestProcess.c: scope_hint: In function ‘derive_blk_pointers_enc’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRestProcess.c:348:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘recon_picture_buf’
#  346|   
#  347|       if (plane == 0) {
#  348|->         block_offset = (recon_picture_buf->origin_y + blk_row_px) * recon_picture_buf->stride_y +
#  349|               (recon_picture_buf->origin_x + blk_col_px);
#  350|           *recon_stride = recon_picture_buf->stride_y;

Error: CLANG_WARNING: [#def452]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRestProcess.c:520:41: warning[core.NullDereference]: Access to field 'height' results in a dereference of a null pointer (loaded from variable 'src')
#  518|                                          dst_buf,
#  519|                                          dst_stride,
#  520|->                                        (src->height + sub_y) >> sub_y,
#  521|                                          sub_x,
#  522|                                          bit_depth,

Error: CPPCHECK_WARNING: [#def453]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbRestorationPick.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def454]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSegmentation.c:147:13: warning[core.DivideZero]: Division by zero
#  145|           avg_var += (local_avg >> 6);
#  146|       }
#  147|->     avg_var /= pcs_ptr->b64_total_count;
#  148|       avg_var = svt_log2f(avg_var);
#  149|   

Error: CPPCHECK_WARNING: [#def455]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def456]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSequenceControlSet.c: scope_hint: In function ‘sb_geom_init’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:206:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*scs_ptr.sb_geom’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbObject.h:16: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbPictureBufferDesc.h:20: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbAv1Structs.h:15: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSequenceControlSet.h:17: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:14: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:191:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:191:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:89:9: note: in expansion of macro ‘EB_NO_THROW_ADD_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:95:9: note: in expansion of macro ‘EB_NO_THROW_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:191:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:96:9: note: in expansion of macro ‘EB_CHECK_MEM’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Common/Codec/EbMalloc.h:119:10: note: in expansion of macro ‘EB_MALLOC’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:191:5: note: in expansion of macro ‘EB_MALLOC_ARRAY’
#  204|   
#  205|       for (sb_index = 0; sb_index < picture_sb_width * picture_sb_height; ++sb_index) {
#  206|->         scs_ptr->sb_geom[sb_index].horizontal_index = sb_index % picture_sb_width;
#  207|           scs_ptr->sb_geom[sb_index].vertical_index   = sb_index / picture_sb_width;
#  208|           scs_ptr->sb_geom[sb_index].origin_x         = scs_ptr->sb_geom[sb_index].horizontal_index *

Error: CLANG_WARNING: [#def457]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSequenceControlSet.c:248:21: warning[deadcode.DeadStores]: Value stored to 'blk_geom' is never read
#  246|   
#  247|                   if (blk_geom->shape != PART_N)
#  248|->                     blk_geom = get_blk_geom_mds(blk_geom->sqi_mds);
#  249|                   scs_ptr->sb_geom[sb_index].block_is_inside_md_scan[md_scan_block_index] =
#  250|                       ((scs_ptr->sb_geom[sb_index].origin_x >= scs_ptr->max_input_luma_width) ||

Error: CPPCHECK_WARNING: [#def458]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSourceBasedOperationsProcess.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def459]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSourceBasedOperationsProcess.c:721:25: warning[deadcode.DeadStores]: Value stored to 'above_row' is never read
#  719|                           above0_row = above0_data + MAX_TPL_SIZE;
#  720|                           left0_col  = left0_data + MAX_TPL_SIZE;
#  721|->                         above_row  = above_data + MAX_TPL_SIZE;
#  722|                           left_col   = left_data + MAX_TPL_SIZE;
#  723|   

Error: CLANG_WARNING: [#def460]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbSourceBasedOperationsProcess.c:722:25: warning[deadcode.DeadStores]: Value stored to 'left_col' is never read
#  720|                           left0_col  = left0_data + MAX_TPL_SIZE;
#  721|                           above_row  = above_data + MAX_TPL_SIZE;
#  722|->                         left_col   = left_data + MAX_TPL_SIZE;
#  723|   
#  724|                           // Fill Neighbor Arrays

Error: CPPCHECK_WARNING: [#def461]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTemporalFiltering.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def462]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTemporalFiltering.c:3053:21: warning[deadcode.DeadStores]: Value stored to 'center_err' is never read
# 3051|                       tf_sp_param.xd = i;
# 3052|                       tf_sp_param.yd = j;
# 3053|->                     center_err     = svt_check_position_64x64(tf_sp_param,
# 3054|                                                             pcs_ptr,
# 3055|                                                             context_ptr,

Error: CLANG_WARNING: [#def463]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTemporalFiltering.c:3813:21: warning[deadcode.DeadStores]: Value stored to 'center_err' is never read
# 3811|                       tf_sp_param.xd = i;
# 3812|                       tf_sp_param.yd = j;
# 3813|->                     center_err     = svt_check_position(tf_sp_param,
# 3814|                                                       pcs_ptr,
# 3815|                                                       context_ptr,

Error: COMPILER_WARNING: [#def464]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTemporalFiltering.c:5404:13: warning[-Wenum-int-mismatch]: conflicting types for ‘svt_av1_init_temporal_filtering’ due to enum/integer mismatch; have ‘EbErrorType(PictureParentControlSet **, PictureParentControlSet *, MotionEstimationContext_t *, int32_t)’ {aka ‘EbErrorType(PictureParentControlSet **, PictureParentControlSet *, struct MotionEstimationContext *, int)’}
# 5404 | EbErrorType svt_av1_init_temporal_filtering(
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTemporalFiltering.c:19: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTemporalFiltering.h:105:5: note: previous declaration of ‘svt_av1_init_temporal_filtering’ with type ‘int(PictureParentControlSet **, PictureParentControlSet *, MotionEstimationContext_t *, int32_t)’ {aka ‘int(PictureParentControlSet **, PictureParentControlSet *, struct MotionEstimationContext *, int)’}
#  105 | int svt_av1_init_temporal_filtering(PictureParentControlSet  **list_picture_control_set_ptr,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 5402|   }
# 5403|   
# 5404|-> EbErrorType svt_av1_init_temporal_filtering(
# 5405|       PictureParentControlSet ** list_picture_control_set_ptr,
# 5406|       PictureParentControlSet *  picture_control_set_ptr_central,

Error: CPPCHECK_WARNING: [#def465]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def466]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:87:23: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#   85|       // stage 1;
#   86|       bf1    = output;
#   87|->     bf1[0] = input[0] + input[3];
#   88|       bf1[1] = input[1] + input[2];
#   89|       bf1[2] = -input[2] + input[1];

Error: CLANG_WARNING: [#def467]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:122:23: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#  120|       // stage 1;
#  121|       bf1    = output;
#  122|->     bf1[0] = input[0] + input[7];
#  123|       bf1[1] = input[1] + input[6];
#  124|       bf1[2] = input[2] + input[5];

Error: CLANG_WARNING: [#def468]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:195:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#  193|       // stage 1;
#  194|       bf1     = output;
#  195|->     bf1[0]  = input[0] + input[15];
#  196|       bf1[1]  = input[1] + input[14];
#  197|       bf1[2]  = input[2] + input[13];

Error: CLANG_WARNING: [#def469]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:350:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#  348|       // stage 1;
#  349|       bf1     = output;
#  350|->     bf1[0]  = input[0] + input[31];
#  351|       bf1[1]  = input[1] + input[30];
#  352|       bf1[2]  = input[2] + input[29];

Error: CLANG_WARNING: [#def470]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:690:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#  688|       // stage 1;
#  689|       bf1     = output;
#  690|->     bf1[0]  = input[0] + input[63];
#  691|       bf1[1]  = input[1] + input[62];
#  692|       bf1[2]  = input[2] + input[61];

Error: CLANG_WARNING: [#def471]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:1454:8: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1452|   
# 1453|       // stage 0
# 1454|->     x0 = input[0];
# 1455|       x1 = input[1];
# 1456|       x2 = input[2];

Error: CLANG_WARNING: [#def472]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:1548:12: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1546|       assert(output != input);
# 1547|       bf1    = output;
# 1548|->     bf1[0] = input[0];
# 1549|       bf1[1] = -input[7];
# 1550|       bf1[2] = -input[3];

Error: CLANG_WARNING: [#def473]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:1646:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1644|       assert(output != input);
# 1645|       bf1     = output;
# 1646|->     bf1[0]  = input[0];
# 1647|       bf1[1]  = -input[15];
# 1648|       bf1[2]  = -input[7];

Error: CLANG_WARNING: [#def474]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:1840:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1838|       // stage 1;
# 1839|       bf1     = output;
# 1840|->     bf1[0]  = input[31];
# 1841|       bf1[1]  = input[0];
# 1842|       bf1[2]  = input[29];

Error: CLANG_WARNING: [#def475]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:2244:51: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 2242|       (void)cos_bit;
# 2243|       for (int32_t i = 0; i < 4; ++i)
# 2244|->         output[i] = round_shift((int64_t)input[i] * new_sqrt2, new_sqrt2_bits);
# 2245|       assert(stage_range[0] + new_sqrt2_bits <= 32);
# 2246|   }

Error: CLANG_WARNING: [#def476]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:2252:58: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 2250|       (void)stage_range;
# 2251|       (void)cos_bit;
# 2252|->     for (int32_t i = 0; i < 8; ++i) output[i] = input[i] * 2;
# 2253|   }
# 2254|   

Error: CLANG_WARNING: [#def477]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:2260:51: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 2258|       (void)cos_bit;
# 2259|       for (int32_t i = 0; i < 16; ++i)
# 2260|->         output[i] = round_shift((int64_t)input[i] * 2 * new_sqrt2, new_sqrt2_bits);
# 2261|       assert(stage_range[0] + new_sqrt2_bits <= 32);
# 2262|   }

Error: CLANG_WARNING: [#def478]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:2268:59: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 2266|       (void)stage_range;
# 2267|       (void)cos_bit;
# 2268|->     for (int32_t i = 0; i < 32; ++i) output[i] = input[i] * 4;
# 2269|   }
# 2270|   

Error: CLANG_WARNING: [#def479]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:2276:51: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 2274|       (void)cos_bit;
# 2275|       for (int32_t i = 0; i < 64; ++i)
# 2276|->         output[i] = round_shift((int64_t)input[i] * 4 * new_sqrt2, new_sqrt2_bits);
# 2277|       assert(stage_range[0] + new_sqrt2_bits <= 32);
# 2278|   }

Error: CLANG_WARNING: [#def480]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:2406:35: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2404|       cfg->txfm_type_col            = av1_txfm_type_ls[txh_idx][tx_type_1d_col];
# 2405|       cfg->txfm_type_row            = av1_txfm_type_ls[txw_idx][tx_type_1d_row];
# 2406|->     cfg->stage_num_col            = av1_txfm_stage_num_list[cfg->txfm_type_col];
# 2407|       cfg->stage_num_row            = av1_txfm_stage_num_list[cfg->txfm_type_row];
# 2408|       set_fwd_txfm_non_scale_range(cfg);

Error: CLANG_WARNING: [#def481]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:2407:35: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2405|       cfg->txfm_type_row            = av1_txfm_type_ls[txw_idx][tx_type_1d_row];
# 2406|       cfg->stage_num_col            = av1_txfm_stage_num_list[cfg->txfm_type_col];
# 2407|->     cfg->stage_num_row            = av1_txfm_stage_num_list[cfg->txfm_type_row];
# 2408|       set_fwd_txfm_non_scale_range(cfg);
# 2409|   }

Error: CLANG_WARNING: [#def482]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:3816:51: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 3814|       (void)cos_bit;
# 3815|       for (int32_t i = 0; i < 8; ++i)
# 3816|->         output[i] = round_shift((int64_t)input[i] * 2 * new_sqrt2, new_sqrt2_bits);
# 3817|   
# 3818|       assert(stage_range[0] + new_sqrt2_bits <= 32);

Error: CLANG_WARNING: [#def483]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:3834:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 3832|       assert(output != input);
# 3833|       bf1     = output;
# 3834|->     bf1[0]  = input[0];
# 3835|       bf1[1]  = -input[15];
# 3836|       bf1[2]  = -input[7];

Error: CLANG_WARNING: [#def484]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:4012:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
# 4010|       // stage 1;
# 4011|       bf1     = output;
# 4012|->     bf1[0]  = input[0] + input[15];
# 4013|       bf1[1]  = input[1] + input[14];
# 4014|       bf1[2]  = input[2] + input[13];

Error: CLANG_WARNING: [#def485]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:4137:58: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 4135|       (void)stage_range;
# 4136|       (void)cos_bit;
# 4137|->     for (int32_t i = 0; i < 4; ++i) output[i] = input[i] * 2;
# 4138|   }
# 4139|   

Error: CLANG_WARNING: [#def486]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:4153:12: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 4151|       assert(output != input);
# 4152|       bf1    = output;
# 4153|->     bf1[0] = input[0];
# 4154|       bf1[1] = -input[7];
# 4155|       bf1[2] = -input[3];

Error: CLANG_WARNING: [#def487]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:4242:23: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
# 4240|       // stage 1;
# 4241|       bf1    = output;
# 4242|->     bf1[0] = input[0] + input[7];
# 4243|       bf1[1] = input[1] + input[6];
# 4244|       bf1[2] = input[2] + input[5];

Error: CLANG_WARNING: [#def488]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:4297:47: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 4295|       (void)stage_range;
# 4296|       (void)cos_bit;
# 4297|->     output[0] = round_shift((int64_t)input[0] * new_sqrt2, new_sqrt2_bits);
# 4298|       output[1] = round_shift((int64_t)input[1] * new_sqrt2, new_sqrt2_bits);
# 4299|       assert(stage_range[0] + new_sqrt2_bits <= 32);

Error: CLANG_WARNING: [#def489]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:4311:8: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 4309|   
# 4310|       // stage 0
# 4311|->     x0 = input[0];
# 4312|       x1 = input[1];
# 4313|       x2 = input[2];

Error: CLANG_WARNING: [#def490]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:4356:23: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
# 4354|       // stage 1;
# 4355|       bf0    = step;
# 4356|->     bf0[0] = input[0] + input[3];
# 4357|       bf0[1] = input[1] + input[2];
# 4358|       bf0[2] = -input[2] + input[1];

Error: CLANG_WARNING: [#def491]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:4380:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
# 4378|       // stage 1;
# 4379|       bf1     = output;
# 4380|->     bf1[0]  = input[0] + input[31];
# 4381|       bf1[1]  = input[1] + input[30];
# 4382|       bf1[2]  = input[2] + input[29];

Error: CLANG_WARNING: [#def492]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:4667:59: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 4665|       (void)stage_range;
# 4666|       (void)cos_bit;
# 4667|->     for (int32_t i = 0; i < 16; ++i) output[i] = input[i] * 4;
# 4668|   }
# 4669|   

Error: CLANG_WARNING: [#def493]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:4682:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
# 4680|       // stage 1;
# 4681|       bf1     = output;
# 4682|->     bf1[0]  = input[0] + input[63];
# 4683|       bf1[1]  = input[1] + input[62];
# 4684|       bf1[2]  = input[2] + input[61];

Error: CLANG_WARNING: [#def494]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:5348:51: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 5346|       (void)cos_bit;
# 5347|       for (int32_t i = 0; i < 32; ++i)
# 5348|->         output[i] = round_shift((int64_t)input[i] * 4 * new_sqrt2, new_sqrt2_bits);
# 5349|       assert(stage_range[0] + new_sqrt2_bits <= 32);
# 5350|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def495]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c: scope_hint: In function ‘av1_tranform_two_d_core_N4_c’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:7020:9: warning[-Wanalyzer-jump-through-null]: jump through null pointer
# 7018|           svt_av1_round_shift_array_c(
# 7019|               temp_in, txfm_size_row, -shift[0]); // NM svt_av1_round_shift_array_c
# 7020|->         txfm_func_col(temp_in, temp_out, cos_bit_col, stage_range_col);
# 7021|           svt_av1_round_shift_array_c(
# 7022|               temp_out, txfm_size_row / 4, -shift[1]); // NM svt_av1_round_shift_array_c

Error: GCC_ANALYZER_WARNING (CWE-476): [#def496]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/EbTransforms.c:7034:9: warning[-Wanalyzer-jump-through-null]: jump through null pointer
# 7032|       // Rows
# 7033|       for (r = 0; r < txfm_size_row / 4; ++r) {
# 7034|->         txfm_func_row(
# 7035|               buf + r * txfm_size_col, output + r * txfm_size_col, cos_bit_row, stage_range_row);
# 7036|           svt_av1_round_shift_array_c(output + r * txfm_size_col, txfm_size_col / 4, -shift[2]);

Error: CPPCHECK_WARNING: [#def497]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/av1me.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def498]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/av1me.c:1484:21: warning[deadcode.DeadStores]: Value stored to 'var' is never read
# 1482|                       x->second_best_mv = x->best_mv;
# 1483|                       x->best_mv.as_mv  = best_hash_mv;
# 1484|->                     var               = best_hash_cost;
# 1485|                   }
# 1486|               }

Error: CPPCHECK_WARNING: [#def499]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/corner_match.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def500]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/dwt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def501]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/fft.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def502]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/firstpass.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def503]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/firstpass.c:732:14: warning[deadcode.DeadStores]: Value stored to 'predictor' during its initialization is never read
#  730|       DECLARE_ALIGNED(16, uint8_t, above_data[MAX_TX_SIZE * 2 + 32]);
#  731|       DECLARE_ALIGNED(32, uint8_t, predictor8[256 * 2]);
#  732|->     uint8_t *predictor    = predictor8;
#  733|       uint8_t  sub_blk_rows = use_dc_pred
#  734|            ? (bheight == FORCED_BLK_SIZE && bwidth == FORCED_BLK_SIZE) ? 1 : bheight / 8

Error: CLANG_WARNING: [#def504]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/firstpass.c:1105:17: warning[deadcode.DeadStores]: Value stored to 'this_inter_error' during its initialization is never read
# 1103|                   mb_stats);
# 1104|   
# 1105|->             int this_inter_error = this_intra_error;
# 1106|   
# 1107|               if (blk_origin_x == 0)

Error: CPPCHECK_WARNING: [#def505]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/global_motion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def506]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/hash_motion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def507]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/mcomp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def508]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def509]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/noise_model.c: scope_hint: In function ‘svt_aom_flat_block_finder_free.part.0’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/noise_model.c:474:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*block_finder.A’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/noise_model.c:18: included_from: Included from here.
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/noise_model.c:423:9: note: in expansion of macro ‘SVT_ERROR’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/noise_model.c: scope_hint: In function ‘svt_aom_flat_block_finder_free.part.0’
#  472|       if (!block_finder)
#  473|           return;
#  474|->     free(block_finder->A);
#  475|       free(block_finder->at_a_inv);
#  476|       memset(block_finder, 0, sizeof(*block_finder));

Error: CPPCHECK_WARNING: [#def510]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/palette.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def511]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/palette.c:546:30: warning[core.NullDereference]: Array access results in a null pointer dereference
#  544|               assert(color_new_idx >= 0 && color_new_idx < n);
#  545|               if (calc_rate) {
#  546|->                 this_rate += (*color_cost)[palette_size_idx][color_ctx][color_new_idx];
#  547|               } else {
#  548|                   (*t)->token         = color_new_idx;

Error: CLANG_WARNING: [#def512]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/palette.c:573:27: warning[core.NullDereference]: Array access (via field 'color_map') results in a null pointer dereference
#  571|       get_color_map_params(frame_context, blk_ptr, plane, bsize, tx_size, type, &color_map_params);
#  572|       // The first color index does not use context or entropy.
#  573|->     (*t)->token         = color_map_params.color_map[0];
#  574|       (*t)->color_map_cdf = NULL;
#  575|       ++(*t);

Error: CPPCHECK_WARNING: [#def513]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/pass2_strategy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def514]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/pass2_strategy.c:2235:98: warning[core.DivideZero]: Division by zero
# 2233|       // Based on the gfu boost, calculate the frame size for I frames
# 2234|       else if (ppcs_ptr->temporal_layer_index == 0) {
# 2235|->         int64_t gf_group_bits = available_bit_sw * (int64_t)(1 << ppcs_ptr->hierarchical_levels) /
# 2236|               (frames_in_sw - coded_frames_num_sw);
# 2237|           max_frame_size = calculate_boost_bits(

Error: CPPCHECK_WARNING: [#def515]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def516]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/ransac.c: scope_hint: In function ‘ransac’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/ransac.c:402:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘motions’
#  400|       assert(motions != NULL);
#  401|       for (int i = 0; i < num_desired_motions; ++i) {
#  402|->         motions[i].inlier_indices = (int *)malloc(sizeof(*motions->inlier_indices) * npoints);
#  403|           clear_motion(motions + i, npoints);
#  404|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def517]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/ransac.c: scope_hint: In function ‘is_collinear3’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/ransac.c:548:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*p2’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/ransac.c: scope_hint: In function ‘is_collinear3’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Codec/ransac.c: scope_hint: In function ‘is_collinear3’
#  546|   static int is_collinear3(double *p1, double *p2, double *p3) {
#  547|       static const double collinear_eps = 1e-3;
#  548|->     const double        v = (p2[0] - p1[0]) * (p3[1] - p1[1]) - (p2[1] - p1[1]) * (p3[0] - p1[0]);
#  549|       return fabs(v) < collinear_eps;
#  550|   }

Error: CLANG_WARNING: [#def518]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Globals/EbEncHandle.c:2367: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'
# 2365|           EbBufferHeaderType *receive_buffer = NULL;
# 2366|           EbErrorType         return_error;
# 2367|->         switch ((return_error = svt_av1_enc_get_packet(svt_enc_component, &receive_buffer, 1))) {
# 2368|           case EB_ErrorMax: return EB_ErrorMax;
# 2369|           case EB_NoErrorEmptyQueue: eos = true; break;

Error: CLANG_WARNING: [#def519]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Globals/EbEncHandle.c:2385:31: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
# 2383|   **********************************/
# 2384|   EB_API EbErrorType svt_av1_enc_deinit(EbComponentType *svt_enc_component) {
# 2385|->     if (!svt_enc_component || !svt_enc_component->p_component_private)
# 2386|           return EB_ErrorBadParameter;
# 2387|   

Error: CLANG_WARNING: [#def520]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Globals/EbEncHandle.c:4709:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'p_first_node'
# 4707|               p_new_node->data = p_src_node->data;
# 4708|           } else {
# 4709|->             EB_MALLOC(p_new_node->data, p_src_node->size);
# 4710|               memcpy(p_new_node->data, p_src_node->data, p_src_node->size);
# 4711|           }

Error: CPPCHECK_WARNING: [#def521]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def522]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Globals/EbMetadataHandle.c: scope_hint: In function ‘svt_aom_parse_mastering_display’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/Source/Lib/Encoder/Globals/EbMetadataHandle.c:165:19: warning[-Wanalyzer-infinite-loop]: infinite loop
#  163|       double gx = 0, gy = 0, bx = 0, by = 0, rx = 0, ry = 0, wx = 0, wy = 0, max_luma = 0,
#  164|              min_luma = 0;
#  165|->     while (md_str && *md_str) {
#  166|           switch (*md_str) {
#  167|           case 'G':

Error: CPPCHECK_WARNING: [#def523]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/gstreamer-plugin/gstsvtav1enc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def524]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def525]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/third_party/fastfeat/fast_9.c: scope_hint: In function ‘svt_aom_fast9_score’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def526]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/third_party/fastfeat/fast_9.c: scope_hint: In function ‘svt_aom_fast9_detect’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def527]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def528]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/third_party/fastfeat/nonmax.c: scope_hint: In function ‘svt_aom_nonmax_suppression’
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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): [#def529]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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: [#def530]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/third_party/safestringlib/strcpy_s.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def531]
svt-av1-1.4.1-build/SVT-AV1-v1.4.1-018276d714ce65d9b586f6205ee016cbd8d5425d/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-1.4.1-5.fc40
store-results-to/tmp/tmpsqchlf38/svt-av1-1.4.1-5.fc40.tar.xz
time-created2024-07-03 18:01:46
time-finished2024-07-03 18:11:11
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpsqchlf38/svt-av1-1.4.1-5.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpsqchlf38/svt-av1-1.4.1-5.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9