FFmpeg
|
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "h264qpel.h"
#include "mathops.h"
#include "pixels.h"
#include "rnd_avg.h"
#include "rv34dsp.h"
#include "libavutil/avassert.h"
Go to the source code of this file.
Macros | |
#define | RV40_LOWPASS(OPNAME, OP) |
#define | RV40_MC(OPNAME, SIZE) |
#define | op_avg(a, b) a = (((a)+cm[b]+1)>>1) |
#define | op_put(a, b) a = cm[b] |
#define | PIXOP2(OPNAME, OP) |
#define | op_avg(a, b) a = rnd_avg32(a, b) |
#define | op_put(a, b) a = b |
#define | RV40_CHROMA_MC(OPNAME, OP) |
#define | op_avg(a, b) a = (((a)+((b)>>6)+1)>>1) |
#define | op_put(a, b) a = ((b)>>6) |
#define | RV40_WEIGHT_FUNC(size) |
#define | CLIP_SYMM(a, b) av_clip(a, -(b), b) |
Functions | |
static void | put_rv40_qpel16_mc33_c (uint8_t *dst, const uint8_t *src, ptrdiff_t stride) |
static void | avg_rv40_qpel16_mc33_c (uint8_t *dst, const uint8_t *src, ptrdiff_t stride) |
static void | put_rv40_qpel8_mc33_c (uint8_t *dst, const uint8_t *src, ptrdiff_t stride) |
static void | avg_rv40_qpel8_mc33_c (uint8_t *dst, const uint8_t *src, ptrdiff_t stride) |
static av_always_inline void | rv40_weak_loop_filter (uint8_t *src, const int step, const ptrdiff_t stride, const int filter_p1, const int filter_q1, const int alpha, const int beta, const int lim_p0q0, const int lim_q1, const int lim_p1) |
weaker deblocking very similar to the one described in 4.4.2 of JVT-A003r1 More... | |
static void | rv40_h_weak_loop_filter (uint8_t *src, const ptrdiff_t stride, const int filter_p1, const int filter_q1, const int alpha, const int beta, const int lim_p0q0, const int lim_q1, const int lim_p1) |
static void | rv40_v_weak_loop_filter (uint8_t *src, const ptrdiff_t stride, const int filter_p1, const int filter_q1, const int alpha, const int beta, const int lim_p0q0, const int lim_q1, const int lim_p1) |
static av_always_inline void | rv40_strong_loop_filter (uint8_t *src, const int step, const ptrdiff_t stride, const int alpha, const int lims, const int dmode, const int chroma) |
static void | rv40_h_strong_loop_filter (uint8_t *src, const ptrdiff_t stride, const int alpha, const int lims, const int dmode, const int chroma) |
static void | rv40_v_strong_loop_filter (uint8_t *src, const ptrdiff_t stride, const int alpha, const int lims, const int dmode, const int chroma) |
static av_always_inline int | rv40_loop_filter_strength (uint8_t *src, int step, ptrdiff_t stride, int beta, int beta2, int edge, int *p1, int *q1) |
static int | rv40_h_loop_filter_strength (uint8_t *src, ptrdiff_t stride, int beta, int beta2, int edge, int *p1, int *q1) |
static int | rv40_v_loop_filter_strength (uint8_t *src, ptrdiff_t stride, int beta, int beta2, int edge, int *p1, int *q1) |
av_cold void | ff_rv40dsp_init (RV34DSPContext *c) |
Variables | |
static const int | rv40_bias [4][4] |
static const uint8_t | rv40_dither_l [16] |
dither values for deblocking filter - left/top values More... | |
static const uint8_t | rv40_dither_r [16] |
dither values for deblocking filter - right/bottom values More... | |
RV40 decoder motion compensation functions
Definition in file rv40dsp.c.
#define RV40_WEIGHT_FUNC | ( | size | ) |
|
static |
Definition at line 269 of file rv40dsp.c.
Referenced by ff_rv40dsp_init().
|
static |
Definition at line 273 of file rv40dsp.c.
Referenced by ff_rv40dsp_init().
|
static |
Definition at line 277 of file rv40dsp.c.
Referenced by ff_rv40dsp_init().
|
static |
Definition at line 281 of file rv40dsp.c.
Referenced by ff_rv40dsp_init().
|
static |
weaker deblocking very similar to the one described in 4.4.2 of JVT-A003r1
Definition at line 429 of file rv40dsp.c.
Referenced by rv40_h_weak_loop_filter(), and rv40_v_weak_loop_filter().
|
static |
Definition at line 477 of file rv40dsp.c.
Referenced by ff_rv40dsp_init().
|
static |
Definition at line 487 of file rv40dsp.c.
Referenced by ff_rv40dsp_init().
|
static |
Definition at line 497 of file rv40dsp.c.
Referenced by rv40_h_strong_loop_filter(), and rv40_v_strong_loop_filter().
|
static |
Definition at line 555 of file rv40dsp.c.
Referenced by ff_rv40dsp_init().
|
static |
Definition at line 562 of file rv40dsp.c.
Referenced by ff_rv40dsp_init().
|
static |
Definition at line 569 of file rv40dsp.c.
Referenced by rv40_h_loop_filter_strength(), and rv40_v_loop_filter_strength().
|
static |
Definition at line 605 of file rv40dsp.c.
Referenced by ff_rv40dsp_init().
|
static |
Definition at line 612 of file rv40dsp.c.
Referenced by ff_rv40dsp_init().
av_cold void ff_rv40dsp_init | ( | RV34DSPContext * | c | ) |
Definition at line 619 of file rv40dsp.c.
Referenced by rv40_decode_init().
|
static |
|
static |
dither values for deblocking filter - left/top values
Definition at line 412 of file rv40dsp.c.
Referenced by rv40_strong_loop_filter().
|
static |
dither values for deblocking filter - right/bottom values
Definition at line 420 of file rv40dsp.c.
Referenced by rv40_strong_loop_filter().