FFmpeg
|
Generate a frame packed video, by combining two views in a single surface. More...
#include <string.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 "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 | V AV_OPT_FLAG_VIDEO_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 (FramepackContext *s, AVFrame *dst, int interleaved) |
static void | vertical_frame_pack (FramepackContext *s, AVFrame *dst, int interleaved) |
static av_always_inline void | spatial_frame_pack (FramepackContext *s, AVFrame *dst) |
static int | filter_frame_left (AVFilterLink *inlink, AVFrame *frame) |
static int | filter_frame_right (AVFilterLink *inlink, AVFrame *frame) |
static int | request_frame (AVFilterLink *outlink) |
Variables | |
static enum AVPixelFormat | formats_supported [] |
static const AVOption | options [] |
static const AVClass | framepack_class |
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 39 of file vf_framepack.c.
#define RIGHT 1 |
Definition at line 40 of file vf_framepack.c.
Referenced by config_output(), filter_frame_right(), framepack_uninit(), horizontal_frame_pack(), and vertical_frame_pack().
#define OFFSET | ( | x | ) | offsetof(FramepackContext, x) |
Definition at line 303 of file vf_framepack.c.
#define V AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 304 of file vf_framepack.c.
|
static |
Definition at line 61 of file vf_framepack.c.
|
static |
Definition at line 68 of file vf_framepack.c.
|
static |
Definition at line 77 of file vf_framepack.c.
|
static |
Definition at line 133 of file vf_framepack.c.
Referenced by spatial_frame_pack().
|
static |
Definition at line 176 of file vf_framepack.c.
Referenced by spatial_frame_pack().
|
static |
Definition at line 205 of file vf_framepack.c.
Referenced by request_frame().
|
static |
Definition at line 223 of file vf_framepack.c.
|
static |
Definition at line 230 of file vf_framepack.c.
|
static |
Definition at line 237 of file vf_framepack.c.
|
static |
|
static |
Definition at line 305 of file vf_framepack.c.
|
static |
Definition at line 321 of file vf_framepack.c.
|
static |
Definition at line 328 of file vf_framepack.c.
|
static |
Definition at line 344 of file vf_framepack.c.
AVFilter ff_vf_framepack |
Definition at line 354 of file vf_framepack.c.