Fixed defects
List of Defects
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
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: CLANG_WARNING: [#def2]
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: GCC_ANALYZER_WARNING (CWE-401): [#def3]
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: COMPILER_WARNING: [#def4]
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: CLANG_WARNING: [#def5]
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 (CWE-476): [#def6]
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-562): [#def7]
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: CLANG_WARNING: [#def8]
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): [#def9]
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): [#def10]
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: CLANG_WARNING: [#def11]
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: [#def12]
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: GCC_ANALYZER_WARNING (CWE-476): [#def13]
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: GCC_ANALYZER_WARNING (CWE-476): [#def14]
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: [#def15]
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: [#def16]
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): [#def17]
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: CLANG_WARNING: [#def18]
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: [#def19]
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: [#def20]
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: [#def21]
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: [#def22]
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: GCC_ANALYZER_WARNING (CWE-476): [#def23]
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: [#def24]
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: CLANG_WARNING: [#def25]
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): [#def26]
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: CLANG_WARNING: [#def27]
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): [#def28]
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: [#def29]
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: CLANG_WARNING: [#def30]
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: [#def31]
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: [#def32]
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: CLANG_WARNING: [#def33]
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: [#def34]
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: [#def35]
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.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-61.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | svt-av1-2.1.0-1.fc41 |
diffbase-store-results-to | /tmp/tmpcz1ek3ge/svt-av1-2.1.0-1.fc41.tar.xz |
diffbase-time-created | 2024-07-03 18:11:38 |
diffbase-time-finished | 2024-07-03 18:20:16 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpcz1ek3ge/svt-av1-2.1.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpcz1ek3ge/svt-av1-2.1.0-1.fc41.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-61.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | svt-av1-1.4.1-5.fc40 |
store-results-to | /tmp/tmpsqchlf38/svt-av1-1.4.1-5.fc40.tar.xz |
time-created | 2024-07-03 18:01:46 |
time-finished | 2024-07-03 18:11:11 |
title | Fixed defects |
tool | csmock |
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-version | csmock-3.5.3-1.el9 |