54 Commits

Author SHA1 Message Date
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
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
40687ccb6a FS-10050: [core] chromakey 2017-03-03 19:01:48 -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
Anthony Minessale
dbbe00332b FS-10050: [core] chromakey 2017-03-01 20:01:36 -06:00
Anthony Minessale
91d62b7cc6 FS-10050 polish 2017-02-24 16:49:43 -06:00
Anthony Minessale
c60ae0f0e1 FS-10050 cont 2017-02-21 15:52:59 -06:00
Seven Du
f31393d3c9 FS-10050 add chromakey 2017-02-17 01:19:57 +08:00
Sergey Safarov
df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Seven Du
c0499fbb22 FS-9266 #resolve 2016-06-15 09:34:26 +08:00
Anthony Minessale
48dcab82d7 FS-9000 tweaks 2016-04-01 10:49:52 -05:00
Seven Du
fa702f2710 FS-8959 refactor improve memory processing 2016-03-22 11:18:04 +08:00
Anthony Minessale
e0b303e2cb FS-8905 #resolve [Heap overflow in img patch] 2016-03-05 14:41:38 -06:00
Seven Du
ed78d38994 FS-8867: create conversion function stubs in the core so modules do not need to use libyuv directly 2016-02-24 15:12:05 -06:00
Mike Jerris
3e0a0ba833 attempt to optimize patch function 2015-07-29 22:11:59 -05:00
Mike Jerris
c6596b1bd0 attempt to optimize patch function 2015-07-29 21:03:02 -05:00
Anthony Minessale
34fd0e9ad8 FS-7769 More features
add var=val member lookup usable wherver member_id is valid in api commands
add bgimg to layouts with api command or config for global setting
fix bug with overlap layouts combined with odd sized layers
improve switch_img_fit to take a modifier for fit, streach or both at once
2015-07-28 19:43:04 -05:00
Michael Jerris
e298831b3c FS-7655: fix build issue w/ strict prototypes 2015-06-16 19:58:16 -04:00
Michael Jerris
4ad0aa91a4 FS-7655: attempt to make libvpx and libyuv optional (none of the video features will work without them) The following modules require these libraries to be installed still: mod_av mod_cv mod_fsv mod_mp4v2 mod_openh264 mod_vpx mod_imagick mod_vpx mod_yuv mod_png mod_vlc 2015-06-16 18:24:35 -05:00
Anthony Minessale
09ede13fc4 FS-7500 add switch_img_letterbox and use it for the mirror input function 2015-05-28 12:47:33 -05:00
Seven Du
930d8aea39 FS-7550 starting to and libgd to core video 2015-05-28 12:47:31 -05:00
Seven Du
4b8f40d28e FS-7506 add alpha channel to switch_rgb_color_t so it is possible to make transparent text img 2015-05-28 12:47:30 -05:00
Seven Du
8787ccd5a5 FS-7506 refactor to use rgb color for pixel 2015-05-28 12:47:30 -05:00
Anthony Minessale
3e33920657 FS-7513 fix all video mute related issues 2015-05-28 12:47:30 -05:00
Anthony Minessale
5e7a8ea76d FS-7515: txt len 2015-05-28 12:47:28 -05:00
Seven Du
57016a7926 FS-7500: refactor and implemnt patch_rect
fix stride side when patching strided img
implement switch_img_patch_rect to patch partial of an img to a bigger IMG
refactor switch_img_copy_rect to support ARGB
2015-05-28 12:47:23 -05:00
Anthony Minessale
4b9b004403 FS-7513: add text to video logo in mod_conference 2015-05-28 12:47:23 -05:00
Seven Du
0ddfea1d1b FS-7500: refactor to support Alpha channel on core image, only ARGB & I420 are supported 2015-05-28 12:47:20 -05:00
Anthony Minessale
9cf804d4d0 FS-7515: add opaque container for png to pass around and save width and height 2015-05-28 12:47:19 -05:00
Anthony Minessale
4bcc6e6d64 FS-7503 FS-7514: First crack at recording mp4 <action application="capture_video" data="vlc://#transcode{vcodec=h264,acodec=mp3}:std{access=file,mux=mp4,dst=/var/www/sounds/file.mp4}"/> 2015-05-28 12:47:05 -05:00
Seven Du
e02ff26569 FS-7500: libpng 1.6.0 has much simpler APIs, also add a new switch_img_patch_png to possible patch a transparent png to an img
While this is not optimal, we should cache the png:
1) cache the whole buffer, with comes with RGBARGBA pixel formats
2) Allow switch_image_t to be other formats e.g. VPX_IMG_FMT_ARGB, VPX_IMG_FMT_ARGB_LE, or VPX_IMG_FMT_444A
   those can have alpha channels so we can check the alpha channel before we patch

Note all PNG are created equel, or maybe a bug in libpng since for some PNG files with alpha the returned buffer
     not seems like RGBARGBA... while docs says it should default be RGBA
2015-05-28 12:47:02 -05:00
Anthony Minessale
e65f6bd604 FS-7513: add logo func and positioning param and vid snapshot 2015-05-28 12:47:02 -05:00
Seven Du
84a1f5f642 FS-7500: add overlay func 2015-05-28 12:47:02 -05:00
Seven Du
c70e8cf216 FS-7500: add yuv2rgb 2015-05-28 12:47:01 -05:00
Anthony Minessale
1faf602251 FS-7513: basic logo 2015-05-28 12:47:01 -05:00
Anthony Minessale
521a97935e FS-7500: check in png code and put it in the core to mature 2015-05-28 12:47:00 -05:00
Seven Du
90ea86bc95 FS-7506 FS-7513: refactor with rgb color space to support anti aliasing 2015-05-28 12:47:00 -05:00
Anthony Minessale
0697db4fb4 FS-7506 FS-7513: set banner with video_banner_text variable set before calling in, NEEDS DOCS params are parsable inside a {} string 2015-05-28 12:46:59 -05:00
Seven Du
9d7eef28e6 FS-7500 FS-7513: add and use switch_img_fill 2015-05-28 12:46:59 -05:00
Seven Du
c857be4547 FS-7506: improve draw_text with minimum anti aliasing 2015-05-28 12:46:59 -05:00
Seven Du
0f28311b17 FS-7506 FS-7513: refactor switch color and implement draw_text in mod_conference 2015-05-28 12:46:59 -05:00
Anthony Minessale
e14ad07a26 FS-7500: move function to core 2015-05-28 12:46:58 -05:00
Anthony Minessale
fa5d6af2cd FS-7513: refactor conference video muxing to create one distinct encoder per codec used and only create one encoded frame per distinct codec, store current image used by layer on the layer so it is not destroyed before the canvas is written, refactor and rearrange some functions 2015-05-28 12:46:57 -05:00
Anthony Minessale
1061aef9fa FS-7500: convert more to typedef to avoid warnings and build problems 2015-05-28 12:46:56 -05:00