mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
FS-7500: refactor to support Alpha channel on core image, only ARGB & I420 are supported
This commit is contained in:
@@ -223,7 +223,7 @@ SWITCH_DECLARE(switch_status_t) switch_img_txt_handle_render(switch_img_txt_hand
|
||||
SWITCH_DECLARE(void) switch_img_patch_hole(switch_image_t *IMG, switch_image_t *img, int x, int y, switch_image_rect_t *rect);
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_png_patch_img(switch_png_t *use_png, switch_image_t *img, int x, int y);
|
||||
SWITCH_DECLARE(switch_image_t *) switch_img_read_png(const char *file_name);
|
||||
SWITCH_DECLARE(switch_image_t *) switch_img_read_png(const char *file_name, switch_img_fmt_t img_fmt);
|
||||
SWITCH_DECLARE(switch_status_t) switch_img_write_png(switch_image_t *img, char *file_name);
|
||||
SWITCH_DECLARE(switch_status_t) switch_png_open(switch_png_t **pngP, const char *file_name);
|
||||
SWITCH_DECLARE(void) switch_png_free(switch_png_t **pngP);
|
||||
|
||||
@@ -63,6 +63,7 @@ SWITCH_BEGIN_EXTERN_C
|
||||
|
||||
#define SWITCH_IMG_FMT_HIGH VPX_IMG_FMT_HIGH
|
||||
#define SWITCH_IMG_FMT_I420 VPX_IMG_FMT_I420
|
||||
#define SWITCH_IMG_FMT_ARGB VPX_IMG_FMT_ARGB
|
||||
|
||||
typedef vpx_img_fmt_t switch_img_fmt_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user