mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
FS-10140: [core] add switch_img_grey, makes i420 switch_img_t image grey scale
This commit is contained in:
@@ -315,6 +315,8 @@ SWITCH_DECLARE(switch_image_t *) switch_img_copy_rect(switch_image_t *img, uint3
|
||||
*/
|
||||
SWITCH_DECLARE(void) switch_img_fill(switch_image_t *img, int x, int y, int w, int h, switch_rgb_color_t *color);
|
||||
|
||||
SWITCH_DECLARE(void) switch_img_grey(switch_image_t *img, int x, int y, int w, int h);
|
||||
|
||||
SWITCH_DECLARE(void) switch_img_fill_noalpha(switch_image_t *img, int x, int y, int w, int h, switch_rgb_color_t *color);
|
||||
|
||||
/*!\brief Set RGB color with a string
|
||||
|
||||
Reference in New Issue
Block a user