FFmpeg
|
DSP utils. More...
#include "libavutil/attributes.h"
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "avcodec.h"
#include "copy_block.h"
#include "dct.h"
#include "dsputil.h"
#include "simple_idct.h"
#include "faandct.h"
#include "faanidct.h"
#include "imgconvert.h"
#include "mathops.h"
#include "mpegvideo.h"
#include "config.h"
#include "diracdsp.h"
#include "dsputil_template.c"
Go to the source code of this file.
Macros | |
#define | BIT_DEPTH 16 |
#define | BIT_DEPTH 8 |
#define | pb_7f (~0UL/255 * 0x7f) |
#define | pb_80 (~0UL/255 * 0x80) |
#define | avg2(a, b) ((a+b+1)>>1) |
#define | avg4(a, b, c, d) ((a+b+c+d+2)>>2) |
#define | QPEL_MC(r, OPNAME, RND, OP) |
#define | op_avg(a, b) a = (((a)+cm[((b) + 16)>>5]+1)>>1) |
#define | op_avg_no_rnd(a, b) a = (((a)+cm[((b) + 15)>>5])>>1) |
#define | op_put(a, b) a = cm[((b) + 16)>>5] |
#define | op_put_no_rnd(a, b) a = cm[((b) + 15)>>5] |
#define | put_qpel8_mc00_c ff_put_pixels8x8_c |
#define | avg_qpel8_mc00_c ff_avg_pixels8x8_c |
#define | put_qpel16_mc00_c ff_put_pixels16x16_c |
#define | avg_qpel16_mc00_c ff_avg_pixels16x16_c |
#define | put_no_rnd_qpel8_mc00_c ff_put_pixels8x8_c |
#define | put_no_rnd_qpel16_mc00_c ff_put_pixels16x16_c |
#define | B 0 |
#define | G 1 |
#define | R 2 |
#define | A 3 |
#define | BUTTERFLY2(o1, o2, i1, i2) |
#define | BUTTERFLY1(x, y) |
#define | BUTTERFLYA(x, y) (FFABS((x)+(y)) + FFABS((x)-(y))) |
#define | VSAD_INTRA(size) |
#define | SQ(a) ((a)*(a)) |
#define | VSSE_INTRA(size) |
#define | WRAPPER8_16_SQ(name8, name16) |
#define | dspfunc(PFX, IDX, NUM) |
#define | SET_CMP_FUNC(name) |
#define | FUNC(f, depth) f ## _ ## depth |
#define | FUNCC(f, depth) f ## _ ## depth ## _c |
#define | BIT_DEPTH_FUNCS(depth) c->get_pixels = FUNCC(get_pixels, depth); |
Functions | |
av_cold void | ff_init_scantable (uint8_t *permutation, ScanTable *st, const uint8_t *src_scantable) |
av_cold void | ff_init_scantable_permutation (uint8_t *idct_permutation, int idct_permutation_type) |
static int | pix_sum_c (uint8_t *pix, int line_size) |
static int | pix_norm1_c (uint8_t *pix, int line_size) |
static void | bswap_buf (uint32_t *dst, const uint32_t *src, int w) |
static void | bswap16_buf (uint16_t *dst, const uint16_t *src, int len) |
static int | sse4_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | sse8_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | sse16_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static void | diff_pixels_c (int16_t *av_restrict block, const uint8_t *s1, const uint8_t *s2, int stride) |
static void | put_pixels_clamped_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size) |
static void | put_pixels_clamped4_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size) |
static void | put_pixels_clamped2_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size) |
static void | put_signed_pixels_clamped_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size) |
static void | add_pixels8_c (uint8_t *av_restrict pixels, int16_t *block, int line_size) |
static void | add_pixels_clamped_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size) |
static void | add_pixels_clamped4_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size) |
static void | add_pixels_clamped2_c (const int16_t *block, uint8_t *av_restrict pixels, int line_size) |
static int | sum_abs_dctelem_c (int16_t *block) |
static void | fill_block16_c (uint8_t *block, uint8_t value, int line_size, int h) |
static void | fill_block8_c (uint8_t *block, uint8_t value, int line_size, int h) |
static void | gmc1_c (uint8_t *dst, uint8_t *src, int stride, int h, int x16, int y16, int rounder) |
void | ff_gmc_c (uint8_t *dst, uint8_t *src, int stride, int h, int ox, int oy, int dxx, int dxy, int dyx, int dyy, int shift, int r, int width, int height) |
static void | put_tpel_pixels_mc00_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | put_tpel_pixels_mc10_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | put_tpel_pixels_mc20_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | put_tpel_pixels_mc01_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | put_tpel_pixels_mc11_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | put_tpel_pixels_mc12_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | put_tpel_pixels_mc02_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | put_tpel_pixels_mc21_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | put_tpel_pixels_mc22_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | avg_tpel_pixels_mc00_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | avg_tpel_pixels_mc10_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | avg_tpel_pixels_mc20_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | avg_tpel_pixels_mc01_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | avg_tpel_pixels_mc11_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | avg_tpel_pixels_mc12_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | avg_tpel_pixels_mc02_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | avg_tpel_pixels_mc21_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
static void | avg_tpel_pixels_mc22_c (uint8_t *dst, const uint8_t *src, int stride, int width, int height) |
void | ff_put_pixels8x8_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride) |
void | ff_avg_pixels8x8_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride) |
void | ff_put_pixels16x16_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride) |
void | ff_avg_pixels16x16_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride) |
static void | wmv2_mspel8_h_lowpass (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h) |
static void | wmv2_mspel8_v_lowpass (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w) |
static void | put_mspel8_mc10_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride) |
static void | put_mspel8_mc20_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride) |
static void | put_mspel8_mc30_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride) |
static void | put_mspel8_mc02_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride) |
static void | put_mspel8_mc12_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride) |
static void | put_mspel8_mc32_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride) |
static void | put_mspel8_mc22_c (uint8_t *dst, uint8_t *src, ptrdiff_t stride) |
static int | pix_abs16_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | pix_abs16_x2_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | pix_abs16_y2_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | pix_abs16_xy2_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | pix_abs8_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | pix_abs8_x2_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | pix_abs8_y2_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | pix_abs8_xy2_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
static int | nsse16_c (void *v, uint8_t *s1, uint8_t *s2, int stride, int h) |
static int | nsse8_c (void *v, uint8_t *s1, uint8_t *s2, int stride, int h) |
static int | try_8x8basis_c (int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale) |
static void | add_8x8basis_c (int16_t rem[64], int16_t basis[64], int scale) |
static int | zero_cmp (void *s, uint8_t *a, uint8_t *b, int stride, int h) |
void | ff_set_cmp (DSPContext *c, me_cmp_func *cmp, int type) |
static void | add_bytes_c (uint8_t *dst, uint8_t *src, int w) |
static void | diff_bytes_c (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int w) |
static void | add_hfyu_median_prediction_c (uint8_t *dst, const uint8_t *src1, const uint8_t *diff, int w, int *left, int *left_top) |
static void | sub_hfyu_median_prediction_c (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int w, int *left, int *left_top) |
static int | add_hfyu_left_prediction_c (uint8_t *dst, const uint8_t *src, int w, int acc) |
static void | add_hfyu_left_prediction_bgr32_c (uint8_t *dst, const uint8_t *src, int w, int *red, int *green, int *blue, int *alpha) |
static int | hadamard8_diff8x8_c (void *s, uint8_t *dst, uint8_t *src, int stride, int h) |
static int | hadamard8_intra8x8_c (void *s, uint8_t *src, uint8_t *dummy, int stride, int h) |
static int | dct_sad8x8_c (void *c, uint8_t *src1, uint8_t *src2, int stride, int h) |
static int | dct_max8x8_c (void *c, uint8_t *src1, uint8_t *src2, int stride, int h) |
static int | quant_psnr8x8_c (void *c, uint8_t *src1, uint8_t *src2, int stride, int h) |
static int | rd8x8_c (void *c, uint8_t *src1, uint8_t *src2, int stride, int h) |
static int | bit8x8_c (void *c, uint8_t *src1, uint8_t *src2, int stride, int h) |
static int | vsad16_c (void *c, uint8_t *s1, uint8_t *s2, int stride, int h) |
static int | vsse16_c (void *c, uint8_t *s1, uint8_t *s2, int stride, int h) |
static int | ssd_int8_vs_int16_c (const int8_t *pix1, const int16_t *pix2, int size) |
static uint32_t | clipf_c_one (uint32_t a, uint32_t mini, uint32_t maxi, uint32_t maxisign) |
static void | vector_clipf_c_opposite_sign (float *dst, const float *src, float *min, float *max, int len) |
static void | vector_clipf_c (float *dst, const float *src, float min, float max, int len) |
static int32_t | scalarproduct_int16_c (const int16_t *v1, const int16_t *v2, int order) |
static int32_t | scalarproduct_and_madd_int16_c (int16_t *v1, const int16_t *v2, const int16_t *v3, int order, int mul) |
static void | vector_clip_int32_c (int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len) |
static void | jref_idct_put (uint8_t *dest, int line_size, int16_t *block) |
static void | jref_idct_add (uint8_t *dest, int line_size, int16_t *block) |
static void | ff_jref_idct4_put (uint8_t *dest, int line_size, int16_t *block) |
static void | ff_jref_idct4_add (uint8_t *dest, int line_size, int16_t *block) |
static void | ff_jref_idct2_put (uint8_t *dest, int line_size, int16_t *block) |
static void | ff_jref_idct2_add (uint8_t *dest, int line_size, int16_t *block) |
static void | ff_jref_idct1_put (uint8_t *dest, int line_size, int16_t *block) |
static void | ff_jref_idct1_add (uint8_t *dest, int line_size, int16_t *block) |
av_cold void | ff_dsputil_static_init (void) |
int | ff_check_alignment (void) |
av_cold void | ff_dsputil_init (DSPContext *c, AVCodecContext *avctx) |
av_cold void | dsputil_init (DSPContext *c, AVCodecContext *avctx) |
av_cold void | avpriv_dsputil_init (DSPContext *c, AVCodecContext *avctx) |
Variables | |
uint32_t | ff_squareTbl [512] = {0, } |
const uint8_t | ff_zigzag248_direct [64] |
const uint8_t | ff_alternate_horizontal_scan [64] |
const uint8_t | ff_alternate_vertical_scan [64] |
static const uint8_t | simple_mmx_permutation [64] |
static const uint8_t | idct_sse2_row_perm [8] = {0, 4, 1, 5, 2, 6, 3, 7} |
DSP utils.
Definition in file dsputil.c.
#define pb_7f (~0UL/255 * 0x7f) |
Definition at line 56 of file dsputil.c.
Referenced by add_bytes_c(), and diff_bytes_c().
#define pb_80 (~0UL/255 * 0x80) |
Definition at line 57 of file dsputil.c.
Referenced by add_bytes_c(), and diff_bytes_c().
Definition at line 520 of file dsputil.c.
Referenced by pix_abs16_x2_c(), pix_abs16_y2_c(), pix_abs8_x2_c(), and pix_abs8_y2_c().
Definition at line 521 of file dsputil.c.
Referenced by pix_abs16_xy2_c(), and pix_abs8_xy2_c().
#define put_qpel8_mc00_c ff_put_pixels8x8_c |
#define avg_qpel8_mc00_c ff_avg_pixels8x8_c |
#define put_qpel16_mc00_c ff_put_pixels16x16_c |
#define avg_qpel16_mc00_c ff_avg_pixels16x16_c |
#define put_no_rnd_qpel8_mc00_c ff_put_pixels8x8_c |
#define put_no_rnd_qpel16_mc00_c ff_put_pixels16x16_c |
#define B 0 |
Definition at line 1951 of file dsputil.c.
Referenced by add_hfyu_left_prediction_bgr32_c(), blend_image(), config_output(), filter_frame(), filter_rgb(), filter_slice(), gmc1_c(), and x8_ac_compensation().
#define G 1 |
Definition at line 1952 of file dsputil.c.
Referenced by add_hfyu_left_prediction_bgr32_c(), blend_image(), config_output(), filter_frame(), filter_rgb(), and filter_slice().
#define R 2 |
Definition at line 1953 of file dsputil.c.
Referenced by add_hfyu_left_prediction_bgr32_c(), blend_image(), config_output(), filter_frame(), filter_rgb(), and filter_slice().
#define BUTTERFLY2 | ( | o1, | |
o2, | |||
i1, | |||
i2 | |||
) |
Definition at line 1986 of file dsputil.c.
Referenced by hadamard8_diff8x8_c(), and hadamard8_intra8x8_c().
#define BUTTERFLY1 | ( | x, | |
y | |||
) |
Definition at line 1990 of file dsputil.c.
Referenced by hadamard8_diff8x8_c(), and hadamard8_intra8x8_c().
Definition at line 1999 of file dsputil.c.
Referenced by hadamard8_diff8x8_c(), and hadamard8_intra8x8_c().
#define VSAD_INTRA | ( | size | ) |
#define VSSE_INTRA | ( | size | ) |
#define WRAPPER8_16_SQ | ( | name8, | |
name16 | |||
) |
#define dspfunc | ( | PFX, | |
IDX, | |||
NUM | |||
) |
#define SET_CMP_FUNC | ( | name | ) |
Referenced by ff_dsputil_init().
#define BIT_DEPTH_FUNCS | ( | depth | ) | c->get_pixels = FUNCC(get_pixels, depth); |
Referenced by ff_dsputil_init().
av_cold void ff_init_scantable | ( | uint8_t * | permutation, |
ScanTable * | st, | ||
const uint8_t * | src_scantable | ||
) |
Definition at line 108 of file dsputil.c.
Referenced by aic_decode_init(), decode_frame_header(), decode_init(), decode_vop_header(), dnxhd_init_vlc(), ff_cavs_init(), ff_dct_common_init(), ff_intrax8_common_init(), ff_mjpeg_decode_init(), ff_msmpeg4_common_init(), ff_wmv2_common_init(), fic_decode_init(), jpg_init(), ljpeg_encode_init(), mimic_decode_init(), mpeg_decode_picture_coding_extension(), tgq_decode_init(), and tqi_decode_init().
av_cold void ff_init_scantable_permutation | ( | uint8_t * | idct_permutation, |
int | idct_permutation_type | ||
) |
Definition at line 131 of file dsputil.c.
Referenced by decode_init(), ff_cavs_init(), ff_dsputil_init(), ff_intrax8_common_init(), ff_proresdsp_init(), ff_wmv2_common_init(), tgq_decode_init(), and tqi_decode_init().
|
static |
Definition at line 166 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 188 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 236 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 254 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 260 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 277 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 298 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 328 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 348 of file dsputil.c.
Referenced by ff_dsputil_init(), and jref_idct_put().
|
static |
Definition at line 369 of file dsputil.c.
Referenced by ff_jref_idct4_put().
|
static |
Definition at line 386 of file dsputil.c.
Referenced by ff_jref_idct2_put().
|
static |
Definition at line 401 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 422 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 442 of file dsputil.c.
Referenced by ff_dsputil_init(), and jref_idct_add().
|
static |
Definition at line 462 of file dsputil.c.
Referenced by ff_jref_idct4_add().
|
static |
Definition at line 478 of file dsputil.c.
Referenced by ff_jref_idct2_add().
|
static |
Definition at line 492 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 500 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 510 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 523 of file dsputil.c.
Referenced by ff_dsputil_init().
void ff_gmc_c | ( | uint8_t * | dst, |
uint8_t * | src, | ||
int | stride, | ||
int | h, | ||
int | ox, | ||
int | oy, | ||
int | dxx, | ||
int | dxy, | ||
int | dyx, | ||
int | dyy, | ||
int | shift, | ||
int | r, | ||
int | width, | ||
int | height | ||
) |
Definition at line 546 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 604 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 613 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 624 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 635 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 646 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 657 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 668 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 679 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 690 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 701 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 710 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 721 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 732 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 743 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 754 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 765 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 776 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 787 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1330 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 1354 of file dsputil.c.
Referenced by put_mspel8_mc10_c(), put_mspel8_mc12_c(), put_mspel8_mc20_c(), put_mspel8_mc22_c(), put_mspel8_mc30_c(), and put_mspel8_mc32_c().
|
static |
Definition at line 1436 of file dsputil.c.
Referenced by put_mspel8_mc02_c(), put_mspel8_mc12_c(), put_mspel8_mc22_c(), and put_mspel8_mc32_c().
Definition at line 1465 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1472 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1477 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1484 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1489 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1499 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1509 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 1516 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1544 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1572 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 1602 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 1632 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1652 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1672 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1694 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1716 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1742 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 1768 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 1783 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1791 of file dsputil.c.
Referenced by ff_set_cmp().
void ff_set_cmp | ( | DSPContext * | c, |
me_cmp_func * | cmp, | ||
int | type | ||
) |
Definition at line 1795 of file dsputil.c.
Referenced by encode_init(), ff_dvvideo_init(), ff_init_me(), and ff_MPV_encode_init().
Definition at line 1855 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 1866 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 1891 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 1908 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 1926 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 1956 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 2046 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 2350 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 2384 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 2399 of file dsputil.c.
Referenced by ff_dsputil_init().
|
inlinestatic |
Definition at line 2433 of file dsputil.c.
Referenced by vector_clipf_c_opposite_sign().
|
static |
Definition at line 2442 of file dsputil.c.
Referenced by vector_clipf_c().
|
static |
Definition at line 2460 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 2478 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 2488 of file dsputil.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 2498 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 2514 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 2519 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 2525 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 2530 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 2536 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 2541 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 2547 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 2551 of file dsputil.c.
Referenced by ff_dsputil_init().
Definition at line 2557 of file dsputil.c.
Referenced by avcodec_init().
int ff_check_alignment | ( | void | ) |
Definition at line 2566 of file dsputil.c.
Referenced by encode_thread(), estimate_motion_thread(), ff_dsputil_init(), and mb_var_thread().
av_cold void ff_dsputil_init | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
Definition at line 2586 of file dsputil.c.
Referenced by ac3_decode_init(), aic_decode_init(), ape_decode_init(), avpriv_dsputil_init(), cllc_decode_init(), cook_decode_init(), decode_init(), decoder_init(), dirac_decode_init(), dnxhd_decode_header(), dsputil_init(), encode_init(), ff_ac3_encode_init(), ff_asv_common_init(), ff_cavs_init(), ff_dct_common_init(), ff_dvvideo_init(), ff_h264_decode_init(), ff_huffyuv_common_init(), ff_mjpeg_decode_init(), ffv1_common_init(), fic_decode_init(), flac_encode_init(), h264_set_parameter_from_sps(), hevc_init_context(), imc_decode_init(), jpg_init(), lag_decode_init(), ljpeg_encode_init(), main(), mca(), mimic_decode_init(), mp_decode_init(), mpc7_decode_init(), mpc8_decode_init(), png_enc_init(), ra144_decode_init(), ra144_encode_init(), svq1_encode_init(), tak_decode_init(), tqi_decode_init(), truespeech_decode_init(), utvideo_encode_init(), and vble_decode_init().
av_cold void dsputil_init | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
av_cold void avpriv_dsputil_init | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
Definition at line 2849 of file dsputil.c.
Referenced by config_input(), config_props(), and init().
uint32_t ff_squareTbl[512] = {0, } |
Definition at line 46 of file dsputil.c.
Referenced by ff_dsputil_static_init(), pix_norm1(), pix_norm1_c(), sse(), sse16_c(), sse4_c(), and sse8_c().
const uint8_t ff_zigzag248_direct[64] |
Definition at line 61 of file dsputil.c.
Referenced by dv_init_enc_block(), and ff_dvvideo_init().
const uint8_t ff_alternate_horizontal_scan[64] |
Definition at line 72 of file dsputil.c.
Referenced by decode_vop_header(), and ff_dct_common_init().
const uint8_t ff_alternate_vertical_scan[64] |
Definition at line 83 of file dsputil.c.
Referenced by decode_vop_header(), ff_dct_common_init(), and mpeg_decode_picture_coding_extension().
|
static |
Definition at line 95 of file dsputil.c.
Referenced by ff_init_scantable_permutation().
|
static |
Definition at line 106 of file dsputil.c.
Referenced by ff_init_scantable_permutation().