Go to the source code of this file.
|
| | AVFILTER_DEFINE_CLASS (a3dscope) |
| |
| static int | query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
| |
| static int | config_input (AVFilterLink *inlink) |
| |
| static int | config_output (AVFilterLink *outlink) |
| |
| static void | projection_matrix (float fov, float a, float near, float far, float matrix[4][4]) |
| |
| static void | vmultiply (const float v[4], const float m[4][4], float d[4]) |
| |
| static void | mmultiply (const float m2[4][4], const float m1[4][4], float m[4][4]) |
| |
| static float | vdot (const float x[3], const float y[3]) |
| |
| static void | view_matrix (const float eye[3], const float z[3], const float roll, const float pitch, const float yaw, float m[4][4]) |
| |
| static void | draw_dot (AVFrame *out, unsigned x, unsigned y, float z, int r, int g, int b) |
| |
| static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
| |
| static int | activate (AVFilterContext *ctx) |
| |
| static av_cold void | uninit (AVFilterContext *ctx) |
| |
◆ OFFSET
◆ FLAGS
◆ TFLAGS
◆ AVFILTER_DEFINE_CLASS()
| AVFILTER_DEFINE_CLASS |
( |
a3dscope | | ) |
|
◆ query_formats()
◆ config_input()
◆ config_output()
◆ projection_matrix()
◆ vmultiply()
| static void vmultiply |
( |
const float | v[4], |
|
|
const float | m[4][4], |
|
|
float | d[4] ) |
|
inlinestatic |
◆ mmultiply()
| static void mmultiply |
( |
const float | m2[4][4], |
|
|
const float | m1[4][4], |
|
|
float | m[4][4] ) |
|
static |
◆ vdot()
◆ view_matrix()
◆ draw_dot()
| static void draw_dot |
( |
AVFrame * | out, |
|
|
unsigned | x, |
|
|
unsigned | y, |
|
|
float | z, |
|
|
int | r, |
|
|
int | g, |
|
|
int | b ) |
|
static |
◆ filter_frame()
◆ activate()
◆ uninit()
◆ a3dscope_options
Initial value:= {
}
@ AV_OPT_TYPE_IMAGE_SIZE
Underlying C type is two consecutive integers.
@ AV_OPT_TYPE_VIDEO_RATE
Underlying C type is AVRational.
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_FLOAT
Underlying C type is float.
static void zoom(float *u, float *v, float amount)
Definition at line 55 of file avf_a3dscope.c.
◆ audio3dscope_inputs
Initial value:= {
{
.name = "default",
},
}
static int config_input(AVFilterLink *inlink)
Definition at line 322 of file avf_a3dscope.c.
◆ audio3dscope_outputs
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVBitStreamFilterLink *outlink)
Definition at line 330 of file avf_a3dscope.c.
◆ ff_avf_a3dscope
Initial value:= {
.p.name = "a3dscope",
.p.priv_class = &a3dscope_class,
}
static int query_formats(const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out)
static const AVFilterPad audio3dscope_outputs[]
static const AVFilterPad audio3dscope_inputs[]
int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, const char *arg, char *res, int res_len, int flags)
Generic processing of user supplied commands that are set in the same way as the filter options.
static av_cold void uninit(AVBitStreamFilterContext *ctx)
static int activate(AVBitStreamFilterContext *ctx)
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define FILTER_QUERY_FUNC2(func)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition at line 338 of file avf_a3dscope.c.