mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Delete unnecessary 'extern' keywords.
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
26ae363e06
commit
9686df2be5
2
ffmpeg.c
2
ffmpeg.c
@ -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 */
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
const float *src1, int len);
|
||||
extern void ff_float_to_int16_vfp(int16_t *dst, const float *src, long len);
|
||||
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);
|
||||
void ff_float_to_int16_vfp(int16_t *dst, const float *src, long len);
|
||||
|
||||
void ff_float_init_arm_vfp(DSPContext* c, AVCodecContext *avctx)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
/**
|
||||
|
@ -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.
|
||||
|
@ -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;
|
||||
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;
|
||||
|
||||
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;
|
||||
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;
|
||||
|
||||
|
||||
extern int ff_bfin_pix_sum (uint8_t *p, int stride) attribute_l1_text;
|
||||
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;
|
||||
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;
|
||||
|
||||
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;
|
||||
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)
|
||||
|
@ -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,
|
||||
|
@ -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)
|
||||
|
@ -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 */
|
||||
|
@ -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 {
|
||||
|
@ -2403,14 +2403,14 @@ 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,
|
||||
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,
|
||||
int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8);
|
||||
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);
|
||||
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);
|
||||
|
||||
|
||||
static void add_int16_sse2(int16_t * v1, int16_t * v2, int order)
|
||||
|
@ -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.
|
||||
|
@ -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 */
|
||||
|
@ -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,
|
||||
|
@ -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... */
|
||||
|
@ -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 */
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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,
|
||||
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 fdct_altivec(int16_t *block);
|
||||
void gmc1_altivec(uint8_t *dst, uint8_t *src, int stride, int h,
|
||||
int x16, int y16, int rounder);
|
||||
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);
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
@ -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:
|
||||
|
@ -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>
|
||||
|
@ -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 */
|
||||
|
@ -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,
|
||||
|
@ -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 */
|
||||
|
@ -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;
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user