|
FFmpeg
|
#include "libavutil/pixdesc.h"#include "libavutil/intreadwrite.h"#include "avfilter.h"#include "formats.h"#include "internal.h"#include "video.h"Go to the source code of this file.
Data Structures | |
| struct | Super2xSaIContext |
| struct | ThreadData |
| Used for passing data between threads. More... | |
Macros | |
| #define | GET_RESULT(A, B, C, D) ((A != C || A != D) - (B != C || B != D)) |
| #define | INTERPOLATE(A, B) (((A & hi_pixel_mask) >> 1) + ((B & hi_pixel_mask) >> 1) + (A & B & lo_pixel_mask)) |
| #define | Q_INTERPOLATE(A, B, C, D) |
| #define | READ_COLOR4(dst, src_line, off) dst = *((const uint32_t *)src_line + off) |
| #define | READ_COLOR3(dst, src_line, off) dst = AV_RL24 (src_line + 3*off) |
| #define | READ_COLOR2(dst, src_line, off) dst = s->is_be ? AV_RB16(src_line + 2 * off) : AV_RL16(src_line + 2 * off) |
Functions | |
| static int | super2xsai (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | query_formats (AVFilterContext *ctx) |
| static int | config_input (AVFilterLink *inlink) |
| static int | config_output (AVFilterLink *outlink) |
| static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
Variables | |
| static const AVFilterPad | super2xsai_inputs [] |
| static const AVFilterPad | super2xsai_outputs [] |
| AVFilter | ff_vf_super2xsai |
Super 2xSaI video filter Ported from MPlayer libmpcodecs/vf_2xsai.c.
Definition in file vf_super2xsai.c.
Definition at line 53 of file vf_super2xsai.c.
| #define INTERPOLATE | ( | A, | |
| B | |||
| ) | (((A & hi_pixel_mask) >> 1) + ((B & hi_pixel_mask) >> 1) + (A & B & lo_pixel_mask)) |
Definition at line 55 of file vf_super2xsai.c.
| #define READ_COLOR4 | ( | dst, | |
| src_line, | |||
| off | |||
| ) | dst = *((const uint32_t *)src_line + off) |
| #define READ_COLOR3 | ( | dst, | |
| src_line, | |||
| off | |||
| ) | dst = AV_RL24 (src_line + 3*off) |
| #define READ_COLOR2 | ( | dst, | |
| src_line, | |||
| off | |||
| ) | dst = s->is_be ? AV_RB16(src_line + 2 * off) : AV_RL16(src_line + 2 * off) |
|
static |
Definition at line 60 of file vf_super2xsai.c.
Referenced by filter_frame().
|
static |
Definition at line 248 of file vf_super2xsai.c.
|
static |
Definition at line 264 of file vf_super2xsai.c.
|
static |
Definition at line 308 of file vf_super2xsai.c.
|
static |
Definition at line 322 of file vf_super2xsai.c.
|
static |
Definition at line 343 of file vf_super2xsai.c.
|
static |
Definition at line 353 of file vf_super2xsai.c.
| AVFilter ff_vf_super2xsai |
Definition at line 362 of file vf_super2xsai.c.
1.8.17