-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Build and optimizations made. Changes are mentioned in commits. #2948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Haroonhsa007
wants to merge
26
commits into
signalwire:v1.10
Choose a base branch
from
Veeivs:veeivs-tel-main
base: v1.10
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…tion to ensure proper zeroing.
In file included from vpx_dsp/x86/post_proc_sse2.c:12:
In function ‘_mm_add_epi16’,
inlined from ‘vpx_mbpost_proc_down_sse2’ at vpx_dsp/x86/post_proc_sse2.c:88:13:
/usr/lib/gcc/x86_64-linux-gnu/12/include/emmintrin.h:1060:35: warning: ‘below_context’ may be used uninitialized [-Wmaybe-uninitialized]
1060 | return (__m128i) ((__v8hu)__A + (__v8hu)__B);
| ^~~~~~~~~~~
vpx_dsp/x86/post_proc_sse2.c: In function ‘vpx_mbpost_proc_down_sse2’:
vpx_dsp/x86/post_proc_sse2.c:39:13: note: ‘below_context’ was declared here
39 | __m128i below_context;
| ^~~~~~~~~~~~~
…ng functionality and support for various applications, languages, and formats.
…y and consistency. Adjusted alignment and formatting of filter arrays and function calls in vpx_subpixel_8t_intrin_avx2.c.
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:43,
from vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:11:
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:300:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s2[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:24: note: ‘s2[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
| ^~
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:299:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s1[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:17: note: ‘s1[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
| ^~
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:300:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s2[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:24: note: ‘s2[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
| ^~
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:299:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s1[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:17: note: ‘s1[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
| ^~
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:300:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s2[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:24: note: ‘s2[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
| ^~
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:299:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s1[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:17: note: ‘s1[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
[CC] vpx_dsp/avg.c.o
vpx_dsp/avg.c:343:32: warning: argument 1 of type ‘int16_t[16]’ {aka ‘short int[16]’} with mismatched bound [-Warray-parameter=]
343 | void vpx_int_pro_row_c(int16_t hbuf[16], const uint8_t *ref,
| ~~~~~~~~^~~~~~~~
In file included from vpx_dsp/avg.c:12:
././vpx_dsp_rtcd.h:386:33: note: previously declared as ‘int16_t *’ {aka ‘short int *’}
386 | void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride, const int height);
| ~~~~~~~~~^~~~
… array declarations to pointer types for better flexibility and consistency.
vpx_dsp/x86/sad4d_avx2.c:25:48: warning: argument 3 of type ‘const uint8_t * const[4]’ {aka ‘const unsigned char * const[4]’} with mismatched bound [-Warray-parameter=]
25 | const uint8_t *const ref_array[4], int ref_stride,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from vpx_dsp/x86/sad4d_avx2.c:11:
././vpx_dsp_rtcd.h:576:89: note: previously declared as ‘const uint8_t * const[]’ {aka ‘const unsigned char * const[]’}
576 | void vpx_sad32x32x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
vpx_dsp/x86/sad4d_avx2.c:26:36: warning: argument 5 of type ‘uint32_t[4]’ {aka ‘unsigned int[4]’} with mismatched bound [-Warray-parameter=]
26 | uint32_t sad_array[4]) {
| ~~~~~~~~~^~~~~~~~~~~~
././vpx_dsp_rtcd.h:576:128: note: previously declared as ‘uint32_t *’ {aka ‘unsigned int *’}
576 | void vpx_sad32x32x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
| ~~~~~~~~~~^~~~~~~~~
vpx_dsp/x86/sad4d_avx2.c:73:48: warning: argument 3 of type ‘const uint8_t * const[4]’ {aka ‘const unsigned char * const[4]’} with mismatched bound [-Warray-parameter=]
73 | const uint8_t *const ref_array[4], int ref_stride,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
././vpx_dsp_rtcd.h:651:89: note: previously declared as ‘const uint8_t * const[]’ {aka ‘const unsigned char * const[]’}
651 | void vpx_sad64x64x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
vpx_dsp/x86/sad4d_avx2.c:74:36: warning: argument 5 of type ‘uint32_t[4]’ {aka ‘unsigned int[4]’} with mismatched bound [-Warray-parameter=]
74 | uint32_t sad_array[4]) {
| ~~~~~~~~~^~~~~~~~~~~~
././vpx_dsp_rtcd.h:651:128: note: previously declared as ‘uint32_t *’ {aka ‘unsigned int *’}
651 | void vpx_sad64x64x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
|
…g array declarations to pointer types, enhancing flexibility and consistency in the function signature.
vpx_dsp/x86/sad4d_avx512.c:15:50: warning: argument 3 of type ‘const uint8_t * const[4]’ {aka ‘const unsigned char * const[4]’} with mismatched bound [-Warray-parameter=]
15 | const uint8_t *const ref_array[4], int ref_stride,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from vpx_dsp/x86/sad4d_avx512.c:11:
././vpx_dsp_rtcd.h:652:91: note: previously declared as ‘const uint8_t * const[]’ {aka ‘const unsigned char * const[]’}
652 | void vpx_sad64x64x4d_avx512(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
vpx_dsp/x86/sad4d_avx512.c:16:38: warning: argument 5 of type ‘uint32_t[4]’ {aka ‘unsigned int[4]’} with mismatched bound [-Warray-parameter=]
16 | uint32_t res[4]) {
| ~~~~~~~~~^~~~~~
././vpx_dsp_rtcd.h:652:130: note: previously declared as ‘uint32_t *’ {aka ‘unsigned int *’}
652 | void vpx_sad64x64x4d_avx512(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
|
Created a new installation guide in `install.md` detailing the steps to install FreeSWITCH, including necessary commands for setting up the environment and dependencies. Additionally, added a `veeivs.bug` file to document various build warnings encountered during compilation, highlighting issues related to deprecated functions and potential uninitialized variables in the codebase.
vpx_dsp/avg.c:343:32: warning: argument 1 of type ‘int16_t[16]’ {aka ‘short int[16]’} with mismatched bound [-Warray-parameter=]
343 | void vpx_int_pro_row_c(int16_t hbuf[16], const uint8_t *ref,
| ~~~~~~~~^~~~~~~~
In file included from vpx_dsp/avg.c:12:
././vpx_dsp_rtcd.h:386:33: note: previously declared as ‘int16_t *’ {aka ‘short int *’}
386 | void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride, const int height);
| ~~~~~~~~~^~~~
… width and height declarations to volatile types, enhancing thread safety. Adjusted formatting for consistency in error messages and function calls.
vp8/vp8_dx_iface.c: In function ‘vp8_decode’:
vp8/vp8_dx_iface.c:284:16: warning: variable ‘w’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
284 | unsigned int w, h;
| ^
vp8/vp8_dx_iface.c:284:19: warning: variable ‘h’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
284 | unsigned int w, h;
| ^
…bbering in vp8_decode function. This cleanup enhances clarity and focuses on current issues.
…arameter formatting and alignment across multiple functions. This change enhances readability and maintains uniformity in function signatures.
vp9/encoder/vp9_bitstream.c: In function ‘encode_tile_worker’:
vp9/encoder/vp9_bitstream.c:948:3: warning: ‘write_modes’ accessing 64 bytes in a region of size 16 [-Wstringop-overflow=]
948 | write_modes(cpi, xd, &cpi->tile_data[data->tile_idx].tile_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
949 | &data->bit_writer, tile_row, data->tile_idx,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
950 | &data->max_mv_magnitude, data->interp_filter_selected);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_bitstream.c:948:3: note: referencing argument 8 of type ‘int[4][4]’
vp9/encoder/vp9_bitstream.c:488:13: note: in a call to function ‘write_modes’
488 | static void write_modes(
| ^~~~~~~~~~~
vp9/encoder/vp9_bitstream.c:948:3: warning: ‘write_modes’ accessing 64 bytes in a region of size 16 [-Wstringop-overflow=]
948 | write_modes(cpi, xd, &cpi->tile_data[data->tile_idx].tile_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
949 | &data->bit_writer, tile_row, data->tile_idx,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
950 | &data->max_mv_magnitude, data->interp_filter_selected);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_bitstream.c:948:3: note: referencing argument 8 of type ‘int[4][4]’
vp9/encoder/vp9_bitstream.c:488:13: note: in a call to function ‘write_modes’
488 | static void write_modes(
| ^~~~~~~~~~~
vp9/encoder/vp9_bitstream.c:948:3: warning: ‘write_modes’ accessing 64 bytes in a region of size 16 [-Wstringop-overflow=]
948 | write_modes(cpi, xd, &cpi->tile_data[data->tile_idx].tile_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
949 | &data->bit_writer, tile_row, data->tile_idx,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
950 | &data->max_mv_magnitude, data->interp_filter_selected);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_bitstream.c:948:3: note: referencing argument 8 of type ‘int[4][4]’
vp9/encoder/vp9_bitstream.c:488:13: note: in a call to function ‘write_modes’
488 | static void write_modes(
| ^~~~~~~~~~~
…' function in vp9_bitstream.c, enhancing clarity and focusing on relevant issues.
…r formatting and alignment across multiple functions. This change enhances consistency in function signatures and maintains clarity in the codebase.
vp9/encoder/vp9_rd.c: In function ‘vp9_get_entropy_contexts’:
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [64, 254] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [68, 196] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [72, 200] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [76, 204] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [80, 208] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [84, 212] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [88, 216] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [92, 220] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [96, 224] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [100, 228] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [104, 232] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [108, 236] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [112, 240] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [116, 244] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [120, 248] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [64, 254] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [68, 196] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [72, 200] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [76, 204] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [80, 208] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [84, 212] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [88, 216] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [92, 220] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [96, 224] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [100, 228] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [104, 232] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [108, 236] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [112, 240] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [116, 244] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [120, 248] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
… in the vp9_get_entropy_contexts function. This addresses multiple instances of potential string overflow issues, improving code safety and stability.
…sting formatting and alignment of motion vector calculations. This includes simplifying the clamping logic and enhancing consistency in variable usage, which contributes to better readability and maintainability of the code.
vp9/encoder/x86/vp9_diamond_search_sad_avx.c: In function ‘vp9_diamond_search_sad_avx’:
vp9/encoder/x86/vp9_diamond_search_sad_avx.c:285:19: warning: ‘v_these_mv_w’ may be used uninitialized [-Wmaybe-uninitialized]
285 | new_bmv = ((const int_mv *)&v_these_mv_w)[local_best_idx];
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/x86/vp9_diamond_search_sad_avx.c:149:21: note: ‘v_these_mv_w’ declared here
149 | const __m128i v_these_mv_w = _mm_add_epi16(v_bmv_w, v_ss_mv_w);
| ^~~~~~~~~~~~
…ddir_r' in fspr_dir_read function and uninitialized variable usage in vp9_diamond_search_sad_avx function. This cleanup enhances clarity and focuses on current issues in the codebase.
…andling and clarity. Adjusted the handling of directory entry sizes and updated the logic for checking the return value of readdir, ensuring proper management of errno. This enhances the robustness of directory operations in the codebase.
file_io/unix/dir.c: In function 'fspr_dir_read':
file_io/unix/dir.c:144:5: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
144 | ret = readdir_r(thedir->dirstruct, thedir->entry, &retent);
| ^~~
In file included from /usr/src/freeswitch/libs/apr/include/arch/unix/fspr_arch_file_io.h:50,
from file_io/unix/dir.c:17:
/usr/include/dirent.h:185:12: note: declared here
185 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
…ng and alignment of function parameters and return statements. This change enhances readability and maintains consistency across the codebase.
locks/unix/proc_mutex.c: In function 'proc_mutex_proc_pthread_create':
locks/unix/proc_mutex.c:329:5: warning: 'pthread_mutexattr_setrobust_np' is deprecated: pthread_mutexattr_setrobust_np is deprecated, use pthread_mutexattr_setrobust [-Wdeprecated-declarations]
329 | if ((rv = pthread_mutexattr_setrobust_np(&mattr,
| ^~
In file included from /usr/include/features.h:489,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from ./include/fspr.h:113,
from locks/unix/proc_mutex.c:17:
/usr/include/pthread.h:951:12: note: declared here
951 | extern int __REDIRECT_NTH (pthread_mutexattr_setrobust_np,
| ^~~~~~~~~~~~~~
…cing EVP_MAC API usage. Refactor memory allocation and deallocation processes for HMAC_CTX, ensuring proper handling across different OpenSSL versions. This update improves code clarity and maintains compatibility with legacy versions while adopting modern practices.
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_alloc':
crypto/hash/hmac_ossl.c:106:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
106 | (*a)->state = HMAC_CTX_new();
| ^
In file included from crypto/hash/hmac_ossl.c:54:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_dealloc':
crypto/hash/hmac_ossl.c:136:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
136 | HMAC_CTX_free(hmac_ctx);
| ^~~~~~~~~~~~~
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_start':
crypto/hash/hmac_ossl.c:152:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
152 | if (HMAC_Init_ex(state, NULL, 0, NULL, NULL) == 0)
| ^~
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
| ^~~~~~~~~~~~
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_init':
crypto/hash/hmac_ossl.c:164:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
164 | if (HMAC_Init_ex(state, key, key_len, EVP_sha1(), NULL) == 0)
| ^~
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
| ^~~~~~~~~~~~
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_update':
crypto/hash/hmac_ossl.c:179:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
179 | if (HMAC_Update(state, message, msg_octets) == 0)
| ^~
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
| ^~~~~~~~~~~
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_compute':
crypto/hash/hmac_ossl.c:205:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
205 | if (HMAC_Update(state, message, msg_octets) == 0)
| ^~
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
| ^~~~~~~~~~~
crypto/hash/hmac_ossl.c:208:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
208 | if (HMAC_Final(state, hash_value, &len) == 0)
| ^~
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
… install.md documentation. This change helps streamline the project structure by excluding unnecessary installation instructions and ensuring relevant files are ignored during version control.
* Fix initialization of below_context in vpx_mbpost_proc_down_sse2 function to ensure proper zeroing.
In file included from vpx_dsp/x86/post_proc_sse2.c:12:
In function ‘_mm_add_epi16’,
inlined from ‘vpx_mbpost_proc_down_sse2’ at vpx_dsp/x86/post_proc_sse2.c:88:13:
/usr/lib/gcc/x86_64-linux-gnu/12/include/emmintrin.h:1060:35: warning: ‘below_context’ may be used uninitialized [-Wmaybe-uninitialized]
1060 | return (__m128i) ((__v8hu)__A + (__v8hu)__B);
| ^~~~~~~~~~~
vpx_dsp/x86/post_proc_sse2.c: In function ‘vpx_mbpost_proc_down_sse2’:
vpx_dsp/x86/post_proc_sse2.c:39:13: note: ‘below_context’ was declared here
39 | __m128i below_context;
| ^~~~~~~~~~~~~
* Update modules.conf to include additional modules and codecs, enhancing functionality and support for various applications, languages, and formats.
* Refactor AVX2 subpixel filter implementations for improved readability and consistency. Adjusted alignment and formatting of filter arrays and function calls in vpx_subpixel_8t_intrin_avx2.c.
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:43,
from vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:11:
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:300:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s2[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:24: note: ‘s2[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
| ^~
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:299:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s1[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:17: note: ‘s1[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
| ^~
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:300:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s2[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:24: note: ‘s2[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
| ^~
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:299:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s1[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:17: note: ‘s1[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
| ^~
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:300:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s2[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:24: note: ‘s2[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
| ^~
In function ‘_mm256_castsi256_si128’,
inlined from ‘convolve8_8_avx2’ at ./vpx_dsp/x86/convolve_avx2.h:86:22,
inlined from ‘vpx_filter_block1d16_v8_x_avx2.constprop’ at vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:299:15:
/usr/lib/gcc/x86_64-linux-gnu/12/include/avxintrin.h:1469:20: warning: ‘s1[3]’ may be used uninitialized [-Wmaybe-uninitialized]
1469 | return (__m128i) __builtin_ia32_si_si256 ((__v8si)__A);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: In function ‘vpx_filter_block1d16_v8_x_avx2.constprop’:
vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c:188:17: note: ‘s1[3]’ was declared here
188 | __m256i f[4], s1[4], s2[4];
[CC] vpx_dsp/avg.c.o
vpx_dsp/avg.c:343:32: warning: argument 1 of type ‘int16_t[16]’ {aka ‘short int[16]’} with mismatched bound [-Warray-parameter=]
343 | void vpx_int_pro_row_c(int16_t hbuf[16], const uint8_t *ref,
| ~~~~~~~~^~~~~~~~
In file included from vpx_dsp/avg.c:12:
././vpx_dsp_rtcd.h:386:33: note: previously declared as ‘int16_t *’ {aka ‘short int *’}
386 | void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride, const int height);
| ~~~~~~~~~^~~~
* Refactor AVX2 SAD functions to improve parameter handling by changing array declarations to pointer types for better flexibility and consistency.
vpx_dsp/x86/sad4d_avx2.c:25:48: warning: argument 3 of type ‘const uint8_t * const[4]’ {aka ‘const unsigned char * const[4]’} with mismatched bound [-Warray-parameter=]
25 | const uint8_t *const ref_array[4], int ref_stride,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from vpx_dsp/x86/sad4d_avx2.c:11:
././vpx_dsp_rtcd.h:576:89: note: previously declared as ‘const uint8_t * const[]’ {aka ‘const unsigned char * const[]’}
576 | void vpx_sad32x32x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
vpx_dsp/x86/sad4d_avx2.c:26:36: warning: argument 5 of type ‘uint32_t[4]’ {aka ‘unsigned int[4]’} with mismatched bound [-Warray-parameter=]
26 | uint32_t sad_array[4]) {
| ~~~~~~~~~^~~~~~~~~~~~
././vpx_dsp_rtcd.h:576:128: note: previously declared as ‘uint32_t *’ {aka ‘unsigned int *’}
576 | void vpx_sad32x32x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
| ~~~~~~~~~~^~~~~~~~~
vpx_dsp/x86/sad4d_avx2.c:73:48: warning: argument 3 of type ‘const uint8_t * const[4]’ {aka ‘const unsigned char * const[4]’} with mismatched bound [-Warray-parameter=]
73 | const uint8_t *const ref_array[4], int ref_stride,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
././vpx_dsp_rtcd.h:651:89: note: previously declared as ‘const uint8_t * const[]’ {aka ‘const unsigned char * const[]’}
651 | void vpx_sad64x64x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
vpx_dsp/x86/sad4d_avx2.c:74:36: warning: argument 5 of type ‘uint32_t[4]’ {aka ‘unsigned int[4]’} with mismatched bound [-Warray-parameter=]
74 | uint32_t sad_array[4]) {
| ~~~~~~~~~^~~~~~~~~~~~
././vpx_dsp_rtcd.h:651:128: note: previously declared as ‘uint32_t *’ {aka ‘unsigned int *’}
651 | void vpx_sad64x64x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
|
* Refactor AVX512 SAD function to improve parameter handling by changing array declarations to pointer types, enhancing flexibility and consistency in the function signature.
vpx_dsp/x86/sad4d_avx512.c:15:50: warning: argument 3 of type ‘const uint8_t * const[4]’ {aka ‘const unsigned char * const[4]’} with mismatched bound [-Warray-parameter=]
15 | const uint8_t *const ref_array[4], int ref_stride,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from vpx_dsp/x86/sad4d_avx512.c:11:
././vpx_dsp_rtcd.h:652:91: note: previously declared as ‘const uint8_t * const[]’ {aka ‘const unsigned char * const[]’}
652 | void vpx_sad64x64x4d_avx512(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
vpx_dsp/x86/sad4d_avx512.c:16:38: warning: argument 5 of type ‘uint32_t[4]’ {aka ‘unsigned int[4]’} with mismatched bound [-Warray-parameter=]
16 | uint32_t res[4]) {
| ~~~~~~~~~^~~~~~
././vpx_dsp_rtcd.h:652:130: note: previously declared as ‘uint32_t *’ {aka ‘unsigned int *’}
652 | void vpx_sad64x64x4d_avx512(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_array[], int ref_stride, uint32_t *sad_array);
|
* Add installation instructions for FreeSWITCH and document build warnings
Created a new installation guide in `install.md` detailing the steps to install FreeSWITCH, including necessary commands for setting up the environment and dependencies. Additionally, added a `veeivs.bug` file to document various build warnings encountered during compilation, highlighting issues related to deprecated functions and potential uninitialized variables in the codebase.
vpx_dsp/avg.c:343:32: warning: argument 1 of type ‘int16_t[16]’ {aka ‘short int[16]’} with mismatched bound [-Warray-parameter=]
343 | void vpx_int_pro_row_c(int16_t hbuf[16], const uint8_t *ref,
| ~~~~~~~~^~~~~~~~
In file included from vpx_dsp/avg.c:12:
././vpx_dsp_rtcd.h:386:33: note: previously declared as ‘int16_t *’ {aka ‘short int *’}
386 | void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride, const int height);
| ~~~~~~~~~^~~~
* Refactor vp8_decode function to improve variable handling by changing width and height declarations to volatile types, enhancing thread safety. Adjusted formatting for consistency in error messages and function calls.
vp8/vp8_dx_iface.c: In function ‘vp8_decode’:
vp8/vp8_dx_iface.c:284:16: warning: variable ‘w’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
284 | unsigned int w, h;
| ^
vp8/vp8_dx_iface.c:284:19: warning: variable ‘h’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
284 | unsigned int w, h;
| ^
* Remove outdated warnings from veeivs.bug file related to variable clobbering in vp8_decode function. This cleanup enhances clarity and focuses on current issues.
* Refactor vp9_bitstream.c for improved code consistency by adjusting parameter formatting and alignment across multiple functions. This change enhances readability and maintains uniformity in function signatures.
vp9/encoder/vp9_bitstream.c: In function ‘encode_tile_worker’:
vp9/encoder/vp9_bitstream.c:948:3: warning: ‘write_modes’ accessing 64 bytes in a region of size 16 [-Wstringop-overflow=]
948 | write_modes(cpi, xd, &cpi->tile_data[data->tile_idx].tile_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
949 | &data->bit_writer, tile_row, data->tile_idx,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
950 | &data->max_mv_magnitude, data->interp_filter_selected);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_bitstream.c:948:3: note: referencing argument 8 of type ‘int[4][4]’
vp9/encoder/vp9_bitstream.c:488:13: note: in a call to function ‘write_modes’
488 | static void write_modes(
| ^~~~~~~~~~~
vp9/encoder/vp9_bitstream.c:948:3: warning: ‘write_modes’ accessing 64 bytes in a region of size 16 [-Wstringop-overflow=]
948 | write_modes(cpi, xd, &cpi->tile_data[data->tile_idx].tile_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
949 | &data->bit_writer, tile_row, data->tile_idx,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
950 | &data->max_mv_magnitude, data->interp_filter_selected);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_bitstream.c:948:3: note: referencing argument 8 of type ‘int[4][4]’
vp9/encoder/vp9_bitstream.c:488:13: note: in a call to function ‘write_modes’
488 | static void write_modes(
| ^~~~~~~~~~~
vp9/encoder/vp9_bitstream.c:948:3: warning: ‘write_modes’ accessing 64 bytes in a region of size 16 [-Wstringop-overflow=]
948 | write_modes(cpi, xd, &cpi->tile_data[data->tile_idx].tile_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
949 | &data->bit_writer, tile_row, data->tile_idx,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
950 | &data->max_mv_magnitude, data->interp_filter_selected);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_bitstream.c:948:3: note: referencing argument 8 of type ‘int[4][4]’
vp9/encoder/vp9_bitstream.c:488:13: note: in a call to function ‘write_modes’
488 | static void write_modes(
| ^~~~~~~~~~~
* Remove duplicate warnings from veeivs.bug related to the 'write_modes' function in vp9_bitstream.c, enhancing clarity and focusing on relevant issues.
* Refactor vp9_rd.c for improved code readability by adjusting parameter formatting and alignment across multiple functions. This change enhances consistency in function signatures and maintains clarity in the codebase.
vp9/encoder/vp9_rd.c: In function ‘vp9_get_entropy_contexts’:
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [64, 254] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [68, 196] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [72, 200] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [76, 204] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [80, 208] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [84, 212] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [88, 216] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [92, 220] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [96, 224] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [100, 228] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [104, 232] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [108, 236] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [112, 240] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [116, 244] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:554:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
554 | t_above[i] = !!*(const uint32_t *)&above[i];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:532:47: note: at offset [120, 248] into destination object ‘t_above’ of size [0, 16]
532 | ENTROPY_CONTEXT t_above[16],
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [64, 254] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [68, 196] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [72, 200] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [76, 204] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [80, 208] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [84, 212] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [88, 216] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [92, 220] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [96, 224] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [100, 228] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [104, 232] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [108, 236] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [112, 240] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [116, 244] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
vp9/encoder/vp9_rd.c:556:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
556 | t_left[i] = !!*(const uint32_t *)&left[i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/vp9_rd.c:533:47: note: at offset [120, 248] into destination object ‘t_left’ of size [0, 16]
533 | ENTROPY_CONTEXT t_left[16]) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
* Fix warnings in vp9_rd.c related to writing into uninitialized arrays in the vp9_get_entropy_contexts function. This addresses multiple instances of potential string overflow issues, improving code safety and stability.
* Refactor vp9_diamond_search_sad_avx.c to improve code clarity by adjusting formatting and alignment of motion vector calculations. This includes simplifying the clamping logic and enhancing consistency in variable usage, which contributes to better readability and maintainability of the code.
vp9/encoder/x86/vp9_diamond_search_sad_avx.c: In function ‘vp9_diamond_search_sad_avx’:
vp9/encoder/x86/vp9_diamond_search_sad_avx.c:285:19: warning: ‘v_these_mv_w’ may be used uninitialized [-Wmaybe-uninitialized]
285 | new_bmv = ((const int_mv *)&v_these_mv_w)[local_best_idx];
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vp9/encoder/x86/vp9_diamond_search_sad_avx.c:149:21: note: ‘v_these_mv_w’ declared here
149 | const __m128i v_these_mv_w = _mm_add_epi16(v_bmv_w, v_ss_mv_w);
| ^~~~~~~~~~~~
* Remove deprecated warnings from veeivs.bug related to the use of 'readdir_r' in fspr_dir_read function and uninitialized variable usage in vp9_diamond_search_sad_avx function. This cleanup enhances clarity and focuses on current issues in the codebase.
* Refactor fspr_dir_open and fspr_dir_read functions to improve error handling and clarity. Adjusted the handling of directory entry sizes and updated the logic for checking the return value of readdir, ensuring proper management of errno. This enhances the robustness of directory operations in the codebase.
file_io/unix/dir.c: In function 'fspr_dir_read':
file_io/unix/dir.c:144:5: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
144 | ret = readdir_r(thedir->dirstruct, thedir->entry, &retent);
| ^~~
In file included from /usr/src/freeswitch/libs/apr/include/arch/unix/fspr_arch_file_io.h:50,
from file_io/unix/dir.c:17:
/usr/include/dirent.h:185:12: note: declared here
185 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
* aw
* Refactor proc_mutex.c for improved code clarity by adjusting formatting and alignment of function parameters and return statements. This change enhances readability and maintains consistency across the codebase.
locks/unix/proc_mutex.c: In function 'proc_mutex_proc_pthread_create':
locks/unix/proc_mutex.c:329:5: warning: 'pthread_mutexattr_setrobust_np' is deprecated: pthread_mutexattr_setrobust_np is deprecated, use pthread_mutexattr_setrobust [-Wdeprecated-declarations]
329 | if ((rv = pthread_mutexattr_setrobust_np(&mattr,
| ^~
In file included from /usr/include/features.h:489,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from ./include/fspr.h:113,
from locks/unix/proc_mutex.c:17:
/usr/include/pthread.h:951:12: note: declared here
951 | extern int __REDIRECT_NTH (pthread_mutexattr_setrobust_np,
| ^~~~~~~~~~~~~~
* d
* Enhance HMAC implementation for OpenSSL 3.0+ compatibility by introducing EVP_MAC API usage. Refactor memory allocation and deallocation processes for HMAC_CTX, ensuring proper handling across different OpenSSL versions. This update improves code clarity and maintains compatibility with legacy versions while adopting modern practices.
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_alloc':
crypto/hash/hmac_ossl.c:106:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
106 | (*a)->state = HMAC_CTX_new();
| ^
In file included from crypto/hash/hmac_ossl.c:54:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_dealloc':
crypto/hash/hmac_ossl.c:136:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
136 | HMAC_CTX_free(hmac_ctx);
| ^~~~~~~~~~~~~
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_start':
crypto/hash/hmac_ossl.c:152:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
152 | if (HMAC_Init_ex(state, NULL, 0, NULL, NULL) == 0)
| ^~
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
| ^~~~~~~~~~~~
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_init':
crypto/hash/hmac_ossl.c:164:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
164 | if (HMAC_Init_ex(state, key, key_len, EVP_sha1(), NULL) == 0)
| ^~
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
| ^~~~~~~~~~~~
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_update':
crypto/hash/hmac_ossl.c:179:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
179 | if (HMAC_Update(state, message, msg_octets) == 0)
| ^~
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
| ^~~~~~~~~~~
crypto/hash/hmac_ossl.c: In function 'srtp_hmac_compute':
crypto/hash/hmac_ossl.c:205:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
205 | if (HMAC_Update(state, message, msg_octets) == 0)
| ^~
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
| ^~~~~~~~~~~
crypto/hash/hmac_ossl.c:208:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
208 | if (HMAC_Final(state, hash_value, &len) == 0)
| ^~
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
* Update .gitignore to include new files for Veeivs and remove obsolete install.md documentation. This change helps streamline the project structure by excluding unnecessary installation instructions and ensuring relevant files are ignored during version control.
…move specific obsolete entries. This change streamlines the project by ensuring unnecessary files are ignored during version control.
…ored, while maintaining a clean project structure. This change adds a newline at the end of the file for consistency.
- Introduced default.xml, features.xml, and public.xml to define various dialplan extensions and contexts for handling calls, including features like call transfer, eavesdropping, and domain management. - Created specific extensions for handling inbound calls, public DIDs, and various call features to enhance functionality and security. - Added example configurations for local and international dialing, as well as a pizza demo extension for illustrative purposes. - Ensured proper handling of domain names and call routing to prevent toll fraud and improve call management.
- Cleaned up formatting by removing unnecessary whitespace and aligning comments for better clarity. - Enhanced the documentation for the mailer-app configuration, providing clearer instructions for Windows users. - Added new parameters for HTTP binding, improving configuration options for the application.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Review this and provide comments. I tested it on a physical server and on a Debian 12 VM.
I haven’t tested it on Debian 13. The build was failing on v1.10, which was the stable branch at the time.
If the stable branch has changed, tell me which one is current so I can switch.