FFmpeg
|
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "diracdsp.h"
Go to the source code of this file.
Macros | |
#define | FILTER(src, stride) |
#define | PIXOP_BILINEAR(PFX, OP, WIDTH) |
#define | OP_PUT(dst, val) (dst) = (val) |
#define | OP_AVG(dst, val) (dst) = (((dst) + (val) + 1)>>1) |
#define | op_scale1(x) block[x] = av_clip_uint8( (block[x]*weight + (1<<(log2_denom-1))) >> log2_denom) |
#define | op_scale2(x) dst[x] = av_clip_uint8( (src[x]*weights + dst[x]*weightd + (1<<(log2_denom-1))) >> log2_denom) |
#define | DIRAC_WEIGHT(W) |
#define | ADD_OBMC(xblen) |
#define | PUT_SIGNED_RECT_CLAMPED(PX) |
#define | DEQUANT_SUBBAND(PX) |
#define | PIXFUNC(PFX, WIDTH) |
Functions | |
static void | dirac_hpel_filter (uint8_t *dsth, uint8_t *dstv, uint8_t *dstc, const uint8_t *src, int stride, int width, int height) |
static void | put_signed_rect_clamped_8bit_c (uint8_t *dst, int dst_stride, const uint8_t *_src, int src_stride, int width, int height) |
static void | add_rect_clamped_c (uint8_t *dst, const uint16_t *src, int stride, const int16_t *idwt, int idwt_stride, int width, int height) |
av_cold void | ff_diracdsp_init (DiracDSPContext *c) |
Definition at line 54 of file diracdsp.c.
Definition at line 77 of file diracdsp.c.
Definition at line 78 of file diracdsp.c.
#define op_scale1 | ( | x | ) | block[x] = av_clip_uint8( (block[x]*weight + (1<<(log2_denom-1))) >> log2_denom) |
Definition at line 87 of file diracdsp.c.
#define op_scale2 | ( | x | ) | dst[x] = av_clip_uint8( (src[x]*weights + dst[x]*weightd + (1<<(log2_denom-1))) >> log2_denom) |
Definition at line 88 of file diracdsp.c.
#define DIRAC_WEIGHT | ( | W | ) |
Definition at line 90 of file diracdsp.c.
#define ADD_OBMC | ( | xblen | ) |
Definition at line 119 of file diracdsp.c.
#define PUT_SIGNED_RECT_CLAMPED | ( | PX | ) |
Definition at line 155 of file diracdsp.c.
#define DEQUANT_SUBBAND | ( | PX | ) |
#define PIXFUNC | ( | PFX, | |
WIDTH | |||
) |
Definition at line 215 of file diracdsp.c.
|
static |
Definition at line 32 of file diracdsp.c.
Referenced by ff_diracdsp_init().
|
static |
Definition at line 139 of file diracdsp.c.
Referenced by ff_diracdsp_init().
|
static |
Definition at line 177 of file diracdsp.c.
Referenced by ff_diracdsp_init().
av_cold void ff_diracdsp_init | ( | DiracDSPContext * | c | ) |
Definition at line 221 of file diracdsp.c.
Referenced by dirac_decode_init().