FFmpeg
|
#include <string.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/avassert.h"
#include "rnd_avg.h"
#include "vp3dsp.h"
Go to the source code of this file.
Macros | |
#define | IdctAdjustBeforeShift 8 |
#define | xC1S7 64277 |
#define | xC2S6 60547 |
#define | xC3S5 54491 |
#define | xC4S4 46341 |
#define | xC5S3 36410 |
#define | xC6S2 25080 |
#define | xC7S1 12785 |
#define | M(a, b) ((int)((SUINT)(a) * (b)) >> 16) |
#define | LOOP_FILTER(prefix, suffix, dim, count) |
Functions | |
static av_always_inline void | idct (uint8_t *dst, ptrdiff_t stride, int16_t *input, int type) |
static av_always_inline void | idct10 (uint8_t *dst, ptrdiff_t stride, int16_t *input, int type) |
void | ff_vp3dsp_idct10_put (uint8_t *dest, ptrdiff_t stride, int16_t *block) |
void | ff_vp3dsp_idct10_add (uint8_t *dest, ptrdiff_t stride, int16_t *block) |
static void | vp3_idct_put_c (uint8_t *dest, ptrdiff_t stride, int16_t *block) |
static void | vp3_idct_add_c (uint8_t *dest, ptrdiff_t stride, int16_t *block) |
static void | vp3_idct_dc_add_c (uint8_t *dest, ptrdiff_t stride, int16_t *block) |
static av_always_inline void | vp3_v_loop_filter_c (uint8_t *first_pixel, ptrdiff_t stride, int *bounding_values, int count) |
static av_always_inline void | vp3_h_loop_filter_c (uint8_t *first_pixel, ptrdiff_t stride, int *bounding_values, int count) |
static | LOOP_FILTER (static LOOP_FILTER(vp3, static LOOP_FILTER(_c, v, 8) |
av_cold void | ff_vp3dsp_init (VP3DSPContext *c, int flags) |
void | ff_vp3dsp_set_bounding_values (int *bounding_values_array, int filter_limit) |
Standard C DSP-oriented functions cribbed from the original VP3 source code.
Definition in file vp3dsp.c.
|
static |
Definition at line 50 of file vp3dsp.c.
Referenced by vp3_idct_add_c(), and vp3_idct_put_c().
|
static |
Definition at line 201 of file vp3dsp.c.
Referenced by ff_vp3dsp_idct10_add(), and ff_vp3dsp_idct10_put().
void ff_vp3dsp_idct10_put | ( | uint8_t * | dest, |
ptrdiff_t | stride, | ||
int16_t * | block | ||
) |
Definition at line 341 of file vp3dsp.c.
Referenced by vp56_idct_put().
void ff_vp3dsp_idct10_add | ( | uint8_t * | dest, |
ptrdiff_t | stride, | ||
int16_t * | block | ||
) |
Definition at line 347 of file vp3dsp.c.
Referenced by vp56_idct_add().
|
static |
Definition at line 353 of file vp3dsp.c.
Referenced by ff_vp3dsp_init().
|
static |
Definition at line 360 of file vp3dsp.c.
Referenced by ff_vp3dsp_init().
|
static |
Definition at line 367 of file vp3dsp.c.
Referenced by ff_vp3dsp_init().
|
static |
|
static |
|
static |
av_cold void ff_vp3dsp_init | ( | VP3DSPContext * | c, |
int | flags | ||
) |
Definition at line 448 of file vp3dsp.c.
Referenced by ff_vp56_init_context(), and vp3_decode_init().
void ff_vp3dsp_set_bounding_values | ( | int * | bounding_values_array, |
int | filter_limit | ||
) |
Definition at line 477 of file vp3dsp.c.
Referenced by ff_vp56_init_dequant(), and init_loop_filter().