Go to the source code of this file.
|
enum | StereoCode {
ANAGLYPH_RC_GRAY,
ANAGLYPH_RC_HALF,
ANAGLYPH_RC_COLOR,
ANAGLYPH_RC_DUBOIS,
ANAGLYPH_GM_GRAY,
ANAGLYPH_GM_HALF,
ANAGLYPH_GM_COLOR,
ANAGLYPH_GM_DUBOIS,
ANAGLYPH_YB_GRAY,
ANAGLYPH_YB_HALF,
ANAGLYPH_YB_COLOR,
ANAGLYPH_YB_DUBOIS,
ANAGLYPH_RB_GRAY,
ANAGLYPH_RG_GRAY,
MONO_L,
MONO_R,
INTERLEAVE_ROWS_LR,
INTERLEAVE_ROWS_RL,
SIDE_BY_SIDE_LR,
SIDE_BY_SIDE_RL,
SIDE_BY_SIDE_2_LR,
SIDE_BY_SIDE_2_RL,
ABOVE_BELOW_LR,
ABOVE_BELOW_RL,
ABOVE_BELOW_2_LR,
ABOVE_BELOW_2_RL,
ALTERNATING_LR,
ALTERNATING_RL,
CHECKERBOARD_LR,
CHECKERBOARD_RL,
INTERLEAVE_COLS_LR,
INTERLEAVE_COLS_RL,
HDMI,
STEREO_CODE_COUNT
} |
|
|
| AVFILTER_DEFINE_CLASS (stereo3d) |
|
static int | query_formats (AVFilterContext *ctx) |
|
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) |
|
Enumerator |
---|
ANAGLYPH_RC_GRAY |
|
ANAGLYPH_RC_HALF |
|
ANAGLYPH_RC_COLOR |
|
ANAGLYPH_RC_DUBOIS |
|
ANAGLYPH_GM_GRAY |
|
ANAGLYPH_GM_HALF |
|
ANAGLYPH_GM_COLOR |
|
ANAGLYPH_GM_DUBOIS |
|
ANAGLYPH_YB_GRAY |
|
ANAGLYPH_YB_HALF |
|
ANAGLYPH_YB_COLOR |
|
ANAGLYPH_YB_DUBOIS |
|
ANAGLYPH_RB_GRAY |
|
ANAGLYPH_RG_GRAY |
|
MONO_L |
|
MONO_R |
|
INTERLEAVE_ROWS_LR |
|
INTERLEAVE_ROWS_RL |
|
SIDE_BY_SIDE_LR |
|
SIDE_BY_SIDE_RL |
|
SIDE_BY_SIDE_2_LR |
|
SIDE_BY_SIDE_2_RL |
|
ABOVE_BELOW_LR |
|
ABOVE_BELOW_RL |
|
ABOVE_BELOW_2_LR |
|
ABOVE_BELOW_2_RL |
|
ALTERNATING_LR |
|
ALTERNATING_RL |
|
CHECKERBOARD_LR |
|
CHECKERBOARD_RL |
|
INTERLEAVE_COLS_LR |
|
INTERLEAVE_COLS_RL |
|
HDMI |
|
STEREO_CODE_COUNT |
|
Definition at line 35 of file vf_stereo3d.c.
AVFILTER_DEFINE_CLASS |
( |
stereo3d |
| ) |
|
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 |
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 |
const int ana_coeff[][3][6] |
|
static |
Initial value:= {
}
packed RGB 8:8:8, 24bpp, RGBRGB...
packed RGB 8:8:8, 24bpp, BGRBGR...
Definition at line 214 of file vf_stereo3d.c.
Referenced by query_formats().
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref)
Definition at line 1088 of file vf_stereo3d.c.
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVFilterLink *outlink)
Definition at line 1097 of file vf_stereo3d.c.
Initial value:= {
.name = "stereo3d",
.priv_class = &stereo3d_class,
}
static const AVFilterPad stereo3d_outputs[]
static av_cold void uninit(AVFilterContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
static const AVFilterPad stereo3d_inputs[]
static const AVFilterPad outputs[]
static const AVFilterPad inputs[]
static int query_formats(AVFilterContext *ctx)
Definition at line 1106 of file vf_stereo3d.c.