Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
df4d264a
提交
df4d264a
authored
4月 21, 2013
作者:
Steve Underwood
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixed a new error introduced when scrunching colour images down to bi-level
上级
88b3b54e
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
1 行增加
和
1 行删除
+1
-1
t30.c
libs/spandsp/src/t30.c
+0
-1
t4_tx.c
libs/spandsp/src/t4_tx.c
+1
-0
没有找到文件。
libs/spandsp/src/t30.c
浏览文件 @
df4d264a
...
...
@@ -1750,7 +1750,6 @@ static int build_dcs(t30_state_t *s)
/* Deal with the image length */
/* If the other end supports unlimited length, then use that. Otherwise, if the other end supports
B4 use that, as its longer than the default A4 length. */
printf
(
"Size1 0x%x
\n
"
,
s
->
mutual_image_sizes
);
if
((
s
->
mutual_image_sizes
&
T4_SUPPORT_LENGTH_UNLIMITED
))
set_ctrl_bit
(
s
->
dcs_frame
,
T30_DCS_BIT_UNLIMITED_LENGTH
);
else
if
((
s
->
mutual_image_sizes
&
T4_SUPPORT_LENGTH_B4
))
...
...
libs/spandsp/src/t4_tx.c
浏览文件 @
df4d264a
...
...
@@ -840,6 +840,7 @@ static int read_tiff_image(t4_tx_state_t *s)
s
->
image_length
=
image_translate_get_output_length
(
translator
);
s
->
metadata
.
x_resolution
=
T4_X_RESOLUTION_R8
;
s
->
metadata
.
y_resolution
=
T4_Y_RESOLUTION_FINE
;
s
->
metadata
.
resolution_code
=
T4_RESOLUTION_R8_FINE
;
s
->
tiff
.
image_size
=
(
s
->
image_width
*
s
->
image_length
+
7
)
/
8
;
if
(
s
->
tiff
.
image_size
>=
s
->
tiff
.
image_buffer_size
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论