FFmpeg
|
IntraX8 frame subdecoder image manipulation routines. More...
Go to the source code of this file.
Macros | |
#define | area1 (0) |
#define | area2 (8) |
#define | area3 (8 + 8) |
#define | area4 (8 + 8 + 1) |
#define | area5 (8 + 8 + 1 + 8) |
#define | area6 (8 + 8 + 1 + 16) |
Functions | |
static void | x8_setup_spatial_compensation (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride, int *range, int *psum, int edges) |
Collect statistics and prepare the edge pixels required by the other spatial compensation functions. More... | |
static void | spatial_compensation_0 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | spatial_compensation_1 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | spatial_compensation_2 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | spatial_compensation_3 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | spatial_compensation_4 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | spatial_compensation_5 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | spatial_compensation_6 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | spatial_compensation_7 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | spatial_compensation_8 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | spatial_compensation_9 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | spatial_compensation_10 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | spatial_compensation_11 (const uint8_t *restrict src, uint8_t *restrict dst, ptrdiff_t stride) |
static void | x8_loop_filter (uint8_t *ptr, const ptrdiff_t a_stride, const ptrdiff_t b_stride, int quant) |
static void | x8_h_loop_filter (uint8_t *src, ptrdiff_t stride, int qscale) |
static void | x8_v_loop_filter (uint8_t *src, ptrdiff_t stride, int qscale) |
av_cold void | ff_intrax8dsp_init (IntraX8DSPContext *dsp) |
Variables | |
static const uint16_t | zero_prediction_weights [64 *2] |
IntraX8 frame subdecoder image manipulation routines.
Definition in file intrax8dsp.c.
#define area1 (0) |
Definition at line 44 of file intrax8dsp.c.
#define area2 (8) |
Definition at line 45 of file intrax8dsp.c.
#define area3 (8 + 8) |
Definition at line 46 of file intrax8dsp.c.
#define area4 (8 + 8 + 1) |
Definition at line 47 of file intrax8dsp.c.
#define area5 (8 + 8 + 1 + 8) |
Definition at line 48 of file intrax8dsp.c.
#define area6 (8 + 8 + 1 + 16) |
Definition at line 49 of file intrax8dsp.c.
|
static |
Collect statistics and prepare the edge pixels required by the other spatial compensation functions.
src | pointer to the beginning of the processed block |
dst | pointer to emu_edge, edge pixels are stored the way other compensation routines do. |
linesize | byte offset between 2 vertical pixels in the source image |
range | pointer to the variable where the edge pixel range is to be stored (max-min values) |
psum | pointer to the variable where the edge pixel sum is to be stored |
edges | Informs this routine that the block is on an image border, so it has to interpolate the missing edge pixels. and some of the edge pixels should be interpolated, the flag has the following meaning: 1 - mb_x==0 - first block in the row, interpolate area #1,#2,#3; 2 - mb_y==0 - first row, interpolate area #3,#4,#5,#6; note: 1|2 - mb_x==mb_y==0 - first block, use 0x80 value for all areas; 4 - mb_x>= (mb_width-1) last block in the row, interpolate area #5; |
Definition at line 66 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 165 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 217 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 228 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 236 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 244 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 255 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 270 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 278 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 293 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 304 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 315 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 326 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 337 of file intrax8dsp.c.
Referenced by x8_h_loop_filter(), and x8_v_loop_filter().
|
static |
Definition at line 431 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
|
static |
Definition at line 436 of file intrax8dsp.c.
Referenced by ff_intrax8dsp_init().
av_cold void ff_intrax8dsp_init | ( | IntraX8DSPContext * | dsp | ) |
Definition at line 441 of file intrax8dsp.c.
Referenced by ff_intrax8_common_init().
|
static |
Definition at line 146 of file intrax8dsp.c.
Referenced by spatial_compensation_0().