FFmpeg
4.3.9
|
Generate a frame packed video, by combining two views in a single surface. More...
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/rational.h"
#include "libavutil/stereo3d.h"
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | FramepackContext |
Macros | |
#define | LEFT 0 |
#define | RIGHT 1 |
#define | OFFSET(x) offsetof(FramepackContext, x) |
#define | VF AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static av_cold void | framepack_uninit (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static void | horizontal_frame_pack (AVFilterLink *outlink, AVFrame *out, int interleaved) |
static void | vertical_frame_pack (AVFilterLink *outlink, AVFrame *out, int interleaved) |
static av_always_inline void | spatial_frame_pack (AVFilterLink *outlink, AVFrame *dst) |
static int | try_push_frame (AVFilterContext *ctx) |
static int | activate (AVFilterContext *ctx) |
AVFILTER_DEFINE_CLASS (framepack) | |
Variables | |
static enum AVPixelFormat | formats_supported [] |
static const AVOption | framepack_options [] |
static const AVFilterPad | framepack_inputs [] |
static const AVFilterPad | framepack_outputs [] |
AVFilter | ff_vf_framepack |
Generate a frame packed video, by combining two views in a single surface.
Definition in file vf_framepack.c.
#define LEFT 0 |
Definition at line 41 of file vf_framepack.c.
Referenced by config_output(), framepack_uninit(), horizontal_frame_pack(), and try_push_frame().
#define RIGHT 1 |
Definition at line 42 of file vf_framepack.c.
Referenced by config_output(), framepack_uninit(), and horizontal_frame_pack().
#define OFFSET | ( | x | ) | offsetof(FramepackContext, x) |
Definition at line 373 of file vf_framepack.c.
#define VF AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 374 of file vf_framepack.c.
|
static |
Definition at line 61 of file vf_framepack.c.
|
static |
Definition at line 70 of file vf_framepack.c.
|
static |
Definition at line 79 of file vf_framepack.c.
|
static |
Definition at line 144 of file vf_framepack.c.
Referenced by spatial_frame_pack().
|
static |
Definition at line 209 of file vf_framepack.c.
Referenced by spatial_frame_pack().
|
static |
Definition at line 248 of file vf_framepack.c.
Referenced by try_push_frame().
|
static |
Definition at line 269 of file vf_framepack.c.
Referenced by activate().
|
static |
Definition at line 330 of file vf_framepack.c.
AVFILTER_DEFINE_CLASS | ( | framepack | ) |
|
static |
Definition at line 54 of file vf_framepack.c.
Referenced by query_formats().
|
static |
Definition at line 375 of file vf_framepack.c.
|
static |
Definition at line 393 of file vf_framepack.c.
|
static |
Definition at line 405 of file vf_framepack.c.
AVFilter ff_vf_framepack |
Definition at line 414 of file vf_framepack.c.