|
FFmpeg
|
#include "libavcodec/rv34dsp.h"#include "libavutil/attributes.h"#include "libavutil/mem_internal.h"#include "libavutil/x86/cpu.h"#include "hpeldsp.h"Go to the source code of this file.
Macros | |
| #define | DEFINE_FN(op, size, insn) |
| #define | DECLARE_WEIGHT(opt) |
| #define | LOOPSIZE 8 |
| #define | HCOFF(x) (32 * ((x) - 1)) |
| #define | VCOFF(x) (32 * ((x) - 1)) |
| #define | LOOPSIZE 8 |
| #define | HCOFF(x) (64 * ((x) - 1)) |
| #define | VCOFF(x) (64 * ((x) - 1)) |
| #define | CHROMA_MC_FUNC(OP, SIZE, XMM) |
| #define | QPEL_FUNC_DECL(OP, SIZE, PH, PV, OPT) |
| Define one qpel function. More... | |
| #define | QPEL_FUNCS_DECL(OP, PH, PV, OPT) |
| Declare functions for sizes 8 and 16 and given operations and qpel position. More... | |
| #define | QPEL_MC_DECL(OP, OPT) |
| Declare all functions for all sizes and qpel positions. More... | |
| #define | QPEL_FUNC_SET(OP, SIZE, PH, PV, OPT) c-> OP ## pixels_tab[2 - SIZE / 8][4 * PV + PH] = OP ## rv40_qpel ##SIZE ## _mc ##PH ##PV ##OPT; |
| Set one function. More... | |
| #define | QPEL_FUNCS_SET(OP, PH, PV, OPT) |
| Set functions put and avg for sizes 8 and 16 and a given qpel position. More... | |
| #define | QPEL_MC_SET(OP, OPT) |
| Set all functions for all sizes and qpel positions. More... | |
Functions | |
| av_cold void | ff_rv40dsp_init_x86 (RV34DSPContext *c) |
RV40 decoder motion compensation functions x86-optimised 2,0 and 0,2 have h264 equivalents. 3,3 is bugged in the rv40 format and maps to _xy2 version
Definition in file rv40dsp_init.c.
| #define DECLARE_WEIGHT | ( | opt | ) |
Definition at line 42 of file rv40dsp_init.c.
Define one qpel function.
LOOPSIZE must be already set to the number of pixels processed per iteration in the inner loop of the called functions. COFF(x) must be already defined so as to provide the offset into any array of coeffs used by the called function for the qpel position x.
Definition at line 62 of file rv40dsp_init.c.
Declare functions for sizes 8 and 16 and given operations and qpel position.
Definition at line 92 of file rv40dsp_init.c.
Declare all functions for all sizes and qpel positions.
Definition at line 97 of file rv40dsp_init.c.
| #define LOOPSIZE 8 |
Definition at line 129 of file rv40dsp_init.c.
| #define HCOFF | ( | x | ) | (32 * ((x) - 1)) |
Definition at line 130 of file rv40dsp_init.c.
| #define VCOFF | ( | x | ) | (32 * ((x) - 1)) |
Definition at line 131 of file rv40dsp_init.c.
| #define LOOPSIZE 8 |
Definition at line 129 of file rv40dsp_init.c.
| #define HCOFF | ( | x | ) | (64 * ((x) - 1)) |
Definition at line 130 of file rv40dsp_init.c.
| #define VCOFF | ( | x | ) | (64 * ((x) - 1)) |
Definition at line 131 of file rv40dsp_init.c.
| #define QPEL_FUNC_SET | ( | OP, | |
| SIZE, | |||
| PH, | |||
| PV, | |||
| OPT | |||
| ) | c-> OP ## pixels_tab[2 - SIZE / 8][4 * PV + PH] = OP ## rv40_qpel ##SIZE ## _mc ##PH ##PV ##OPT; |
Set one function.
Definition at line 137 of file rv40dsp_init.c.
Set functions put and avg for sizes 8 and 16 and a given qpel position.
Definition at line 141 of file rv40dsp_init.c.
Set all functions for all sizes and qpel positions.
Definition at line 146 of file rv40dsp_init.c.
| av_cold void ff_rv40dsp_init_x86 | ( | RV34DSPContext * | c | ) |
Definition at line 176 of file rv40dsp_init.c.
Referenced by ff_rv40dsp_init().
1.8.17