mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
FS-7506 FS-7513: set banner with video_banner_text variable set before calling in, NEEDS DOCS params are parsable inside a {} string
This commit is contained in:
1 parent
9d7eef28e6
commit
0697db4fb4
9 files changed
+1067
-196
No files matched your search
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
|
||||
* Copyright (C) 2005-2014, Anthony Minessale II <anthm@freeswitch.org>
|
||||
*
|
||||
* Version: MPL 1.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Seven Du <dujinfang@gmail.com>
|
||||
* Portions created by the Initial Developer are Copyright (C)
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
*
|
||||
* switch_vpx.h -- vpx resources
|
||||
*
|
||||
*/
|
||||
/*! \file switch_vpx.h
|
||||
\brief vpx resources
|
||||
|
||||
The things powered by libvpx are renamed into the switch_ namespace to provide a cleaner
|
||||
look to things and helps me to document what parts of video I am using I'd like to take this
|
||||
opportunity to thank libvpx for all the awesome stuff it does and for making my life much easier.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef SWITCH_VPX_H
|
||||
#define SWITCH_VPX_H
|
||||
|
||||
#include <switch.h>
|
||||
|
||||
#include "vpx/vpx_image.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
SWITCH_BEGIN_EXTERN_C
|
||||
|
||||
#define SWITCH_IMG_FMT_PLANAR VPX_IMG_FMT_PLANAR
|
||||
#define SWITCH_IMG_FMT_UV_FLIP VPX_IMG_FMT_UV_FLIP
|
||||
#define SWITCH_IMG_FMT_HAS_ALPHA VPX_IMG_FMT_HAS_ALPHA
|
||||
|
||||
|
||||
#define SWITCH_PLANE_PACKED VPX_PLANE_PACKED
|
||||
#define SWITCH_PLANE_Y VPX_PLANE_Y
|
||||
#define SWITCH_PLANE_U VPX_PLANE_U
|
||||
#define SWITCH_PLANE_V VPX_PLANE_V
|
||||
#define SWITCH_PLANE_ALPHA VPX_PLANE_ALPHA
|
||||
|
||||
#ifndef VPX_IMG_FMT_HIGH /* not available in libvpx 1.3.0 (see commit hash e97aea28) */
|
||||
#define VPX_IMG_FMT_HIGH 0x800 /**< Image uses 16bit framebuffer */
|
||||
#endif
|
||||
|
||||
#define SWITCH_IMG_FMT_HIGH VPX_IMG_FMT_HIGH
|
||||
#define SWITCH_IMG_FMT_I420 VPX_IMG_FMT_I420
|
||||
|
||||
typedef vpx_img_fmt_t switch_img_fmt_t;
|
||||
|
||||
typedef vpx_image_t switch_image_t;
|
||||
|
||||
|
||||
SWITCH_END_EXTERN_C
|
||||
#endif
|
||||
|
||||
/* For Emacs:
|
||||
* Local Variables:
|
||||
* mode:c
|
||||
* indent-tabs-mode:t
|
||||
* tab-width:4
|
||||
* c-basic-offset:4
|
||||
* End:
|
||||
* For VIM:
|
||||
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet:
|
||||
*/
|
||||
Reference in new issue
Block a user