#include "config.h"
#include <inttypes.h>
#include "libavcodec/dsputil.h"
#include "dsputil_vis.h"
#include "vis.h"
Go to the source code of this file.
Defines | |
#define | DUP4(x) {x, x, x, x} |
#define | DUP8(x) {x, x, x, x, x, x, x, x} |
#define | REF_0 0 |
#define | REF_0_1 1 |
#define | REF_2 2 |
#define | REF_2_1 3 |
#define | REF_4 4 |
#define | REF_4_1 5 |
#define | REF_6 6 |
#define | REF_6_1 7 |
#define | REF_S0 8 |
#define | REF_S0_1 9 |
#define | REF_S2 10 |
#define | REF_S2_1 11 |
#define | REF_S4 12 |
#define | REF_S4_1 13 |
#define | REF_S6 14 |
#define | REF_S6_1 15 |
#define | DST_0 16 |
#define | DST_1 17 |
#define | DST_2 18 |
#define | DST_3 19 |
#define | CONST_1 20 |
#define | CONST_2 20 |
#define | CONST_3 20 |
#define | CONST_6 20 |
#define | MASK_fe 20 |
#define | CONST_128 22 |
#define | CONST_256 22 |
#define | CONST_512 22 |
#define | CONST_1024 22 |
#define | TMP0 24 |
#define | TMP1 25 |
#define | TMP2 26 |
#define | TMP3 27 |
#define | TMP4 28 |
#define | TMP5 29 |
#define | ZERO 30 |
#define | MASK_7f 30 |
#define | TMP6 32 |
#define | TMP8 34 |
#define | TMP10 36 |
#define | TMP12 38 |
#define | TMP14 40 |
#define | TMP16 42 |
#define | TMP18 44 |
#define | TMP20 46 |
#define | TMP22 48 |
#define | TMP24 50 |
#define | TMP26 52 |
#define | TMP28 54 |
#define | TMP30 56 |
#define | TMP32 58 |
#define | ACCEL_SPARC_VIS 1 |
#define | ACCEL_SPARC_VIS2 2 |
Functions | |
static void | MC_put_o_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_o_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_o_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_o_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_x_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_x_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_x_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_x_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_y_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_y_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_y_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_y_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_xy_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_xy_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_xy_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_xy_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_no_round_o_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_no_round_o_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_no_round_o_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_no_round_o_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_no_round_x_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_no_round_x_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_no_round_x_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_no_round_x_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_no_round_y_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_no_round_y_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_no_round_y_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_no_round_y_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_no_round_xy_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_put_no_round_xy_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_no_round_xy_16_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static void | MC_avg_no_round_xy_8_vis (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
static int | vis_level (void) |
void | dsputil_init_vis (DSPContext *c, AVCodecContext *avctx) |
Variables | |
static const int16_t | constants1 [] = DUP4 (1) |
static const int16_t | constants2 [] = DUP4 (2) |
static const int16_t | constants3 [] = DUP4 (3) |
static const int16_t | constants6 [] = DUP4 (6) |
static const int8_t | constants_fe [] = DUP8 (0xfe) |
static const int8_t | constants_7f [] = DUP8 (0x7f) |
static const int8_t | constants128 [] = DUP8 (128) |
static const int16_t | constants256_512 [] |
static const int16_t | constants256_1024 [] |
#define ACCEL_SPARC_VIS 1 |
#define ACCEL_SPARC_VIS2 2 |
#define CONST_1 20 |
Definition at line 88 of file dsputil_vis.c.
Referenced by MC_put_no_round_xy_16_vis(), and MC_put_no_round_xy_8_vis().
#define CONST_1024 22 |
Definition at line 96 of file dsputil_vis.c.
Referenced by MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_xy_16_vis(), and MC_avg_xy_8_vis().
#define CONST_128 22 |
Definition at line 93 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
#define CONST_2 20 |
Definition at line 89 of file dsputil_vis.c.
Referenced by MC_put_no_round_xy_16_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define CONST_256 22 |
Definition at line 94 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define CONST_3 20 |
Definition at line 90 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_y_16_vis(), and MC_avg_y_8_vis().
#define CONST_512 22 |
Definition at line 95 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_y_16_vis(), and MC_avg_y_8_vis().
#define CONST_6 20 |
Definition at line 91 of file dsputil_vis.c.
Referenced by MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_xy_16_vis(), and MC_avg_xy_8_vis().
#define DST_0 16 |
Definition at line 84 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_no_round_y_8_vis(), MC_put_x_8_vis(), MC_put_xy_16_vis(), MC_put_xy_8_vis(), and MC_put_y_8_vis().
#define DST_1 17 |
Definition at line 85 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define DST_2 18 |
Definition at line 86 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define DST_3 19 |
Definition at line 87 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define DUP4 | ( | x | ) | {x, x, x, x} |
Definition at line 54 of file dsputil_vis.c.
#define DUP8 | ( | x | ) | {x, x, x, x, x, x, x, x} |
Definition at line 55 of file dsputil_vis.c.
#define MASK_7f 30 |
Definition at line 104 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
#define MASK_fe 20 |
Definition at line 92 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
#define REF_0 0 |
Definition at line 68 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_o_16_vis(), MC_put_no_round_o_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_o_16_vis(), MC_put_o_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_xy_16_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
#define REF_0_1 1 |
Definition at line 69 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), and MC_put_xy_16_vis().
#define REF_2 2 |
Definition at line 70 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_o_16_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_o_16_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_xy_16_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
#define REF_2_1 3 |
Definition at line 71 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), and MC_put_xy_16_vis().
#define REF_4 4 |
Definition at line 72 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_y_16_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_y_16_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_y_16_vis(), MC_put_x_16_vis(), MC_put_xy_16_vis(), and MC_put_y_16_vis().
#define REF_4_1 5 |
Definition at line 73 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_y_16_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_y_16_vis(), MC_put_no_round_xy_16_vis(), and MC_put_xy_16_vis().
#define REF_6 6 |
Definition at line 74 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_y_16_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_y_16_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_y_16_vis(), MC_put_x_16_vis(), MC_put_xy_16_vis(), and MC_put_y_16_vis().
#define REF_6_1 7 |
Definition at line 75 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_y_16_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_y_16_vis(), MC_put_no_round_xy_16_vis(), and MC_put_xy_16_vis().
#define REF_S0 8 |
Definition at line 76 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define REF_S0_1 9 |
Definition at line 77 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define REF_S2 10 |
Definition at line 78 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define REF_S2_1 11 |
Definition at line 79 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define REF_S4 12 |
Definition at line 80 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define REF_S4_1 13 |
Definition at line 81 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define REF_S6 14 |
Definition at line 82 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define REF_S6_1 15 |
Definition at line 83 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define TMP0 24 |
Definition at line 97 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_o_16_vis(), MC_put_no_round_o_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_o_16_vis(), MC_put_o_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_xy_16_vis(), MC_put_xy_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
#define TMP1 25 |
Definition at line 98 of file dsputil_vis.c.
#define TMP10 36 |
Definition at line 108 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_no_round_y_16_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_xy_16_vis(), MC_put_xy_8_vis(), and MC_put_y_16_vis().
#define TMP12 38 |
Definition at line 109 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_xy_16_vis(), MC_put_xy_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
#define TMP14 40 |
Definition at line 110 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_xy_16_vis(), MC_put_xy_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
#define TMP16 42 |
Definition at line 111 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_y_16_vis(), MC_put_x_16_vis(), MC_put_xy_16_vis(), and MC_put_y_16_vis().
#define TMP18 44 |
Definition at line 112 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_no_round_y_16_vis(), MC_put_x_16_vis(), MC_put_xy_16_vis(), MC_put_xy_8_vis(), and MC_put_y_16_vis().
#define TMP2 26 |
Definition at line 99 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_o_16_vis(), MC_put_no_round_o_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_o_16_vis(), MC_put_o_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_xy_16_vis(), MC_put_xy_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
#define TMP20 46 |
Definition at line 113 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_no_round_y_16_vis(), MC_put_xy_16_vis(), MC_put_xy_8_vis(), and MC_put_y_16_vis().
#define TMP22 48 |
Definition at line 114 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define TMP24 50 |
Definition at line 115 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define TMP26 52 |
Definition at line 116 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
#define TMP28 54 |
Definition at line 117 of file dsputil_vis.c.
Referenced by MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_put_no_round_xy_8_vis(), and MC_put_xy_8_vis().
#define TMP3 27 |
Definition at line 100 of file dsputil_vis.c.
#define TMP30 56 |
Definition at line 118 of file dsputil_vis.c.
Referenced by MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_put_no_round_xy_8_vis(), and MC_put_xy_8_vis().
#define TMP32 58 |
Definition at line 119 of file dsputil_vis.c.
Referenced by MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_put_no_round_xy_8_vis(), and MC_put_xy_8_vis().
#define TMP4 28 |
Definition at line 101 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_o_16_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_o_16_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_xy_16_vis(), MC_put_xy_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
#define TMP5 29 |
Definition at line 102 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_8_vis(), and MC_avg_x_8_vis().
#define TMP6 32 |
Definition at line 106 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_xy_16_vis(), MC_put_xy_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
#define TMP8 34 |
Definition at line 107 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_o_16_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_no_round_y_16_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_xy_16_vis(), MC_put_xy_8_vis(), and MC_put_y_16_vis().
#define ZERO 30 |
Definition at line 103 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_xy_16_vis(), MC_avg_xy_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
void dsputil_init_vis | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
static void MC_avg_no_round_o_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_no_round_o_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_no_round_x_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_no_round_x_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_no_round_xy_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_no_round_xy_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_no_round_y_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_no_round_y_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_o_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_o_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_x_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_x_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_xy_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_xy_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_y_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_avg_y_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_no_round_o_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_no_round_o_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_no_round_x_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_no_round_x_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_no_round_xy_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_no_round_xy_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_no_round_y_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_no_round_y_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_o_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_o_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_x_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_x_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_xy_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_xy_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_y_16_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static void MC_put_y_8_vis | ( | uint8_t * | dest, | |
const uint8_t * | ref, | |||
const int | stride, | |||
int | height | |||
) | [static] |
static int vis_level | ( | void | ) | [static] |
const int16_t constants1[] = DUP4 (1) [static] |
Definition at line 56 of file dsputil_vis.c.
Referenced by MC_put_no_round_xy_16_vis(), and MC_put_no_round_xy_8_vis().
const int8_t constants128[] = DUP8 (128) [static] |
Definition at line 62 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
const int16_t constants2[] = DUP4 (2) [static] |
Definition at line 57 of file dsputil_vis.c.
Referenced by MC_put_xy_16_vis(), and MC_put_xy_8_vis().
const int16_t constants256_1024[] [static] |
Initial value:
{256, 1024, 256, 1024}
Definition at line 65 of file dsputil_vis.c.
Referenced by MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_xy_16_vis(), and MC_avg_xy_8_vis().
const int16_t constants256_512[] [static] |
Initial value:
{256, 512, 256, 512}
Definition at line 63 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_y_16_vis(), MC_avg_y_8_vis(), MC_put_no_round_xy_16_vis(), MC_put_no_round_xy_8_vis(), MC_put_xy_16_vis(), and MC_put_xy_8_vis().
const int16_t constants3[] = DUP4 (3) [static] |
Definition at line 58 of file dsputil_vis.c.
Referenced by MC_avg_no_round_x_16_vis(), MC_avg_no_round_x_8_vis(), MC_avg_no_round_y_16_vis(), MC_avg_no_round_y_8_vis(), MC_avg_x_16_vis(), MC_avg_x_8_vis(), MC_avg_y_16_vis(), and MC_avg_y_8_vis().
const int16_t constants6[] = DUP4 (6) [static] |
Definition at line 59 of file dsputil_vis.c.
Referenced by MC_avg_no_round_xy_16_vis(), MC_avg_no_round_xy_8_vis(), MC_avg_xy_16_vis(), and MC_avg_xy_8_vis().
const int8_t constants_7f[] = DUP8 (0x7f) [static] |
Definition at line 61 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().
const int8_t constants_fe[] = DUP8 (0xfe) [static] |
Definition at line 60 of file dsputil_vis.c.
Referenced by MC_avg_no_round_o_16_vis(), MC_avg_no_round_o_8_vis(), MC_avg_o_16_vis(), MC_avg_o_8_vis(), MC_put_no_round_x_16_vis(), MC_put_no_round_x_8_vis(), MC_put_no_round_y_16_vis(), MC_put_no_round_y_8_vis(), MC_put_x_16_vis(), MC_put_x_8_vis(), MC_put_y_16_vis(), and MC_put_y_8_vis().