FFmpeg
|
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 "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 (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 | filter_frame_left (AVFilterLink *inlink, AVFrame *frame) |
static int | filter_frame_right (AVFilterLink *inlink, AVFrame *frame) |
static int | request_frame (AVFilterLink *outlink) |
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 40 of file vf_framepack.c.
Referenced by config_output(), filter_frame_left(), framepack_uninit(), horizontal_frame_pack(), and try_push_frame().
#define RIGHT 1 |
Definition at line 41 of file vf_framepack.c.
Referenced by config_output(), filter_frame_right(), framepack_uninit(), and horizontal_frame_pack().
#define OFFSET | ( | x | ) | offsetof(FramepackContext, x) |
Definition at line 364 of file vf_framepack.c.
#define V AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 365 of file vf_framepack.c.
|
static |
Definition at line 62 of file vf_framepack.c.
|
static |
Definition at line 71 of file vf_framepack.c.
|
static |
Definition at line 80 of file vf_framepack.c.
|
static |
Definition at line 147 of file vf_framepack.c.
Referenced by spatial_frame_pack().
|
static |
Definition at line 212 of file vf_framepack.c.
Referenced by spatial_frame_pack().
|
static |
Definition at line 251 of file vf_framepack.c.
Referenced by try_push_frame().
|
static |
Definition at line 305 of file vf_framepack.c.
Referenced by filter_frame_left(), and filter_frame_right().
|
static |
Definition at line 274 of file vf_framepack.c.
|
static |
Definition at line 281 of file vf_framepack.c.
|
static |
Definition at line 288 of file vf_framepack.c.
AVFILTER_DEFINE_CLASS | ( | framepack | ) |
|
static |
Definition at line 55 of file vf_framepack.c.
Referenced by query_formats().
|
static |
Definition at line 366 of file vf_framepack.c.
|
static |
Definition at line 384 of file vf_framepack.c.
|
static |
Definition at line 400 of file vf_framepack.c.
AVFilter ff_vf_framepack |
Definition at line 410 of file vf_framepack.c.