FFmpeg
|
temporal field interlace filter, ported from MPlayer/libmpcodecs More...
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "libavutil/avassert.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | TInterlaceContext |
Macros | |
#define | OFFSET(x) offsetof(TInterlaceContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | TINTERLACE_FLAG_VLPF 01 |
#define | FULL_SCALE_YUVJ_FORMATS AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ440P |
#define | FIELD_UPPER 0 |
#define | FIELD_LOWER 1 |
#define | FIELD_UPPER_AND_LOWER 2 |
Enumerations | |
enum | TInterlaceMode { MODE_MERGE = 0, MODE_DROP_EVEN, MODE_DROP_ODD, MODE_PAD, MODE_INTERLEAVE_TOP, MODE_INTERLEAVE_BOTTOM, MODE_INTERLACEX2, MODE_NB } |
Functions | |
AVFILTER_DEFINE_CLASS (tinterlace) | |
static int | query_formats (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | config_out_props (AVFilterLink *outlink) |
static void | copy_picture_field (uint8_t *dst[4], int dst_linesize[4], const uint8_t *src[4], int src_linesize[4], enum AVPixelFormat format, int w, int src_h, int src_field, int interleave, int dst_field, int flags) |
Copy picture field from src to dst. More... | |
static int | filter_frame (AVFilterLink *inlink, AVFrame *picref) |
static int | request_frame (AVFilterLink *outlink) |
Variables | |
static const AVOption | tinterlace_options [] |
static enum AVPixelFormat | full_scale_yuvj_pix_fmts [] |
static const AVFilterPad | tinterlace_inputs [] |
static const AVFilterPad | tinterlace_outputs [] |
AVFilter | avfilter_vf_tinterlace |
Detailed Description
temporal field interlace filter, ported from MPlayer/libmpcodecs
Definition in file vf_tinterlace.c.
Macro Definition Documentation
#define FIELD_LOWER 1 |
Definition at line 153 of file vf_tinterlace.c.
Referenced by copy_picture_field(), and filter_frame().
#define FIELD_UPPER 0 |
Definition at line 152 of file vf_tinterlace.c.
Referenced by filter_frame().
#define FIELD_UPPER_AND_LOWER 2 |
Definition at line 154 of file vf_tinterlace.c.
Referenced by copy_picture_field(), and filter_frame().
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 58 of file vf_tinterlace.c.
#define FULL_SCALE_YUVJ_FORMATS AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ440P |
Definition at line 80 of file vf_tinterlace.c.
Referenced by query_formats().
#define OFFSET | ( | x | ) | offsetof(TInterlaceContext, x) |
Definition at line 57 of file vf_tinterlace.c.
#define TINTERLACE_FLAG_VLPF 01 |
Definition at line 59 of file vf_tinterlace.c.
Referenced by config_out_props(), and copy_picture_field().
Enumeration Type Documentation
enum TInterlaceMode |
Enumerator | |
---|---|
MODE_MERGE | |
MODE_DROP_EVEN | |
MODE_DROP_ODD | |
MODE_PAD | |
MODE_INTERLEAVE_TOP | |
MODE_INTERLEAVE_BOTTOM | |
MODE_INTERLACEX2 | |
MODE_NB |
Definition at line 34 of file vf_tinterlace.c.
Function Documentation
AVFILTER_DEFINE_CLASS | ( | tinterlace | ) |
|
static |
Definition at line 109 of file vf_tinterlace.c.
|
inlinestatic |
Copy picture field from src to dst.
- Parameters
-
src_field copy from upper, lower field or both interleave leave a padding line between each copied line dst_field copy to upper or lower field, only meaningful when interleave is selected flags context flags
Definition at line 166 of file vf_tinterlace.c.
Referenced by filter_frame().
|
static |
Definition at line 218 of file vf_tinterlace.c.
|
static |
Definition at line 87 of file vf_tinterlace.c.
|
static |
Definition at line 354 of file vf_tinterlace.c.
|
static |
Definition at line 100 of file vf_tinterlace.c.
Variable Documentation
AVFilter avfilter_vf_tinterlace |
Definition at line 388 of file vf_tinterlace.c.
|
static |
Definition at line 83 of file vf_tinterlace.c.
Referenced by config_out_props().
|
static |
Definition at line 369 of file vf_tinterlace.c.
|
static |
Definition at line 61 of file vf_tinterlace.c.
|
static |
Definition at line 378 of file vf_tinterlace.c.
Generated on Mon Nov 18 2024 06:52:10 for FFmpeg by 1.8.11