FFmpeg
|
DSP utils. More...
#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
struct | DSPContext |
DSPContext. More... | |
Typedefs | |
typedef int(* | me_cmp_func )(struct MpegEncContext *c, uint8_t *blk1, uint8_t *blk2, int line_size, int h) |
Functions | |
void | ff_dsputil_static_init (void) |
void | ff_dsputil_init (DSPContext *p, AVCodecContext *avctx) |
void | avpriv_dsputil_init (DSPContext *p, AVCodecContext *avctx) |
attribute_deprecated void | dsputil_init (DSPContext *c, AVCodecContext *avctx) |
int | ff_check_alignment (void) |
void | ff_set_cmp (DSPContext *c, me_cmp_func *cmp, int type) |
void | ff_dsputil_init_alpha (DSPContext *c, AVCodecContext *avctx) |
void | ff_dsputil_init_arm (DSPContext *c, AVCodecContext *avctx) |
void | ff_dsputil_init_ppc (DSPContext *c, AVCodecContext *avctx) |
void | ff_dsputil_init_x86 (DSPContext *c, AVCodecContext *avctx) |
void | ff_dsputil_init_dwt (DSPContext *c) |
Variables | |
uint32_t | ff_square_tab [512] |
DSP utils.
Note, many functions in here may use MMX which trashes the FPU state, it is absolutely necessary to call emms_c() between DSP & float/double code.
Definition in file dsputil.h.
typedef int(* me_cmp_func)(struct MpegEncContext *c, uint8_t *blk1, uint8_t *blk2, int line_size, int h) |
Definition at line 911 of file dsputil.c.
Referenced by avcodec_init().
void ff_dsputil_init | ( | DSPContext * | p, |
AVCodecContext * | avctx | ||
) |
Definition at line 940 of file dsputil.c.
Referenced by avpriv_dsputil_init(), decode_init(), dsputil_init(), dvvideo_encode_init(), ff_ac3_encode_init(), ff_dct_common_init(), ff_h264_decode_init(), ff_h264_set_parameter_from_sps(), main(), mca(), and svq1_encode_init().
void avpriv_dsputil_init | ( | DSPContext * | p, |
AVCodecContext * | avctx | ||
) |
Definition at line 1005 of file dsputil.c.
Referenced by config_input(), config_props(), and init().
attribute_deprecated void dsputil_init | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
int ff_check_alignment | ( | void | ) |
Definition at line 919 of file dsputil.c.
Referenced by encode_thread(), estimate_motion_thread(), ff_dsputil_init(), and mb_var_thread().
void ff_set_cmp | ( | DSPContext * | c, |
me_cmp_func * | cmp, | ||
int | type | ||
) |
Definition at line 373 of file dsputil.c.
Referenced by dvvideo_encode_init(), encode_init(), ff_init_me(), and ff_MPV_encode_init().
void ff_dsputil_init_alpha | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
Definition at line 99 of file dsputil_alpha.c.
Referenced by ff_dsputil_init().
void ff_dsputil_init_arm | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
Definition at line 31 of file dsputil_init_arm.c.
Referenced by ff_dsputil_init().
void ff_dsputil_init_ppc | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
Definition at line 747 of file dsputil_altivec.c.
Referenced by ff_dsputil_init().
void ff_dsputil_init_x86 | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
Referenced by ff_dsputil_init().
void ff_dsputil_init_dwt | ( | DSPContext * | c | ) |
Definition at line 847 of file snow_dwt.c.
Referenced by ff_dsputil_init().
uint32_t ff_square_tab[512] |
Definition at line 37 of file dsputil.c.
Referenced by ff_dsputil_static_init(), pix_norm1(), pix_norm1_c(), sse(), sse16_c(), sse4_c(), and sse8_c().