Jakub Karolczyk
49c1c35982
[core] Coverity fixes
...
* [core] Coverity CID 1468218 (Resource leak)
* [core] Coverity CID 1468214 (Resource leak)
* [core] Coverity CID 1294472 (Resource leak)
* [core] Coverity CID 1294470 (Resource leak)
* [core] Coverity CID 1500361 (Resource leak)
* [core] Coverity CID 1500308 (Resource leak)
* [core] Coverity CID 1500278 (Resource leak)
---------
Co-authored-by: Andrey Volk <andywolk@gmail.com>
2023-04-01 00:07:59 +03:00
Sebastian Kemper
a2ce46c6fd
[core] fix "--disable-libyuv"
...
Recent changes made it impossible to compile freeswitch without libyuv
support.
src/switch_core_video.c: In function 'switch_img_read_from_file':
src/switch_core_video.c:3139:4: error: implicit declaration of function 'RAWToI420' [-Werror=implicit-function-declaration]
RAWToI420(data, width * 3,
^
src/switch_core_video.c:3148:4: error: implicit declaration of function 'ABGRToARGB' [-Werror=implicit-function-declaration]
ABGRToARGB(data, width * 4, img->planes[SWITCH_PLANE_PACKED], img->stride[SWITCH_PLANE_PACKED], width, height);
^
Fix this my adding/moving the checks for "SWITCH_HAVE_YUV".
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-01 19:35:53 +03:00
Mike Jerris
531f2f0135
[core] url decode video render text
2021-10-23 22:00:14 +03:00
Seven Du
64aebc31ed
[core] fix memeory leak when font not found
2021-10-23 22:00:05 +03:00
Seven Du
2448d32c0f
[core] add jpg data_url support with stb_image
2021-10-23 22:00:03 +03:00
Seven Du
2a87e7b98c
[core] add stb_image_write supported image write
2021-10-23 22:00:03 +03:00
Seven Du
58d5442dc5
[core] add stb_image to read more supported picture formats
2021-10-23 22:00:03 +03:00
Seven Du
01ffc4493c
[core] fix patch alpha on alpna image
2021-10-23 22:00:00 +03:00
Seven Du
96562bcc48
[core] add switch_img_read_png_from_memory
2021-10-23 22:00:00 +03:00
Anthony Minessale
ffbe8500ec
[core] add new function to theorize the dimensions of an image if it were to be resizedto fit inside another image
2021-10-23 21:59:59 +03:00
Seven Du
55d8edf846
[core] support convert to ARGB_LE video format
2020-12-16 23:14:42 +08:00
Andrey Volk
8cee6230e3
[Core] scan-build: Fix "Result of operation is garbage or undefined" in switch_color_yuv2rgb()
2020-02-16 01:23:40 +04:00
Dragos Oancea
8247dfc475
[core] scan-build: Dereference of null pointer (loaded from variable 'txt') - switch_img_write_text_img()
2020-01-31 23:43:37 +00:00
Dragos Oancea
a5ef549b81
[core] scan-build: Value stored to 'len' is never read
2020-01-28 23:16:02 +00:00
Anthony Minessale
b644421c87
core side of vpx update
2019-07-25 23:06:59 +04:00
Mike Jerris
b29fa06d20
FS-11921: [core] add switch_img_data_url_png, fix build without libpng
2019-07-18 00:51:20 +04:00
Anthony Minessale
9cb6b201a6
FS-11921: [core] add switch_img_data_url_png
2019-07-18 00:50:48 +04:00
Andrey Volk
42db14e68f
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core_video.c
2019-07-15 23:41:43 +04:00
dulinjun
908793e5fe
Update src/switch_core_video.c
2019-01-25 05:49:58 +00:00
Anthony Minessale
79ccf87ae7
FS-11226: [freeswitch-core,mod_conference] Missing font files can lead to crash in conference #resolve
2018-07-24 07:21:56 +00:00
Anthony Minessale
ca9a62c539
FS-11119: [core] Fix video skew on oddly resized conference layers
2018-07-24 07:21:52 +00:00
Anthony Minessale
054229fb68
FS-11021: [mod_conference] Add video mirror #resolve
2018-07-24 07:21:45 +00:00
Mike Jerris
3c7db639fd
FS-11168: [core] fix compile error on gentoo from typo in assert statement
2018-05-16 17:12:08 -04:00
Anthony Minessale
13033b49b3
FS-10526: [freeswitch-core] Uninitialized variable in switch_img_fit when using SWITCH_FIT_SIZE_AND_SCALE #resolve
2017-07-20 17:28:19 -05:00
Anthony Minessale
44021b1c61
FS-10472: [mod_conference] Invalid free in personal canvas mode
2017-07-10 19:13:27 -05:00
Anthony Minessale
7c19615890
FS-10417: [freeswitch-core] Reduce flicker in screen sharing #resolve
2017-06-21 19:26:18 -05:00
Anthony Minessale
e26e873268
FS-10205: [freeswitch-core,mod_conference,mod_video_filter] Add 8 bit filter #resolve
2017-03-31 20:21:45 -05:00
Mike Jerris
ac3d685191
FS-10184: [Build-System] Fix missing #ifdefs for proper build w/o libyuv/libvpx
2017-03-27 11:50:48 -05:00
Anthony Minessale
e61f6e227c
FS-10151: [mod_video_filter] Add filters and fg video to mod_video_filter #resolve
2017-03-17 15:16:13 -05:00
Anthony Minessale
f1d8685566
FS-10138: [freeswitch-core,mod_conference] Add alpha video to conference
2017-03-16 14:55:16 -05:00
Mike Jerris
8d4e72af16
FS-10140: [core] add switch_img_grey, makes i420 switch_img_t image grey scale
2017-03-16 11:09:29 -05:00
Anthony Minessale
50358d1cce
FS-10107 can of worms contd
2017-03-15 16:55:06 -05:00
Seven Du
d1625f85a5
FS-10094 Alpha Video support
...
Alpha webm support
RGBA alpha support
2017-03-15 11:45:58 +08:00
Anthony Minessale
c6ce9da470
FS-10050: [core] chromakey Optimizations broke solid color mode
2017-03-09 14:15:09 -06:00
Anthony Minessale
115e69a0c0
FS-10114: [mod_conference] Reduce image reads from disk for logo image #resolve
2017-03-08 19:36:18 -06:00
Anthony Minessale
06bd37b623
FS-10050: [core] chromakey
2017-03-03 19:04:51 -06:00
Anthony Minessale
40687ccb6a
FS-10050: [core] chromakey
2017-03-03 19:01:48 -06:00
Anthony Minessale
776bf7995a
FS-10050: [core] chromakey
2017-03-03 18:10:40 -06:00
Mike Jerris
666e875416
FS-10050: [core] chromakey optimization
2017-03-03 18:01:51 -06:00
Mike Jerris
478d6c6815
FS-10050: [core] chromakey optimization
2017-03-03 17:46:31 -06:00
Anthony Minessale
c50aac4eb8
FS-10050: [core] chromakey
2017-03-03 17:33:33 -06:00
Mike Jerris
7b8465915b
FS-10050: [core] chromakey optimization
2017-03-03 14:58:56 -06:00
Anthony Minessale
5ba5f0eda4
FS-10050: [core] chromakey
2017-03-03 11:21:09 -06:00
Anthony Minessale
2c0f5cfcbb
FS-10050: [core] chromakey
2017-03-03 10:53:14 -06:00
Seven Du
2bd0ff45f4
FS-10080
2017-03-02 18:46:23 -06:00
Anthony Minessale
b733e8d974
FS-10050: [core] chromakey
2017-03-02 18:04:36 -06:00
Seven Du
05632bb057
FS-10050 fix unused function
2017-03-02 22:52:12 +08:00
Anthony Minessale
dbbe00332b
FS-10050: [core] chromakey
2017-03-01 20:01:36 -06:00
Anthony Minessale
16656b5b17
factor out sqrt many million per sec
2017-02-27 11:01:56 -06:00
Anthony Minessale
91d62b7cc6
FS-10050 polish
2017-02-24 16:49:43 -06:00