|
FFmpeg
|
#include <stdint.h>#include "vf_fsppdsp.h"#include "libavutil/common.h"#include "libavutil/mathematics.h"#include "libavutil/mem_internal.h"Go to the source code of this file.
Macros | |
| #define | DCTSIZE 8 |
| #define | FIX(x, s) (int)((x) * (1 << s) + 0.5) |
| #define | MULTIPLY16H(x, k) (((x) * (k)) >> 16) |
| #define | THRESHOLD(r, x, t) |
| #define | DESCALE(x, n) (((x) + (1 << ((n) - 1))) >> n) |
| #define | STORE(pos) |
| #define | STORE2(pos) |
Typedefs | |
| typedef int32_t | int_simd16_t |
Enumerations | |
| enum | { FIX_0_382683433 = FIX(0.382683433, 14), FIX_0_541196100 = FIX(0.541196100, 14), FIX_0_707106781 = FIX(M_SQRT1_2 , 14), FIX_1_306562965 = FIX(1.306562965, 14), FIX_1_414213562_A = FIX(M_SQRT2 , 14), FIX_1_847759065 = FIX(1.847759065, 13), FIX_2_613125930 = FIX(-2.613125930, 13), FIX_1_414213562 = FIX(M_SQRT2 , 13), FIX_1_082392200 = FIX(1.082392200, 13) } |
Functions | |
| void | ff_store_slice_c (uint8_t *restrict dst, int16_t *restrict src, ptrdiff_t dst_stride, ptrdiff_t src_stride, ptrdiff_t width, ptrdiff_t height, ptrdiff_t log2_scale) |
| void | ff_store_slice2_c (uint8_t *restrict dst, int16_t *restrict src, ptrdiff_t dst_stride, ptrdiff_t src_stride, ptrdiff_t width, ptrdiff_t height, ptrdiff_t log2_scale) |
| void | ff_mul_thrmat_c (const int16_t *restrict thr_adr_noq, int16_t *restrict thr_adr, int q) |
| void | ff_column_fidct_c (const int16_t *restrict thr_adr, const int16_t *restrict data, int16_t *restrict output, int cnt) |
| void | ff_row_idct_c (const int16_t *restrict wsptr, int16_t *restrict output_adr, ptrdiff_t output_stride, int cnt) |
| void | ff_row_fdct_c (int16_t *restrict data, const uint8_t *restrict pixels, ptrdiff_t line_size, int cnt) |
Variables | |
| const uint8_t | ff_fspp_dither [8][8] |
| #define DCTSIZE 8 |
Definition at line 31 of file vf_fsppdsp.c.
Definition at line 33 of file vf_fsppdsp.c.
| #define MULTIPLY16H | ( | x, | |
| k | |||
| ) | (((x) * (k)) >> 16) |
Definition at line 35 of file vf_fsppdsp.c.
| #define THRESHOLD | ( | r, | |
| x, | |||
| t | |||
| ) |
Definition at line 36 of file vf_fsppdsp.c.
| #define DESCALE | ( | x, | |
| n | |||
| ) | (((x) + (1 << ((n) - 1))) >> n) |
Definition at line 39 of file vf_fsppdsp.c.
| #define STORE | ( | pos | ) |
| #define STORE2 | ( | pos | ) |
| typedef int32_t int_simd16_t |
Definition at line 41 of file vf_fsppdsp.c.
| anonymous enum |
| Enumerator | |
|---|---|
| FIX_0_382683433 | |
| FIX_0_541196100 | |
| FIX_0_707106781 | |
| FIX_1_306562965 | |
| FIX_1_414213562_A | |
| FIX_1_847759065 | |
| FIX_2_613125930 | |
| FIX_1_414213562 | |
| FIX_1_082392200 | |
Definition at line 43 of file vf_fsppdsp.c.
| void ff_store_slice_c | ( | uint8_t *restrict | dst, |
| int16_t *restrict | src, | ||
| ptrdiff_t | dst_stride, | ||
| ptrdiff_t | src_stride, | ||
| ptrdiff_t | width, | ||
| ptrdiff_t | height, | ||
| ptrdiff_t | log2_scale | ||
| ) |
Definition at line 67 of file vf_fsppdsp.c.
Referenced by ff_fsppdsp_init().
| void ff_store_slice2_c | ( | uint8_t *restrict | dst, |
| int16_t *restrict | src, | ||
| ptrdiff_t | dst_stride, | ||
| ptrdiff_t | src_stride, | ||
| ptrdiff_t | width, | ||
| ptrdiff_t | height, | ||
| ptrdiff_t | log2_scale | ||
| ) |
Definition at line 96 of file vf_fsppdsp.c.
Referenced by ff_fsppdsp_init().
| void ff_mul_thrmat_c | ( | const int16_t *restrict | thr_adr_noq, |
| int16_t *restrict | thr_adr, | ||
| int | q | ||
| ) |
Definition at line 124 of file vf_fsppdsp.c.
Referenced by ff_fsppdsp_init().
| void ff_column_fidct_c | ( | const int16_t *restrict | thr_adr, |
| const int16_t *restrict | data, | ||
| int16_t *restrict | output, | ||
| int | cnt | ||
| ) |
Definition at line 130 of file vf_fsppdsp.c.
Referenced by ff_fsppdsp_init().
| void ff_row_idct_c | ( | const int16_t *restrict | wsptr, |
| int16_t *restrict | output_adr, | ||
| ptrdiff_t | output_stride, | ||
| int | cnt | ||
| ) |
Definition at line 250 of file vf_fsppdsp.c.
Referenced by ff_fsppdsp_init().
| void ff_row_fdct_c | ( | int16_t *restrict | data, |
| const uint8_t *restrict | pixels, | ||
| ptrdiff_t | line_size, | ||
| int | cnt | ||
| ) |
Definition at line 311 of file vf_fsppdsp.c.
Referenced by ff_fsppdsp_init().
| const uint8_t ff_fspp_dither[8][8] |
Definition at line 55 of file vf_fsppdsp.c.
Referenced by ff_store_slice2_c(), and ff_store_slice_c().
1.8.17