Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
9686df2b
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9686df2b
编写于
12月 03, 2008
作者:
D
Diego Biurrun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Delete unnecessary 'extern' keywords.
Originally committed as revision 15990 to
svn://svn.ffmpeg.org/ffmpeg/trunk
上级
26ae363e
变更
30
显示空白变更内容
内联
并排
Showing
30 changed file
with
116 addition
and
122 deletion
+116
-122
ffmpeg.c
ffmpeg.c
+1
-1
libavcodec/alpha/dsputil_alpha.c
libavcodec/alpha/dsputil_alpha.c
+3
-3
libavcodec/armv4l/dsputil_arm.c
libavcodec/armv4l/dsputil_arm.c
+12
-16
libavcodec/armv4l/float_arm_vfp.c
libavcodec/armv4l/float_arm_vfp.c
+4
-4
libavcodec/armv4l/mpegvideo_arm.c
libavcodec/armv4l/mpegvideo_arm.c
+2
-2
libavcodec/armv4l/mpegvideo_armv5te.c
libavcodec/armv4l/mpegvideo_armv5te.c
+1
-2
libavcodec/avcodec.h
libavcodec/avcodec.h
+1
-1
libavcodec/bfin/dsputil_bfin.c
libavcodec/bfin/dsputil_bfin.c
+29
-29
libavcodec/bfin/mpegvideo_bfin.c
libavcodec/bfin/mpegvideo_bfin.c
+1
-1
libavcodec/bfin/vp3_bfin.c
libavcodec/bfin/vp3_bfin.c
+4
-4
libavcodec/celp_math.h
libavcodec/celp_math.h
+1
-1
libavcodec/dct-test.c
libavcodec/dct-test.c
+10
-10
libavcodec/i386/dsputil_mmx.c
libavcodec/i386/dsputil_mmx.c
+8
-8
libavcodec/libxvidff.c
libavcodec/libxvidff.c
+1
-1
libavcodec/mpc.h
libavcodec/mpc.h
+2
-2
libavcodec/mpeg12.c
libavcodec/mpeg12.c
+4
-4
libavcodec/mpegvideo.c
libavcodec/mpegvideo.c
+3
-3
libavcodec/png.h
libavcodec/png.h
+4
-5
libavcodec/ppc/dsputil_altivec.h
libavcodec/ppc/dsputil_altivec.h
+1
-1
libavcodec/ppc/dsputil_ppc.c
libavcodec/ppc/dsputil_ppc.c
+5
-5
libavcodec/ppc/mpegvideo_altivec.c
libavcodec/ppc/mpegvideo_altivec.c
+2
-2
libavcodec/sh4/dsputil_sh4.c
libavcodec/sh4/dsputil_sh4.c
+2
-2
libavcodec/snow.h
libavcodec/snow.h
+3
-3
libavcodec/sparc/dsputil_vis.c
libavcodec/sparc/dsputil_vis.c
+3
-3
libavformat/asf.c
libavformat/asf.c
+1
-1
libavformat/framehook.h
libavformat/framehook.h
+3
-3
libavformat/mpegts.c
libavformat/mpegts.c
+2
-2
libavformat/oggdec.h
libavformat/oggdec.h
+1
-1
libavformat/oggparsevorbis.c
libavformat/oggparsevorbis.c
+1
-1
libavformat/os_support.h
libavformat/os_support.h
+1
-1
未找到文件。
ffmpeg.c
浏览文件 @
9686df2b
...
...
@@ -419,7 +419,7 @@ static int av_exit(int ret)
av_free
(
video_standard
);
#ifdef CONFIG_POWERPC_PERF
extern
void
powerpc_display_perf_report
(
void
);
void
powerpc_display_perf_report
(
void
);
powerpc_display_perf_report
();
#endif
/* CONFIG_POWERPC_PERF */
...
...
libavcodec/alpha/dsputil_alpha.c
浏览文件 @
9686df2b
...
...
@@ -22,9 +22,9 @@
#include "libavcodec/dsputil.h"
#include "asm.h"
extern
void
simple_idct_axp
(
DCTELEM
*
block
);
extern
void
simple_idct_put_axp
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
);
extern
void
simple_idct_add_axp
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
);
void
simple_idct_axp
(
DCTELEM
*
block
);
void
simple_idct_put_axp
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
);
void
simple_idct_add_axp
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
);
void
put_pixels_axp_asm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
);
...
...
libavcodec/armv4l/dsputil_arm.c
浏览文件 @
9686df2b
...
...
@@ -24,23 +24,19 @@
#include <ipp.h>
#endif
extern
void
dsputil_init_iwmmxt
(
DSPContext
*
c
,
AVCodecContext
*
avctx
);
extern
void
ff_float_init_arm_vfp
(
DSPContext
*
c
,
AVCodecContext
*
avctx
);
void
dsputil_init_iwmmxt
(
DSPContext
*
c
,
AVCodecContext
*
avctx
);
void
ff_float_init_arm_vfp
(
DSPContext
*
c
,
AVCodecContext
*
avctx
);
extern
void
j_rev_dct_ARM
(
DCTELEM
*
data
);
extern
void
simple_idct_ARM
(
DCTELEM
*
data
);
void
j_rev_dct_ARM
(
DCTELEM
*
data
);
void
simple_idct_ARM
(
DCTELEM
*
data
);
extern
void
simple_idct_armv5te
(
DCTELEM
*
data
);
extern
void
simple_idct_put_armv5te
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
extern
void
simple_idct_add_armv5te
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
void
simple_idct_armv5te
(
DCTELEM
*
data
);
void
simple_idct_put_armv5te
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
void
simple_idct_add_armv5te
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
extern
void
ff_simple_idct_armv6
(
DCTELEM
*
data
);
extern
void
ff_simple_idct_put_armv6
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
extern
void
ff_simple_idct_add_armv6
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
void
ff_simple_idct_armv6
(
DCTELEM
*
data
);
void
ff_simple_idct_put_armv6
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
void
ff_simple_idct_add_armv6
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
/* XXX: local hack */
static
void
(
*
ff_put_pixels_clamped
)(
const
DCTELEM
*
block
,
uint8_t
*
pixels
,
int
line_size
);
...
...
@@ -57,7 +53,7 @@ void put_no_rnd_pixels8_xy2_arm(uint8_t *block, const uint8_t *pixels, int line_
void
put_pixels16_arm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
);
extern
void
ff_prefetch_arm
(
void
*
mem
,
int
stride
,
int
h
);
void
ff_prefetch_arm
(
void
*
mem
,
int
stride
,
int
h
);
CALL_2X_PIXELS
(
put_pixels16_x2_arm
,
put_pixels8_x2_arm
,
8
)
CALL_2X_PIXELS
(
put_pixels16_y2_arm
,
put_pixels8_y2_arm
,
8
)
...
...
@@ -66,7 +62,7 @@ CALL_2X_PIXELS(put_no_rnd_pixels16_x2_arm , put_no_rnd_pixels8_x2_arm , 8)
CALL_2X_PIXELS
(
put_no_rnd_pixels16_y2_arm
,
put_no_rnd_pixels8_y2_arm
,
8
)
CALL_2X_PIXELS
(
put_no_rnd_pixels16_xy2_arm
,
put_no_rnd_pixels8_xy2_arm
,
8
)
extern
void
ff_add_pixels_clamped_ARM
(
short
*
block
,
unsigned
char
*
dest
,
void
ff_add_pixels_clamped_ARM
(
short
*
block
,
unsigned
char
*
dest
,
int
line_size
);
/* XXX: those functions should be suppressed ASAP when all IDCTs are
...
...
libavcodec/armv4l/float_arm_vfp.c
浏览文件 @
9686df2b
...
...
@@ -20,10 +20,10 @@
#include "libavcodec/dsputil.h"
extern
void
ff_vector_fmul_vfp
(
float
*
dst
,
const
float
*
src
,
int
len
);
extern
void
ff_vector_fmul_reverse_vfp
(
float
*
dst
,
const
float
*
src0
,
void
ff_vector_fmul_vfp
(
float
*
dst
,
const
float
*
src
,
int
len
);
void
ff_vector_fmul_reverse_vfp
(
float
*
dst
,
const
float
*
src0
,
const
float
*
src1
,
int
len
);
extern
void
ff_float_to_int16_vfp
(
int16_t
*
dst
,
const
float
*
src
,
long
len
);
void
ff_float_to_int16_vfp
(
int16_t
*
dst
,
const
float
*
src
,
long
len
);
void
ff_float_init_arm_vfp
(
DSPContext
*
c
,
AVCodecContext
*
avctx
)
{
...
...
libavcodec/armv4l/mpegvideo_arm.c
浏览文件 @
9686df2b
...
...
@@ -22,8 +22,8 @@
#include "libavcodec/dsputil.h"
#include "libavcodec/mpegvideo.h"
extern
void
MPV_common_init_iwmmxt
(
MpegEncContext
*
s
);
extern
void
MPV_common_init_armv5te
(
MpegEncContext
*
s
);
void
MPV_common_init_iwmmxt
(
MpegEncContext
*
s
);
void
MPV_common_init_armv5te
(
MpegEncContext
*
s
);
void
MPV_common_init_armv4l
(
MpegEncContext
*
s
)
{
...
...
libavcodec/armv4l/mpegvideo_armv5te.c
浏览文件 @
9686df2b
...
...
@@ -23,8 +23,7 @@
#include "libavcodec/dsputil.h"
#include "libavcodec/mpegvideo.h"
extern
void
ff_dct_unquantize_h263_armv5te
(
DCTELEM
*
block
,
int
qmul
,
int
qadd
,
int
count
);
void
ff_dct_unquantize_h263_armv5te
(
DCTELEM
*
block
,
int
qmul
,
int
qadd
,
int
count
);
#ifdef ENABLE_ARM_TESTS
/**
...
...
libavcodec/avcodec.h
浏览文件 @
9686df2b
...
...
@@ -2972,7 +2972,7 @@ int av_picture_crop(AVPicture *dst, const AVPicture *src,
int
av_picture_pad
(
AVPicture
*
dst
,
const
AVPicture
*
src
,
int
height
,
int
width
,
int
pix_fmt
,
int
padtop
,
int
padbottom
,
int
padleft
,
int
padright
,
int
*
color
);
extern
unsigned
int
av_xiphlacing
(
unsigned
char
*
s
,
unsigned
int
v
);
unsigned
int
av_xiphlacing
(
unsigned
char
*
s
,
unsigned
int
v
);
/**
* Parses \p str and put in \p width_ptr and \p height_ptr the detected values.
...
...
libavcodec/bfin/dsputil_bfin.c
浏览文件 @
9686df2b
...
...
@@ -29,35 +29,35 @@
int
off
;
extern
void
ff_bfin_idct
(
DCTELEM
*
block
)
attribute_l1_text
;
extern
void
ff_bfin_fdct
(
DCTELEM
*
block
)
attribute_l1_text
;
extern
void
ff_bfin_vp3_idct
(
DCTELEM
*
block
);
extern
void
ff_bfin_vp3_idct_put
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
);
extern
void
ff_bfin_vp3_idct_add
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
);
extern
void
ff_bfin_add_pixels_clamped
(
DCTELEM
*
block
,
uint8_t
*
dest
,
int
line_size
)
attribute_l1_text
;
extern
void
ff_bfin_put_pixels_clamped
(
DCTELEM
*
block
,
uint8_t
*
dest
,
int
line_size
)
attribute_l1_text
;
extern
void
ff_bfin_diff_pixels
(
DCTELEM
*
block
,
uint8_t
*
s1
,
uint8_t
*
s2
,
int
stride
)
attribute_l1_text
;
extern
void
ff_bfin_get_pixels
(
DCTELEM
*
restrict
block
,
const
uint8_t
*
pixels
,
int
line_size
)
attribute_l1_text
;
extern
int
ff_bfin_pix_norm1
(
uint8_t
*
pix
,
int
line_size
)
attribute_l1_text
;
extern
int
ff_bfin_z_sad8x8
(
uint8_t
*
blk1
,
uint8_t
*
blk2
,
int
dsz
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
int
ff_bfin_z_sad16x16
(
uint8_t
*
blk1
,
uint8_t
*
blk2
,
int
dsz
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
void
ff_bfin_z_put_pixels16_xy2
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
int
dest_size
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
void
ff_bfin_z_put_pixels8_xy2
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
int
dest_size
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
void
ff_bfin_put_pixels16_xy2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
void
ff_bfin_put_pixels8_xy2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
int
ff_bfin_pix_sum
(
uint8_t
*
p
,
int
stride
)
attribute_l1_text
;
extern
void
ff_bfin_put_pixels8uc
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
dest_size
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
void
ff_bfin_put_pixels16uc
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
dest_size
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
void
ff_bfin_put_pixels8uc_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
void
ff_bfin_put_pixels16uc_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
int
ff_bfin_sse4
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
int
ff_bfin_sse8
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
extern
int
ff_bfin_sse16
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_idct
(
DCTELEM
*
block
)
attribute_l1_text
;
void
ff_bfin_fdct
(
DCTELEM
*
block
)
attribute_l1_text
;
void
ff_bfin_vp3_idct
(
DCTELEM
*
block
);
void
ff_bfin_vp3_idct_put
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
);
void
ff_bfin_vp3_idct_add
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
);
void
ff_bfin_add_pixels_clamped
(
DCTELEM
*
block
,
uint8_t
*
dest
,
int
line_size
)
attribute_l1_text
;
void
ff_bfin_put_pixels_clamped
(
DCTELEM
*
block
,
uint8_t
*
dest
,
int
line_size
)
attribute_l1_text
;
void
ff_bfin_diff_pixels
(
DCTELEM
*
block
,
uint8_t
*
s1
,
uint8_t
*
s2
,
int
stride
)
attribute_l1_text
;
void
ff_bfin_get_pixels
(
DCTELEM
*
restrict
block
,
const
uint8_t
*
pixels
,
int
line_size
)
attribute_l1_text
;
int
ff_bfin_pix_norm1
(
uint8_t
*
pix
,
int
line_size
)
attribute_l1_text
;
int
ff_bfin_z_sad8x8
(
uint8_t
*
blk1
,
uint8_t
*
blk2
,
int
dsz
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_z_sad16x16
(
uint8_t
*
blk1
,
uint8_t
*
blk2
,
int
dsz
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_z_put_pixels16_xy2
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
int
dest_size
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_z_put_pixels8_xy2
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
int
dest_size
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_put_pixels16_xy2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_put_pixels8_xy2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_pix_sum
(
uint8_t
*
p
,
int
stride
)
attribute_l1_text
;
void
ff_bfin_put_pixels8uc
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
dest_size
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_put_pixels16uc
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
dest_size
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_put_pixels8uc_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_put_pixels16uc_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_sse4
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_sse8
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_sse16
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
static
void
bfin_idct_add
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
)
...
...
libavcodec/bfin/mpegvideo_bfin.c
浏览文件 @
9686df2b
...
...
@@ -26,7 +26,7 @@
#include "dsputil_bfin.h"
extern
void
ff_bfin_fdct
(
DCTELEM
*
block
)
attribute_l1_text
;
void
ff_bfin_fdct
(
DCTELEM
*
block
)
attribute_l1_text
;
static
int
dct_quantize_bfin
(
MpegEncContext
*
s
,
...
...
libavcodec/bfin/vp3_bfin.c
浏览文件 @
9686df2b
...
...
@@ -22,10 +22,10 @@
#include "libavcodec/dsputil.h"
#include "dsputil_bfin.h"
extern
void
ff_bfin_vp3_idct
(
DCTELEM
*
block
)
attribute_l1_text
;
extern
void
ff_bfin_idct
(
DCTELEM
*
block
)
attribute_l1_text
;
extern
void
ff_bfin_add_pixels_clamped
(
DCTELEM
*
block
,
uint8_t
*
dest
,
int
line_size
)
attribute_l1_text
;
extern
void
ff_bfin_put_pixels_clamped
(
DCTELEM
*
block
,
uint8_t
*
dest
,
int
line_size
)
attribute_l1_text
;
void
ff_bfin_vp3_idct
(
DCTELEM
*
block
)
attribute_l1_text
;
void
ff_bfin_idct
(
DCTELEM
*
block
)
attribute_l1_text
;
void
ff_bfin_add_pixels_clamped
(
DCTELEM
*
block
,
uint8_t
*
dest
,
int
line_size
)
attribute_l1_text
;
void
ff_bfin_put_pixels_clamped
(
DCTELEM
*
block
,
uint8_t
*
dest
,
int
line_size
)
attribute_l1_text
;
/* Intra iDCT offset 128 */
void
ff_bfin_vp3_idct_put
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
)
...
...
libavcodec/celp_math.h
浏览文件 @
9686df2b
...
...
@@ -91,6 +91,6 @@ static inline int bidir_sal(int value, int offset)
*
* @return dot product = sum of elementwise products
*/
extern
float
ff_dot_productf
(
const
float
*
a
,
const
float
*
b
,
int
length
);
float
ff_dot_productf
(
const
float
*
a
,
const
float
*
b
,
int
length
);
#endif
/* AVCODEC_CELP_MATH_H */
libavcodec/dct-test.c
浏览文件 @
9686df2b
...
...
@@ -46,22 +46,22 @@
void
*
fast_memcpy
(
void
*
a
,
const
void
*
b
,
size_t
c
){
return
memcpy
(
a
,
b
,
c
);};
/* reference fdct/idct */
extern
void
fdct
(
DCTELEM
*
block
);
extern
void
idct
(
DCTELEM
*
block
);
extern
void
init_fdct
();
void
fdct
(
DCTELEM
*
block
);
void
idct
(
DCTELEM
*
block
);
void
init_fdct
();
extern
void
ff_mmx_idct
(
DCTELEM
*
data
);
extern
void
ff_mmxext_idct
(
DCTELEM
*
data
);
void
ff_mmx_idct
(
DCTELEM
*
data
);
void
ff_mmxext_idct
(
DCTELEM
*
data
);
extern
void
odivx_idct_c
(
short
*
block
);
void
odivx_idct_c
(
short
*
block
);
// BFIN
extern
void
ff_bfin_idct
(
DCTELEM
*
block
)
;
extern
void
ff_bfin_fdct
(
DCTELEM
*
block
)
;
void
ff_bfin_idct
(
DCTELEM
*
block
)
;
void
ff_bfin_fdct
(
DCTELEM
*
block
)
;
// ALTIVEC
extern
void
fdct_altivec
(
DCTELEM
*
block
);
//
extern void idct_altivec
(DCTELEM *block);?? no routine
void
fdct_altivec
(
DCTELEM
*
block
);
//
void idct_altivec
(DCTELEM *block);?? no routine
struct
algo
{
...
...
libavcodec/i386/dsputil_mmx.c
浏览文件 @
9686df2b
...
...
@@ -2403,13 +2403,13 @@ static void float_to_int16_interleave_3dn2(int16_t *dst, const float **src, long
}
extern
void
ff_snow_horizontal_compose97i_sse2
(
IDWTELEM
*
b
,
int
width
);
extern
void
ff_snow_horizontal_compose97i_mmx
(
IDWTELEM
*
b
,
int
width
);
extern
void
ff_snow_vertical_compose97i_sse2
(
IDWTELEM
*
b0
,
IDWTELEM
*
b1
,
IDWTELEM
*
b2
,
IDWTELEM
*
b3
,
IDWTELEM
*
b4
,
IDWTELEM
*
b5
,
int
width
);
extern
void
ff_snow_vertical_compose97i_mmx
(
IDWTELEM
*
b0
,
IDWTELEM
*
b1
,
IDWTELEM
*
b2
,
IDWTELEM
*
b3
,
IDWTELEM
*
b4
,
IDWTELEM
*
b5
,
int
width
);
extern
void
ff_snow_inner_add_yblock_sse2
(
const
uint8_t
*
obmc
,
const
int
obmc_stride
,
uint8_t
*
*
block
,
int
b_w
,
int
b_h
,
void
ff_snow_horizontal_compose97i_sse2
(
IDWTELEM
*
b
,
int
width
);
void
ff_snow_horizontal_compose97i_mmx
(
IDWTELEM
*
b
,
int
width
);
void
ff_snow_vertical_compose97i_sse2
(
IDWTELEM
*
b0
,
IDWTELEM
*
b1
,
IDWTELEM
*
b2
,
IDWTELEM
*
b3
,
IDWTELEM
*
b4
,
IDWTELEM
*
b5
,
int
width
);
void
ff_snow_vertical_compose97i_mmx
(
IDWTELEM
*
b0
,
IDWTELEM
*
b1
,
IDWTELEM
*
b2
,
IDWTELEM
*
b3
,
IDWTELEM
*
b4
,
IDWTELEM
*
b5
,
int
width
);
void
ff_snow_inner_add_yblock_sse2
(
const
uint8_t
*
obmc
,
const
int
obmc_stride
,
uint8_t
*
*
block
,
int
b_w
,
int
b_h
,
int
src_x
,
int
src_y
,
int
src_stride
,
slice_buffer
*
sb
,
int
add
,
uint8_t
*
dst8
);
extern
void
ff_snow_inner_add_yblock_mmx
(
const
uint8_t
*
obmc
,
const
int
obmc_stride
,
uint8_t
*
*
block
,
int
b_w
,
int
b_h
,
void
ff_snow_inner_add_yblock_mmx
(
const
uint8_t
*
obmc
,
const
int
obmc_stride
,
uint8_t
*
*
block
,
int
b_w
,
int
b_h
,
int
src_x
,
int
src_y
,
int
src_stride
,
slice_buffer
*
sb
,
int
add
,
uint8_t
*
dst8
);
...
...
libavcodec/libxvidff.c
浏览文件 @
9686df2b
...
...
@@ -38,7 +38,7 @@
#define BUFFER_CAT(x) (&((x)[strlen(x)]))
/* For PPC Use */
extern
int
has_altivec
(
void
);
int
has_altivec
(
void
);
/**
* Structure for the private Xvid context.
...
...
libavcodec/mpc.h
浏览文件 @
9686df2b
...
...
@@ -74,7 +74,7 @@ typedef struct {
DECLARE_ALIGNED_16
(
int32_t
,
sb_samples
[
MPA_MAX_CHANNELS
][
36
][
SBLIMIT
]);
}
MPCContext
;
extern
void
ff_mpc_init
();
extern
void
ff_mpc_dequantize_and_synth
(
MPCContext
*
c
,
int
maxband
,
void
*
dst
);
void
ff_mpc_init
();
void
ff_mpc_dequantize_and_synth
(
MPCContext
*
c
,
int
maxband
,
void
*
dst
);
#endif
/* AVCODEC_MPC_H */
libavcodec/mpeg12.c
浏览文件 @
9686df2b
...
...
@@ -63,10 +63,10 @@ static inline int mpeg2_fast_decode_block_intra(MpegEncContext *s, DCTELEM *bloc
static
int
mpeg_decode_motion
(
MpegEncContext
*
s
,
int
fcode
,
int
pred
);
static
void
exchange_uv
(
MpegEncContext
*
s
);
extern
int
XVMC_field_start
(
MpegEncContext
*
s
,
AVCodecContext
*
avctx
);
extern
int
XVMC_field_end
(
MpegEncContext
*
s
);
extern
void
XVMC_pack_pblocks
(
MpegEncContext
*
s
,
int
cbp
);
extern
void
XVMC_init_block
(
MpegEncContext
*
s
);
//set s->block
int
XVMC_field_start
(
MpegEncContext
*
s
,
AVCodecContext
*
avctx
);
int
XVMC_field_end
(
MpegEncContext
*
s
);
void
XVMC_pack_pblocks
(
MpegEncContext
*
s
,
int
cbp
);
void
XVMC_init_block
(
MpegEncContext
*
s
);
//set s->block
static
const
enum
PixelFormat
pixfmt_xvmc_mpg2_420
[]
=
{
PIX_FMT_XVMC_MPEG2_IDCT
,
...
...
libavcodec/mpegvideo.c
浏览文件 @
9686df2b
...
...
@@ -54,9 +54,9 @@ static void dct_unquantize_h263_intra_c(MpegEncContext *s,
static
void
dct_unquantize_h263_inter_c
(
MpegEncContext
*
s
,
DCTELEM
*
block
,
int
n
,
int
qscale
);
extern
int
XVMC_field_start
(
MpegEncContext
*
s
,
AVCodecContext
*
avctx
);
extern
void
XVMC_field_end
(
MpegEncContext
*
s
);
extern
void
XVMC_decode_mb
(
MpegEncContext
*
s
);
int
XVMC_field_start
(
MpegEncContext
*
s
,
AVCodecContext
*
avctx
);
void
XVMC_field_end
(
MpegEncContext
*
s
);
void
XVMC_decode_mb
(
MpegEncContext
*
s
);
/* enable all paranoid tests for rounding, overflows, etc... */
...
...
libavcodec/png.h
浏览文件 @
9686df2b
...
...
@@ -64,14 +64,13 @@ extern const uint8_t ff_png_pass_xshift[NB_PASSES];
/* Mask to determine which pixels are valid in a pass */
extern
const
uint8_t
ff_png_pass_mask
[
NB_PASSES
];
extern
void
*
ff_png_zalloc
(
void
*
opaque
,
unsigned
int
items
,
unsigned
int
size
);
void
*
ff_png_zalloc
(
void
*
opaque
,
unsigned
int
items
,
unsigned
int
size
);
extern
void
ff_png_zfree
(
void
*
opaque
,
void
*
ptr
);
void
ff_png_zfree
(
void
*
opaque
,
void
*
ptr
);
extern
int
ff_png_get_nb_channels
(
int
color_type
);
int
ff_png_get_nb_channels
(
int
color_type
);
/* compute the row size of an interleaved pass */
extern
int
ff_png_pass_row_size
(
int
pass
,
int
bits_per_pixel
,
int
width
);
int
ff_png_pass_row_size
(
int
pass
,
int
bits_per_pixel
,
int
width
);
#endif
/* AVCODEC_PNG_H */
libavcodec/ppc/dsputil_altivec.h
浏览文件 @
9686df2b
...
...
@@ -25,7 +25,7 @@
#include <stdint.h>
extern
int
has_altivec
(
void
);
int
has_altivec
(
void
);
void
put_pixels16_altivec
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
);
...
...
libavcodec/ppc/dsputil_ppc.c
浏览文件 @
9686df2b
...
...
@@ -27,11 +27,11 @@
#ifdef HAVE_ALTIVEC
#include "dsputil_altivec.h"
extern
void
fdct_altivec
(
int16_t
*
block
);
extern
void
gmc1_altivec
(
uint8_t
*
dst
,
uint8_t
*
src
,
int
stride
,
int
h
,
void
fdct_altivec
(
int16_t
*
block
);
void
gmc1_altivec
(
uint8_t
*
dst
,
uint8_t
*
src
,
int
stride
,
int
h
,
int
x16
,
int
y16
,
int
rounder
);
extern
void
idct_put_altivec
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
extern
void
idct_add_altivec
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
void
idct_put_altivec
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
void
idct_add_altivec
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
void
dsputil_h264_init_ppc
(
DSPContext
*
c
,
AVCodecContext
*
avctx
);
...
...
libavcodec/ppc/mpegvideo_altivec.c
浏览文件 @
9686df2b
...
...
@@ -585,8 +585,8 @@ POWERPC_PERF_STOP_COUNT(altivec_dct_unquantize_h263_num, nCoeffs == 63);
}
extern
void
idct_put_altivec
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
extern
void
idct_add_altivec
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
void
idct_put_altivec
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
void
idct_add_altivec
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
void
MPV_common_init_altivec
(
MpegEncContext
*
s
)
{
...
...
libavcodec/sh4/dsputil_sh4.c
浏览文件 @
9686df2b
...
...
@@ -51,7 +51,7 @@ static void clear_blocks_sh4(DCTELEM *blocks)
memzero_align8
(
blocks
,
sizeof
(
DCTELEM
)
*
6
*
64
);
}
extern
void
idct_sh4
(
DCTELEM
*
block
);
void
idct_sh4
(
DCTELEM
*
block
);
static
void
idct_put
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
)
{
int
i
;
...
...
@@ -89,7 +89,7 @@ static void idct_add(uint8_t *dest, int line_size, DCTELEM *block)
}
}
extern
void
dsputil_init_align
(
DSPContext
*
c
,
AVCodecContext
*
avctx
);
void
dsputil_init_align
(
DSPContext
*
c
,
AVCodecContext
*
avctx
);
void
dsputil_init_sh4
(
DSPContext
*
c
,
AVCodecContext
*
avctx
)
{
...
...
libavcodec/snow.h
浏览文件 @
9686df2b
...
...
@@ -121,9 +121,9 @@ struct slice_buffer_s {
#define W_DS 9
#endif
extern
void
ff_snow_vertical_compose97i
(
IDWTELEM
*
b0
,
IDWTELEM
*
b1
,
IDWTELEM
*
b2
,
IDWTELEM
*
b3
,
IDWTELEM
*
b4
,
IDWTELEM
*
b5
,
int
width
);
extern
void
ff_snow_horizontal_compose97i
(
IDWTELEM
*
b
,
int
width
);
extern
void
ff_snow_inner_add_yblock
(
const
uint8_t
*
obmc
,
const
int
obmc_stride
,
uint8_t
*
*
block
,
int
b_w
,
int
b_h
,
int
src_x
,
int
src_y
,
int
src_stride
,
slice_buffer
*
sb
,
int
add
,
uint8_t
*
dst8
);
void
ff_snow_vertical_compose97i
(
IDWTELEM
*
b0
,
IDWTELEM
*
b1
,
IDWTELEM
*
b2
,
IDWTELEM
*
b3
,
IDWTELEM
*
b4
,
IDWTELEM
*
b5
,
int
width
);
void
ff_snow_horizontal_compose97i
(
IDWTELEM
*
b
,
int
width
);
void
ff_snow_inner_add_yblock
(
const
uint8_t
*
obmc
,
const
int
obmc_stride
,
uint8_t
*
*
block
,
int
b_w
,
int
b_h
,
int
src_x
,
int
src_y
,
int
src_stride
,
slice_buffer
*
sb
,
int
add
,
uint8_t
*
dst8
);
#ifdef CONFIG_SNOW_ENCODER
int
w53_32_c
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
);
...
...
libavcodec/sparc/dsputil_vis.c
浏览文件 @
9686df2b
...
...
@@ -31,9 +31,9 @@
#include "vis.h"
extern
void
ff_simple_idct_put_vis
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
extern
void
ff_simple_idct_add_vis
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
extern
void
ff_simple_idct_vis
(
DCTELEM
*
data
);
void
ff_simple_idct_put_vis
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
void
ff_simple_idct_add_vis
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
void
ff_simple_idct_vis
(
DCTELEM
*
data
);
/* The trick used in some of this file is the formula from the MMX
* motion comp code, which is:
...
...
libavformat/asf.c
浏览文件 @
9686df2b
...
...
@@ -26,7 +26,7 @@
#include "asf.h"
#include "asfcrypt.h"
extern
void
ff_mms_set_stream_selection
(
URLContext
*
h
,
AVFormatContext
*
format
);
void
ff_mms_set_stream_selection
(
URLContext
*
h
,
AVFormatContext
*
format
);
#undef NDEBUG
#include <assert.h>
...
...
libavformat/framehook.h
浏览文件 @
9686df2b
...
...
@@ -45,8 +45,8 @@ typedef void (FrameHookRelease)(void *ctx);
typedef
FrameHookRelease
*
FrameHookReleaseFn
;
extern
FrameHookRelease
Release
;
extern
int
frame_hook_add
(
int
argc
,
char
*
argv
[]);
extern
void
frame_hook_process
(
struct
AVPicture
*
pict
,
enum
PixelFormat
pix_fmt
,
int
width
,
int
height
,
int64_t
pts
);
extern
void
frame_hook_release
(
void
);
int
frame_hook_add
(
int
argc
,
char
*
argv
[]);
void
frame_hook_process
(
struct
AVPicture
*
pict
,
enum
PixelFormat
pix_fmt
,
int
width
,
int
height
,
int64_t
pts
);
void
frame_hook_release
(
void
);
#endif
/* AVFORMAT_FRAMEHOOK_H */
libavformat/mpegts.c
浏览文件 @
9686df2b
...
...
@@ -38,8 +38,8 @@ typedef struct PESContext PESContext;
static
PESContext
*
add_pes_stream
(
MpegTSContext
*
ts
,
int
pid
,
int
pcr_pid
,
int
stream_type
);
static
AVStream
*
new_pes_av_stream
(
PESContext
*
pes
,
uint32_t
code
);
extern
void
av_set_program_name
(
AVProgram
*
program
,
char
*
provider_name
,
char
*
name
);
extern
void
av_program_add_stream_index
(
AVFormatContext
*
ac
,
int
progid
,
unsigned
int
idx
);
void
av_set_program_name
(
AVProgram
*
program
,
char
*
provider_name
,
char
*
name
);
void
av_program_add_stream_index
(
AVFormatContext
*
ac
,
int
progid
,
unsigned
int
idx
);
enum
MpegTSFilterType
{
MPEGTS_PES
,
...
...
libavformat/oggdec.h
浏览文件 @
9686df2b
...
...
@@ -85,6 +85,6 @@ extern const struct ogg_codec ff_speex_codec;
extern
const
struct
ogg_codec
ff_theora_codec
;
extern
const
struct
ogg_codec
ff_vorbis_codec
;
extern
int
vorbis_comment
(
AVFormatContext
*
ms
,
uint8_t
*
buf
,
int
size
);
int
vorbis_comment
(
AVFormatContext
*
ms
,
uint8_t
*
buf
,
int
size
);
#endif
/* AVFORMAT_OGGDEC_H */
libavformat/oggparsevorbis.c
浏览文件 @
9686df2b
...
...
@@ -30,7 +30,7 @@
#include "avformat.h"
#include "oggdec.h"
extern
int
int
vorbis_comment
(
AVFormatContext
*
as
,
uint8_t
*
buf
,
int
size
)
{
const
uint8_t
*
p
=
buf
;
...
...
libavformat/os_support.h
浏览文件 @
9686df2b
...
...
@@ -93,7 +93,7 @@ struct pollfd {
#define POLLNVAL 0x1000
/* invalid file descriptor */
extern
int
poll
(
struct
pollfd
*
fds
,
nfds_t
numfds
,
int
timeout
);
int
poll
(
struct
pollfd
*
fds
,
nfds_t
numfds
,
int
timeout
);
#endif
/* HAVE_POLL_H */
#endif
/* CONFIG_FFSERVER */
#endif
/* CONFIG_NETWORK */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录