Commit Graph

9 Commits

Author SHA1 Message Date
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
Andrey Volk 6da4f147de [Unit-Tests] Fix switch_core_video test to use temporary path for generated files and clean them up. Ignore test runtime dirs. 2021-10-23 22:00:25 +03:00
Seven Du 48e3a37587 [core] fix leak in unit test 2021-10-23 22:00:04 +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 6761e8767e [core] and core video alpha patch test code 2021-10-23 22:00:01 +03:00
s3rj1k 91f12b5920
[Unit-tests] Fix previously defined AM_* in tests. 2021-02-23 20:59:26 +03:00
Anthony Minessale 9cb6b201a6 FS-11921: [core] add switch_img_data_url_png 2019-07-18 00:50:48 +04:00