Commit Graph

28797 Commits

Author SHA1 Message Date
Anthony Minessale 356a501b7c FS-7508: reduce vpx memory footprint 2015-05-28 12:47:03 -05:00
Anthony Minessale 9bc84051f6 FS-7513: fix possible mem leak 2015-05-28 12:47:03 -05:00
Anthony Minessale 3e093da0dd FS-7509: default local video cookie to false 2015-05-28 12:47:03 -05:00
Anthony Minessale 863e6c8b79 FS-7509: cleanup 2015-05-28 12:47:03 -05:00
Anthony Minessale e4705dc2e2 FS-7509: add file to demo 2015-05-28 12:47:03 -05:00
Anthony Minessale 2c4c2587ed FS-7513 FS-7509: crack at screen share 2015-05-28 12:47:03 -05:00
Anthony Minessale 84074ab804 FS-7513: cleanup 2015-05-28 12:47:02 -05:00
Anthony Minessale 7307005c56 FS-7513: clear screen on unvmute 2015-05-28 12:47:02 -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
Seven Du f4fad4e756 FS-7500: fix seg 2015-05-28 12:47:02 -05:00
Anthony Minessale 704c036593 FS-7513: change name of flag to make sense 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
Anthony Minessale ae68efd48e FS-7500: assert on neg coordinates causes a seg on free if they are used 2015-05-28 12:47:02 -05:00
Anthony Minessale eca9107498 FS-7513: add video mute and suite of controls 2015-05-28 12:47:02 -05:00
Anthony Minessale 2c1ab14074 FS-7513: add configurable FPS for conf and default to 15 2015-05-28 12:47:02 -05:00
Anthony Minessale 889f5265eb FS-7509: update res options 2015-05-28 12:47:02 -05:00
Anthony Minessale 98db5879bd FS-7513: remove extra mutex 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 e868e6eec9 FS-7513: refactor reset_image, we do not need the round to even anymore, actually it causes side effects 2015-05-28 12:47:01 -05:00
Seven Du 18a896d39d FS-7513: trying to fix mutex 2015-05-28 12:47:01 -05:00
Seven Du 9faf03c91e FS-7500: be safe for patch and fill, off by 1 2015-05-28 12:47:01 -05:00
Anthony Minessale f18b872cde FS-7509: add param for local video toggle 2015-05-28 12:47:01 -05:00
Seven Du 2aad60b054 FS-7513: typo 2015-05-28 12:47:01 -05:00
Seven Du c70e8cf216 FS-7500: add yuv2rgb 2015-05-28 12:47:01 -05:00
Seven Du b90ef728f3 FS-7500: fix rgb2yuv typo 2015-05-28 12:47:01 -05:00
Seven Du 061bcb063a FS-7500: fix patch and fill on an odd position 2015-05-28 12:47:01 -05:00
Anthony Minessale b808099f6a FS-7513: try 30 again 2015-05-28 12:47:01 -05:00
Anthony Minessale 160d3bb817 FS-7513: add mutex 2015-05-28 12:47:01 -05:00
Seven Du 2841319037 FS-7500: fix compiler warning 2015-05-28 12:47:01 -05:00
Anthony Minessale dba3f8429d FS-7513: try out 25fps 2015-05-28 12:47:01 -05:00
Anthony Minessale 21a90d71b0 FS-7500: use libpng not png12 for portability 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
Anthony Minessale e84d7b8c89 FS-7513: banner control and layout bgcolor param 2015-05-28 12:47:00 -05:00
Anthony Minessale 4afc59370a FS-7513: do banner with set rect so we don't have to keep patching it in 2015-05-28 12:47:00 -05:00
Anthony Minessale 47cb08c491 FS-7513: don't attach when you don't have video 2015-05-28 12:47:00 -05:00
Anthony Minessale a8e8f2e149 FS-7513: factor conditional back out and use fixed 30FPS timer 2015-05-28 12:47:00 -05:00
Anthony Minessale 6f39539308 FS-7513: comment demo code and set bg color with new anti-alias 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
Seven Du a446d8411e FS-7513: clean white spaces 2015-05-28 12:47:00 -05:00
Seven Du 187b0c1485 FS-7506: fix pen position and add mono font support 2015-05-28 12:47:00 -05:00
Anthony Minessale 0b496715f9 FS-7513: dup sring before chopping it up 2015-05-28 12:47:00 -05:00
Anthony Minessale 0115fa192e FS-7513: keyframe every 10 on conf 2015-05-28 12:47:00 -05:00
Anthony Minessale b2fa835a0a FS-7513: only use timer when needed 2015-05-28 12:47:00 -05:00
Anthony Minessale 0ca774e4cf FS-7513: don't need to free that 2015-05-28 12:47:00 -05:00
Anthony Minessale d7127764e8 FS-7506 FS-7513: banner update 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 8a1cb14015 FS-7499: trying to fix rtp data len when rtp extension is used
duplicated some code from 4943~4953, but that code has it's own problem, it forget to reset *bytes results to
larger frame->datalen could read beyond the buffer, and it also makes stats not accurate. But if we reset *bytes
at that place, then later the switch_vb_put_packet has problem because it depends that *bytes. this patch should
fix the datalen at least buf still leaves duplicated code and inaccurate stats.
2015-05-28 12:46:59 -05:00