FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
#include "filters.h"
#include "formats.h"
#include "video.h"
#include "stereo3d.h"
Go to the source code of this file.
Data Structures | |
struct | StereoComponent |
struct | Stereo3DContext |
struct | ThreadData |
Used for passing data between threads. More... | |
Macros | |
#define | OFFSET(x) offsetof(Stereo3DContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (stereo3d) | |
static int | query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
static uint8_t | ana_convert (const int *coeff, const uint8_t *left, const uint8_t *right) |
static void | anaglyph_ic (uint8_t *dst, uint8_t *lsrc, uint8_t *rsrc, ptrdiff_t dst_linesize, ptrdiff_t l_linesize, ptrdiff_t r_linesize, int width, int height, const int *ana_matrix_r, const int *ana_matrix_g, const int *ana_matrix_b) |
static void | anaglyph (uint8_t *dst, uint8_t *lsrc, uint8_t *rsrc, ptrdiff_t dst_linesize, ptrdiff_t l_linesize, ptrdiff_t r_linesize, int width, int height, const int *ana_matrix_r, const int *ana_matrix_g, const int *ana_matrix_b) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_slice (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static void | interleave_cols_to_any (Stereo3DContext *s, int *out_off, int p, AVFrame *in, AVFrame *out, int d) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *inpicref) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const int | ana_coeff [][3][6] |
static const AVOption | stereo3d_options [] |
static enum AVPixelFormat | anaglyph_pix_fmts [] |
static enum AVPixelFormat | other_pix_fmts [] |
static const AVFilterPad | stereo3d_inputs [] |
static const AVFilterPad | stereo3d_outputs [] |
const AVFilter | ff_vf_stereo3d |
#define OFFSET | ( | x | ) | offsetof(Stereo3DContext, x) |
Definition at line 157 of file vf_stereo3d.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 158 of file vf_stereo3d.c.
enum StereoCode |
Definition at line 35 of file vf_stereo3d.c.
AVFILTER_DEFINE_CLASS | ( | stereo3d | ) |
|
static |
Definition at line 282 of file vf_stereo3d.c.
|
inlinestatic |
Definition at line 313 of file vf_stereo3d.c.
Referenced by anaglyph(), and anaglyph_ic().
|
static |
Definition at line 324 of file vf_stereo3d.c.
Referenced by filter_frame().
|
static |
Definition at line 344 of file vf_stereo3d.c.
Referenced by config_output().
|
static |
Definition at line 364 of file vf_stereo3d.c.
|
static |
Definition at line 610 of file vf_stereo3d.c.
Referenced by filter_frame().
|
static |
Definition at line 634 of file vf_stereo3d.c.
Referenced by filter_frame().
|
static |
Definition at line 671 of file vf_stereo3d.c.
|
static |
Definition at line 1091 of file vf_stereo3d.c.
|
static |
Definition at line 81 of file vf_stereo3d.c.
Referenced by config_output().
|
static |
Definition at line 160 of file vf_stereo3d.c.
|
static |
Definition at line 223 of file vf_stereo3d.c.
Referenced by query_formats().
|
static |
Definition at line 228 of file vf_stereo3d.c.
Referenced by query_formats().
|
static |
Definition at line 1098 of file vf_stereo3d.c.
|
static |
Definition at line 1106 of file vf_stereo3d.c.
const AVFilter ff_vf_stereo3d |
Definition at line 1114 of file vf_stereo3d.c.