|
FFmpeg
|
#include "libavutil/opt.h"#include "libavutil/imgutils.h"#include "libavutil/avassert.h"#include "avfilter.h"#include "internal.h"#include "tinterlace.h"Go to the source code of this file.
Macros | |
| #define | OFFSET(x) offsetof(TInterlaceContext, x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
| #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 |
Functions | |
| AVFILTER_DEFINE_CLASS (tinterlace) | |
| AVFILTER_DEFINE_CLASS (interlace) | |
| static int | query_formats (AVFilterContext *ctx) |
| static void | lowpass_line_c (uint8_t *dstp, ptrdiff_t width, const uint8_t *srcp, ptrdiff_t mref, ptrdiff_t pref, int clip_max) |
| static void | lowpass_line_c_16 (uint8_t *dst8, ptrdiff_t width, const uint8_t *src8, ptrdiff_t mref, ptrdiff_t pref, int clip_max) |
| static void | lowpass_line_complex_c (uint8_t *dstp, ptrdiff_t width, const uint8_t *srcp, ptrdiff_t mref, ptrdiff_t pref, int clip_max) |
| static void | lowpass_line_complex_c_16 (uint8_t *dst8, ptrdiff_t width, const uint8_t *src8, ptrdiff_t mref, ptrdiff_t pref, int clip_max) |
| static av_cold void | uninit (AVFilterContext *ctx) |
| static int | config_out_props (AVFilterLink *outlink) |
| static void | copy_picture_field (TInterlaceContext *tinterlace, 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 | init_interlace (AVFilterContext *ctx) |
Variables | |
| static const AVOption | tinterlace_options [] |
| static const AVOption | interlace_options [] |
| static enum AVPixelFormat | full_scale_yuvj_pix_fmts [] |
| static const AVRational | standard_tbs [] |
| static const AVFilterPad | tinterlace_inputs [] |
| static const AVFilterPad | tinterlace_outputs [] |
| AVFilter | ff_vf_tinterlace |
| AVFilter | ff_vf_interlace |
temporal field interlace filter, ported from MPlayer/libmpcodecs
Definition in file vf_tinterlace.c.
| #define OFFSET | ( | x | ) | offsetof(TInterlaceContext, x) |
Definition at line 36 of file vf_tinterlace.c.
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 37 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 77 of file vf_tinterlace.c.
| #define FIELD_UPPER 0 |
Definition at line 299 of file vf_tinterlace.c.
| #define FIELD_LOWER 1 |
Definition at line 300 of file vf_tinterlace.c.
| #define FIELD_UPPER_AND_LOWER 2 |
Definition at line 301 of file vf_tinterlace.c.
| AVFILTER_DEFINE_CLASS | ( | tinterlace | ) |
| AVFILTER_DEFINE_CLASS | ( | interlace | ) |
|
static |
Definition at line 90 of file vf_tinterlace.c.
|
static |
Definition at line 112 of file vf_tinterlace.c.
Referenced by config_out_props().
|
static |
Definition at line 126 of file vf_tinterlace.c.
Referenced by config_out_props().
|
static |
Definition at line 144 of file vf_tinterlace.c.
Referenced by config_out_props().
|
static |
Definition at line 171 of file vf_tinterlace.c.
Referenced by config_out_props().
|
static |
Definition at line 206 of file vf_tinterlace.c.
|
static |
Definition at line 215 of file vf_tinterlace.c.
|
inlinestatic |
Copy picture field from src to dst.
| 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 313 of file vf_tinterlace.c.
Referenced by filter_frame().
|
static |
Definition at line 363 of file vf_tinterlace.c.
|
static |
Definition at line 525 of file vf_tinterlace.c.
|
static |
Definition at line 39 of file vf_tinterlace.c.
|
static |
Definition at line 63 of file vf_tinterlace.c.
|
static |
Definition at line 80 of file vf_tinterlace.c.
Referenced by config_out_props().
|
static |
Definition at line 84 of file vf_tinterlace.c.
Referenced by config_out_props().
|
static |
Definition at line 541 of file vf_tinterlace.c.
|
static |
Definition at line 550 of file vf_tinterlace.c.
| AVFilter ff_vf_tinterlace |
Definition at line 559 of file vf_tinterlace.c.
| AVFilter ff_vf_interlace |
Definition at line 571 of file vf_tinterlace.c.
1.8.17