Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
43e2f86c
提交
43e2f86c
authored
7月 23, 2013
作者:
Steve Underwood
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More tweaks to spandsp
上级
9046143f
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
32 行增加
和
10 行删除
+32
-10
fsk.c
libs/spandsp/src/fsk.c
+9
-0
t4_t6_encode.h
libs/spandsp/src/spandsp/t4_t6_encode.h
+6
-0
v18.h
libs/spandsp/src/spandsp/v18.h
+11
-10
t4_t6_encode.c
libs/spandsp/src/t4_t6_encode.c
+6
-0
没有找到文件。
libs/spandsp/src/fsk.c
浏览文件 @
43e2f86c
...
...
@@ -69,6 +69,7 @@ const fsk_spec_t preset_fsk_specs[] =
300
*
100
},
{
/* This is mode 2 of the V.23 spec. Mode 1 (the 600baud mode) is not defined here */
"V23 ch 1"
,
1700
+
400
,
1700
-
400
,
...
...
@@ -124,6 +125,14 @@ const fsk_spec_t preset_fsk_specs[] =
-
30
,
50
*
100
},
{
"Weitbrecht 47.6"
,
/* Used for V.18 probing */
1600
+
200
,
1600
-
200
,
-
14
,
-
30
,
4760
},
{
"V21 (110bps) ch 1"
,
1080
+
100
,
...
...
libs/spandsp/src/spandsp/t4_t6_encode.h
浏览文件 @
43e2f86c
...
...
@@ -77,6 +77,12 @@ SPAN_DECLARE(int) t4_t6_encode_set_encoding(t4_t6_encode_state_t *s, int encodin
\return 0 for success, otherwise -1. */
SPAN_DECLARE
(
int
)
t4_t6_encode_set_image_width
(
t4_t6_encode_state_t
*
s
,
int
image_width
);
/*! \brief Set the length of the image.
\param s The T.4/T.6 context.
\param image_length The image length, in pixels.
\return 0 for success, otherwise -1. */
SPAN_DECLARE
(
int
)
t4_t6_encode_set_image_length
(
t4_t6_encode_state_t
*
s
,
int
image_length
);
/*! \brief Get the width of the image.
\param s The T.4/T.6 context.
\return The width of the image, in pixels. */
...
...
libs/spandsp/src/spandsp/v18.h
浏览文件 @
43e2f86c
...
...
@@ -38,24 +38,25 @@ typedef struct v18_state_s v18_state_t;
enum
{
V18_MODE_NONE
=
0
,
V18_MODE_NONE
=
0
x0001
,
/* V.18 Annex A - Weitbrecht TDD at 45.45bps (US TTY), half-duplex, 5 bit baudot (USA). */
V18_MODE_5BIT_4545
=
1
,
V18_MODE_5BIT_4545
=
0x0002
,
/* V.18 Annex A - Weitbrecht TDD at 50bps (International TTY), half-duplex, 5 bit baudot (UK, Australia and others). */
V18_MODE_5BIT_50
=
2
,
V18_MODE_5BIT_50
=
0x0004
,
/* V.18 Annex B - DTMF encoding of ASCII (Denmark, Holland and others). */
V18_MODE_DTMF
=
3
,
V18_MODE_DTMF
=
0x0008
,
/* V.18 Annex C - EDT (European Deaf Telephone) 110bps, V.21, half-duplex, ASCII (Germany, Austria, Switzerland and others). */
V18_MODE_EDT
=
4
,
V18_MODE_EDT
=
0x0010
,
/* V.18 Annex D - 300bps, Bell 103, duplex, ASCII (USA). */
V18_MODE_BELL103
=
5
,
V18_MODE_BELL103
=
0x0020
,
/* V.18 Annex E - 1200bps Videotex terminals, ASCII (France). */
V18_MODE_V23VIDEOTEX
=
6
,
V18_MODE_V23VIDEOTEX
=
0x0040
,
/* V.18 Annex F - V.21 text telephone, V.21, duplex, ASCII (Sweden, Norway and Finland). */
V18_MODE_V21TEXTPHONE
=
7
,
V18_MODE_V21TEXTPHONE
=
0x0080
,
/* V.18 Annex G - V.18 text telephone mode. */
V18_MODE_V18TEXTPHONE
=
8
,
V18_MODE_5BIT_476
=
9
,
V18_MODE_V18TEXTPHONE
=
0x0100
,
/* V.18 Annex A - Used during probing. */
V18_MODE_5BIT_476
=
0x0200
,
/* Use repetitive shift characters where character set shifts are used */
V18_MODE_REPETITIVE_SHIFTS_OPTION
=
0x1000
};
...
...
libs/spandsp/src/t4_t6_encode.c
浏览文件 @
43e2f86c
...
...
@@ -1040,6 +1040,12 @@ SPAN_DECLARE(int) t4_t6_encode_set_image_width(t4_t6_encode_state_t *s, int imag
}
/*- End of function --------------------------------------------------------*/
SPAN_DECLARE
(
int
)
t4_t6_encode_set_image_length
(
t4_t6_encode_state_t
*
s
,
int
image_length
)
{
return
0
;
}
/*- End of function --------------------------------------------------------*/
SPAN_DECLARE
(
uint32_t
)
t4_t6_encode_get_image_width
(
t4_t6_encode_state_t
*
s
)
{
return
s
->
image_width
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论