Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
b644421c
提交
b644421c
authored
1月 17, 2019
作者:
Anthony Minessale
提交者:
Andrey Volk
7月 25, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
core side of vpx update
上级
f49279b4
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
250 行增加
和
255 行删除
+250
-255
Makefile.am
Makefile.am
+49
-43
switch_image.h
src/include/switch_image.h
+193
-204
switch_core_video.c
src/switch_core_video.c
+8
-8
没有找到文件。
Makefile.am
浏览文件 @
b644421c
...
@@ -195,49 +195,55 @@ CORE_LIBS+=libfreeswitch_spandsp.la
...
@@ -195,49 +195,55 @@ CORE_LIBS+=libfreeswitch_spandsp.la
if
ENABLE_LIBYUV
if
ENABLE_LIBYUV
libfreeswitch_libyuv_la_SOURCES
=
\
libfreeswitch_libyuv_la_SOURCES
=
\
libs/libyuv/source/compare.cc
\
libs/libyuv/source/compare.cc
\
libs/libyuv/source/compare_common.cc
\
libs/libyuv/source/compare_common.cc
\
libs/libyuv/source/compare_gcc.cc
\
libs/libyuv/source/compare_gcc.cc
\
libs/libyuv/source/convert.cc
\
libs/libyuv/source/compare_mmi.cc
\
libs/libyuv/source/convert_argb.cc
\
libs/libyuv/source/compare_msa.cc
\
libs/libyuv/source/convert_from.cc
\
libs/libyuv/source/compare_neon64.cc
\
libs/libyuv/source/convert_from_argb.cc
\
libs/libyuv/source/compare_neon.cc
\
libs/libyuv/source/convert_to_argb.cc
\
libs/libyuv/source/compare_win.cc
\
libs/libyuv/source/convert_to_i420.cc
\
libs/libyuv/source/convert_argb.cc
\
libs/libyuv/source/cpu_id.cc
\
libs/libyuv/source/convert.cc
\
libs/libyuv/source/planar_functions.cc
\
libs/libyuv/source/convert_from_argb.cc
\
libs/libyuv/source/rotate.cc
\
libs/libyuv/source/convert_from.cc
\
libs/libyuv/source/rotate_any.cc
\
libs/libyuv/source/convert_jpeg.cc
\
libs/libyuv/source/rotate_argb.cc
\
libs/libyuv/source/convert_to_argb.cc
\
libs/libyuv/source/rotate_common.cc
\
libs/libyuv/source/convert_to_i420.cc
\
libs/libyuv/source/rotate_gcc.cc
\
libs/libyuv/source/cpu_id.cc
\
libs/libyuv/source/rotate_mips.cc
\
libs/libyuv/source/mjpeg_decoder.cc
\
libs/libyuv/source/row_any.cc
\
libs/libyuv/source/mjpeg_validate.cc
\
libs/libyuv/source/row_common.cc
\
libs/libyuv/source/planar_functions.cc
\
libs/libyuv/source/row_mips.cc
\
libs/libyuv/source/rotate_any.cc
\
libs/libyuv/source/row_gcc.cc
\
libs/libyuv/source/rotate_argb.cc
\
libs/libyuv/source/scale.cc
\
libs/libyuv/source/rotate.cc
\
libs/libyuv/source/scale_any.cc
\
libs/libyuv/source/rotate_common.cc
\
libs/libyuv/source/scale_argb.cc
\
libs/libyuv/source/rotate_gcc.cc
\
libs/libyuv/source/scale_common.cc
\
libs/libyuv/source/rotate_mmi.cc
\
libs/libyuv/source/scale_gcc.cc
\
libs/libyuv/source/rotate_msa.cc
\
libs/libyuv/source/scale_mips.cc
\
libs/libyuv/source/rotate_neon64.cc
\
libs/libyuv/source/video_common.cc
\
libs/libyuv/source/rotate_neon.cc
\
libs/libyuv/source/compare_neon64.cc
\
libs/libyuv/source/rotate_win.cc
\
libs/libyuv/source/compare_neon.cc
\
libs/libyuv/source/row_any.cc
\
libs/libyuv/source/compare_win.cc
\
libs/libyuv/source/row_common.cc
\
libs/libyuv/source/convert_jpeg.cc
\
libs/libyuv/source/row_gcc.cc
\
libs/libyuv/source/mjpeg_decoder.cc
\
libs/libyuv/source/row_mmi.cc
\
libs/libyuv/source/mjpeg_validate.cc
\
libs/libyuv/source/row_msa.cc
\
libs/libyuv/source/rotate_neon64.cc
\
libs/libyuv/source/row_neon64.cc
\
libs/libyuv/source/rotate_neon.cc
\
libs/libyuv/source/row_neon.cc
\
libs/libyuv/source/rotate_win.cc
\
libs/libyuv/source/row_win.cc
\
libs/libyuv/source/row_neon64.cc
\
libs/libyuv/source/scale_any.cc
\
libs/libyuv/source/row_neon.cc
\
libs/libyuv/source/scale_argb.cc
\
libs/libyuv/source/row_win.cc
\
libs/libyuv/source/scale.cc
\
libs/libyuv/source/scale_neon64.cc
\
libs/libyuv/source/scale_common.cc
\
libs/libyuv/source/scale_neon.cc
\
libs/libyuv/source/scale_gcc.cc
\
libs/libyuv/source/scale_win.cc
libs/libyuv/source/scale_mmi.cc
\
libs/libyuv/source/scale_msa.cc
\
libs/libyuv/source/scale_neon64.cc
\
libs/libyuv/source/scale_neon.cc
\
libs/libyuv/source/scale_win.cc
\
libs/libyuv/source/video_common.cc
libfreeswitch_libyuv_la_CPPFLAGS
=
-O2
-fomit-frame-pointer
-Ilibs
/libyuv/include
libfreeswitch_libyuv_la_CPPFLAGS
=
-O2
-fomit-frame-pointer
-Ilibs
/libyuv/include
CORE_LIBS
+=
libfreeswitch_libyuv.la
CORE_LIBS
+=
libfreeswitch_libyuv.la
...
...
src/include/switch_image.h
浏览文件 @
b644421c
差异被折叠。
点击展开。
src/switch_core_video.c
浏览文件 @
b644421c
...
@@ -384,15 +384,15 @@ SWITCH_DECLARE(void) switch_img_patch_rgb(switch_image_t *IMG, switch_image_t *i
...
@@ -384,15 +384,15 @@ SWITCH_DECLARE(void) switch_img_patch_rgb(switch_image_t *IMG, switch_image_t *i
}
}
if
(
img
->
fmt
==
SWITCH_IMG_FMT_ARGB
&&
IMG
->
fmt
==
SWITCH_IMG_FMT_ARGB
)
{
if
(
img
->
fmt
==
SWITCH_IMG_FMT_ARGB
&&
IMG
->
fmt
==
SWITCH_IMG_FMT_ARGB
)
{
uint8
*
src_argb0
=
img
->
planes
[
SWITCH_PLANE_PACKED
];
uint8
_t
*
src_argb0
=
img
->
planes
[
SWITCH_PLANE_PACKED
];
int
src_stride_argb0
=
img
->
stride
[
SWITCH_PLANE_PACKED
];
int
src_stride_argb0
=
img
->
stride
[
SWITCH_PLANE_PACKED
];
uint8
*
src_argb1
=
IMG
->
planes
[
SWITCH_PLANE_PACKED
];
uint8
_t
*
src_argb1
=
IMG
->
planes
[
SWITCH_PLANE_PACKED
];
int
src_stride_argb1
=
IMG
->
stride
[
SWITCH_PLANE_PACKED
];
int
src_stride_argb1
=
IMG
->
stride
[
SWITCH_PLANE_PACKED
];
uint8
*
dst_argb
=
IMG
->
planes
[
SWITCH_PLANE_PACKED
];
uint8
_t
*
dst_argb
=
IMG
->
planes
[
SWITCH_PLANE_PACKED
];
int
dst_stride_argb
=
IMG
->
stride
[
SWITCH_PLANE_PACKED
];
int
dst_stride_argb
=
IMG
->
stride
[
SWITCH_PLANE_PACKED
];
int
width
=
MIN
(
img
->
d_w
,
IMG
->
d_w
-
abs
(
x
));
int
width
=
MIN
(
img
->
d_w
,
IMG
->
d_w
-
abs
(
x
));
int
height
=
MIN
(
img
->
d_h
,
IMG
->
d_h
-
abs
(
y
));
int
height
=
MIN
(
img
->
d_h
,
IMG
->
d_h
-
abs
(
y
));
void
(
*
ARGBBlendRow
)(
const
uint8
*
src_argb
,
const
uint8
*
src_argb1
,
uint8
*
dst_argb
,
int
width
)
=
GetARGBBlend
();
void
(
*
ARGBBlendRow
)(
const
uint8
_t
*
src_argb
,
const
uint8_t
*
src_argb1
,
uint8_t
*
dst_argb
,
int
width
)
=
GetARGBBlend
();
switch_img_attenuate
(
img
);
switch_img_attenuate
(
img
);
...
@@ -3277,10 +3277,10 @@ SWITCH_DECLARE(switch_status_t) switch_img_from_raw(switch_image_t *dest, void *
...
@@ -3277,10 +3277,10 @@ SWITCH_DECLARE(switch_status_t) switch_img_from_raw(switch_image_t *dest, void *
}
}
/*
/*
int ConvertToI420(const uint8* src_frame, size_t src_size,
int ConvertToI420(const uint8
_t
* src_frame, size_t src_size,
uint8* dst_y, int dst_stride_y,
uint8
_t
* dst_y, int dst_stride_y,
uint8* dst_u, int dst_stride_u,
uint8
_t
* dst_u, int dst_stride_u,
uint8* dst_v, int dst_stride_v,
uint8
_t
* dst_v, int dst_stride_v,
int crop_x, int crop_y,
int crop_x, int crop_y,
int src_width, int src_height,
int src_width, int src_height,
int crop_width, int crop_height,
int crop_width, int crop_height,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论