Libav
|
video field order filter, heavily influenced by vf_pad.c More...
#include <stdio.h>
#include <string.h>
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | FieldOrderContext |
Macros | |
#define | OFFSET(x) offsetof(FieldOrderContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
Variables | |
static const AVOption | options [] |
static const AVClass | fieldorder_class |
static const AVFilterPad | avfilter_vf_fieldorder_inputs [] |
static const AVFilterPad | avfilter_vf_fieldorder_outputs [] |
AVFilter | ff_vf_fieldorder |
video field order filter, heavily influenced by vf_pad.c
Definition in file vf_fieldorder.c.
#define OFFSET | ( | x) | offsetof(FieldOrderContext, x) |
Definition at line 148 of file vf_fieldorder.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 149 of file vf_fieldorder.c.
|
static |
accept any input pixel format that is not hardware accelerated, not a bitstream format, and does not have vertically sub-sampled chroma
Definition at line 44 of file vf_fieldorder.c.
|
static |
full an array with the number of bytes that the video data occupies per line for each plane of the input video
Definition at line 71 of file vf_fieldorder.c.
|
static |
Move every line up one line, working from the top to the bottom of the frame. The original top line is lost. The new last line is created as a copy of the penultimate line from that field.
Move every line down one line, working from the bottom to the top of the frame. The original bottom line is lost. The new first line is created as a copy of the second line from that field.
Definition at line 87 of file vf_fieldorder.c.
|
static |
Definition at line 150 of file vf_fieldorder.c.
|
static |
Definition at line 157 of file vf_fieldorder.c.
|
static |
Definition at line 164 of file vf_fieldorder.c.
|
static |
Definition at line 175 of file vf_fieldorder.c.
AVFilter ff_vf_fieldorder |
Definition at line 183 of file vf_fieldorder.c.