Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
云duo
FFmpeg
提交
4e0799a4
F
FFmpeg
项目概览
云duo
/
FFmpeg
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
FFmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4e0799a4
编写于
8月 20, 2013
作者:
D
Diego Biurrun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
swscale: Add some missing av_cold to arch-specific init functions
上级
3aa682f2
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
7 addition
and
4 deletion
+7
-4
libswscale/bfin/swscale_bfin.c
libswscale/bfin/swscale_bfin.c
+2
-1
libswscale/bfin/yuv2rgb_bfin.c
libswscale/bfin/yuv2rgb_bfin.c
+2
-1
libswscale/ppc/yuv2yuv_altivec.c
libswscale/ppc/yuv2yuv_altivec.c
+3
-2
未找到文件。
libswscale/bfin/swscale_bfin.c
浏览文件 @
4e0799a4
...
...
@@ -23,6 +23,7 @@
#include <stdint.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "libswscale/swscale_internal.h"
#if defined (__FDPIC__) && CONFIG_SRAM
...
...
@@ -71,7 +72,7 @@ static int yuyvtoyv12_unscaled(SwsContext *c, const uint8_t *src[],
return
srcSliceH
;
}
void
ff_get_unscaled_swscale_bfin
(
SwsContext
*
c
)
av_cold
void
ff_get_unscaled_swscale_bfin
(
SwsContext
*
c
)
{
if
(
c
->
dstFormat
==
AV_PIX_FMT_YUV420P
&&
c
->
srcFormat
==
AV_PIX_FMT_UYVY422
)
{
av_log
(
NULL
,
AV_LOG_VERBOSE
,
...
...
libswscale/bfin/yuv2rgb_bfin.c
浏览文件 @
4e0799a4
...
...
@@ -24,6 +24,7 @@
#include <stdint.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "libswscale/swscale_internal.h"
#if defined(__FDPIC__) && CONFIG_SRAM
...
...
@@ -167,7 +168,7 @@ static int bfin_yuv420_bgr565(SwsContext *c, const uint8_t **in, int *instrides,
outstrides
,
ff_bfin_yuv2rgb565_line
,
0
,
565
);
}
SwsFunc
ff_yuv2rgb_init_bfin
(
SwsContext
*
c
)
av_cold
SwsFunc
ff_yuv2rgb_init_bfin
(
SwsContext
*
c
)
{
SwsFunc
f
;
...
...
libswscale/ppc/yuv2yuv_altivec.c
浏览文件 @
4e0799a4
...
...
@@ -24,9 +24,10 @@
#include <inttypes.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#include "libavutil/cpu.h"
#if HAVE_ALTIVEC
...
...
@@ -183,7 +184,7 @@ static int yv12touyvy_unscaled_altivec(SwsContext *c, const uint8_t *src[],
#endif
/* HAVE_ALTIVEC */
void
ff_get_unscaled_swscale_ppc
(
SwsContext
*
c
)
av_cold
void
ff_get_unscaled_swscale_ppc
(
SwsContext
*
c
)
{
#if HAVE_ALTIVEC
if
((
av_get_cpu_flags
()
&
AV_CPU_FLAG_ALTIVEC
)
&&
!
(
c
->
srcW
&
15
)
&&
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录