#include <stdint.h>
#include "libavutil/attributes.h"
#include "avcodec.h"
#include "vp56dsp.h"
#include "libavutil/common.h"
Go to the source code of this file.
#define VP56_EDGE_FILTER |
( |
|
pfx, |
|
|
|
suf, |
|
|
|
pix_inc, |
|
|
|
line_inc |
|
) |
| |
Value:static void pfx##_edge_filter_##suf(
uint8_t *yuv,
int stride,
int t) \
{ \
int pix2_inc = 2 * pix_inc; \
v = (yuv[-pix2_inc] + 3*(yuv[0]-yuv[-pix_inc]) - yuv[pix_inc] + 4)>>3;
\
v = pfx##_adjust(v, t); \
yuv[-pix_inc] = av_clip_uint8(yuv[-pix_inc] + v); \
yuv[0] = av_clip_uint8(yuv[0] - v); \
yuv += line_inc; \
} \
}
GLint GLenum GLboolean GLsizei stride
Definition at line 60 of file vp56dsp.c.
static int vp5_adjust |
( |
int |
v, |
|
|
int |
t |
|
) |
| |
|
static |
static int vp6_adjust |
( |
int |
v, |
|
|
int |
t |
|
) |
| |
|
static |