FFmpeg  4.3
Data Structures | Macros | Functions | Variables
vf_datascope.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/xga_font_data.h"
#include "avfilter.h"
#include "drawutils.h"
#include "formats.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  DatascopeContext
 
struct  ThreadData
 Used for passing data between threads. More...
 
struct  PixscopeContext
 
struct  PixelValues
 
struct  OscilloscopeContext
 

Macros

#define OFFSET(x)   offsetof(DatascopeContext, x)
 
#define FLAGS   AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
 
#define FLAGSR   AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
 
#define POFFSET(x)   offsetof(PixscopeContext, x)
 
#define SQR(x)   ((x)*(x))
 
#define OOFFSET(x)   offsetof(OscilloscopeContext, x)
 

Functions

 AVFILTER_DEFINE_CLASS (datascope)
 
static int query_formats (AVFilterContext *ctx)
 
static void draw_text (FFDrawContext *draw, AVFrame *frame, FFDrawColor *color, int x0, int y0, const uint8_t *text, int vertical)
 
static void pick_color8 (FFDrawContext *draw, FFDrawColor *color, AVFrame *in, int x, int y, int *value)
 
static void pick_color16 (FFDrawContext *draw, FFDrawColor *color, AVFrame *in, int x, int y, int *value)
 
static void reverse_color8 (FFDrawContext *draw, FFDrawColor *color, FFDrawColor *reverse)
 
static void reverse_color16 (FFDrawContext *draw, FFDrawColor *color, FFDrawColor *reverse)
 
static int filter_color2 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
 
static int filter_color (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
 
static int filter_mono (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *in)
 
static int config_input (AVFilterLink *inlink)
 
static int config_output (AVFilterLink *outlink)
 
 AVFILTER_DEFINE_CLASS (pixscope)
 
static int pixscope_config_input (AVFilterLink *inlink)
 
static int pixscope_filter_frame (AVFilterLink *inlink, AVFrame *in)
 
 AVFILTER_DEFINE_CLASS (oscilloscope)
 
static void oscilloscope_uninit (AVFilterContext *ctx)
 
static void draw_line (FFDrawContext *draw, int x0, int y0, int x1, int y1, AVFrame *out, FFDrawColor *color)
 
static void draw_trace8 (OscilloscopeContext *s, AVFrame *frame)
 
static void draw_trace16 (OscilloscopeContext *s, AVFrame *frame)
 
static void update_oscilloscope (AVFilterContext *ctx)
 
static int oscilloscope_config_input (AVFilterLink *inlink)
 
static void draw_scope (OscilloscopeContext *s, int x0, int y0, int x1, int y1, AVFrame *out, PixelValues *p, int state)
 
static int oscilloscope_filter_frame (AVFilterLink *inlink, AVFrame *frame)
 
static int oscilloscope_process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
 

Variables

static const AVOption datascope_options []
 
static const AVFilterPad inputs []
 
static const AVFilterPad outputs []
 
AVFilter ff_vf_datascope
 
static const AVOption pixscope_options []
 
static const AVFilterPad pixscope_inputs []
 
static const AVFilterPad pixscope_outputs []
 
AVFilter ff_vf_pixscope
 
static const AVOption oscilloscope_options []
 
static const AVFilterPad oscilloscope_inputs []
 
static const AVFilterPad oscilloscope_outputs []
 
AVFilter ff_vf_oscilloscope
 

Macro Definition Documentation

◆ OFFSET

#define OFFSET (   x)    offsetof(DatascopeContext, x)

Definition at line 56 of file vf_datascope.c.

◆ FLAGS

Definition at line 57 of file vf_datascope.c.

◆ FLAGSR

Definition at line 58 of file vf_datascope.c.

◆ POFFSET

#define POFFSET (   x)    offsetof(PixscopeContext, x)

Definition at line 460 of file vf_datascope.c.

◆ SQR

#define SQR (   x)    ((x)*(x))

Definition at line 531 of file vf_datascope.c.

◆ OOFFSET

#define OOFFSET (   x)    offsetof(OscilloscopeContext, x)

Definition at line 753 of file vf_datascope.c.

Function Documentation

◆ AVFILTER_DEFINE_CLASS() [1/3]

AVFILTER_DEFINE_CLASS ( datascope  )

◆ query_formats()

static int query_formats ( AVFilterContext ctx)
static

Definition at line 79 of file vf_datascope.c.

◆ draw_text()

static void draw_text ( FFDrawContext draw,
AVFrame frame,
FFDrawColor color,
int  x0,
int  y0,
const uint8_t text,
int  vertical 
)
static

◆ pick_color8()

static void pick_color8 ( FFDrawContext draw,
FFDrawColor color,
AVFrame in,
int  x,
int  y,
int value 
)
static

Definition at line 107 of file vf_datascope.c.

Referenced by config_input(), oscilloscope_config_input(), and pixscope_config_input().

◆ pick_color16()

static void pick_color16 ( FFDrawContext draw,
FFDrawColor color,
AVFrame in,
int  x,
int  y,
int value 
)
static

Definition at line 125 of file vf_datascope.c.

Referenced by config_input(), oscilloscope_config_input(), and pixscope_config_input().

◆ reverse_color8()

static void reverse_color8 ( FFDrawContext draw,
FFDrawColor color,
FFDrawColor reverse 
)
static

Definition at line 143 of file vf_datascope.c.

Referenced by config_input().

◆ reverse_color16()

static void reverse_color16 ( FFDrawContext draw,
FFDrawColor color,
FFDrawColor reverse 
)
static

Definition at line 155 of file vf_datascope.c.

Referenced by config_input().

◆ filter_color2()

static int filter_color2 ( AVFilterContext ctx,
void arg,
int  jobnr,
int  nb_jobs 
)
static

Definition at line 175 of file vf_datascope.c.

Referenced by config_input().

◆ filter_color()

static int filter_color ( AVFilterContext ctx,
void arg,
int  jobnr,
int  nb_jobs 
)
static

Definition at line 218 of file vf_datascope.c.

Referenced by config_input().

◆ filter_mono()

static int filter_mono ( AVFilterContext ctx,
void arg,
int  jobnr,
int  nb_jobs 
)
static

Definition at line 257 of file vf_datascope.c.

Referenced by config_input().

◆ filter_frame()

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 295 of file vf_datascope.c.

◆ config_input()

static int config_input ( AVFilterLink inlink)
static

Definition at line 359 of file vf_datascope.c.

◆ config_output()

static int config_output ( AVFilterLink outlink)
static

Definition at line 390 of file vf_datascope.c.

◆ AVFILTER_DEFINE_CLASS() [2/3]

AVFILTER_DEFINE_CLASS ( pixscope  )

◆ pixscope_config_input()

static int pixscope_config_input ( AVFilterLink inlink)
static

Definition at line 475 of file vf_datascope.c.

◆ pixscope_filter_frame()

static int pixscope_filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 533 of file vf_datascope.c.

◆ AVFILTER_DEFINE_CLASS() [3/3]

AVFILTER_DEFINE_CLASS ( oscilloscope  )

◆ oscilloscope_uninit()

static void oscilloscope_uninit ( AVFilterContext ctx)
static

Definition at line 774 of file vf_datascope.c.

◆ draw_line()

static void draw_line ( FFDrawContext draw,
int  x0,
int  y0,
int  x1,
int  y1,
AVFrame out,
FFDrawColor color 
)
static

Definition at line 781 of file vf_datascope.c.

Referenced by draw_trace16(), and draw_trace8().

◆ draw_trace8()

static void draw_trace8 ( OscilloscopeContext s,
AVFrame frame 
)
static

Definition at line 829 of file vf_datascope.c.

Referenced by oscilloscope_config_input().

◆ draw_trace16()

static void draw_trace16 ( OscilloscopeContext s,
AVFrame frame 
)
static

Definition at line 848 of file vf_datascope.c.

Referenced by oscilloscope_config_input().

◆ update_oscilloscope()

static void update_oscilloscope ( AVFilterContext ctx)
static

Definition at line 866 of file vf_datascope.c.

Referenced by oscilloscope_config_input(), and oscilloscope_process_command().

◆ oscilloscope_config_input()

static int oscilloscope_config_input ( AVFilterLink inlink)
static

Definition at line 889 of file vf_datascope.c.

◆ draw_scope()

static void draw_scope ( OscilloscopeContext s,
int  x0,
int  y0,
int  x1,
int  y1,
AVFrame out,
PixelValues p,
int  state 
)
static

Definition at line 944 of file vf_datascope.c.

Referenced by oscilloscope_filter_frame().

◆ oscilloscope_filter_frame()

static int oscilloscope_filter_frame ( AVFilterLink inlink,
AVFrame frame 
)
static

Definition at line 1003 of file vf_datascope.c.

◆ oscilloscope_process_command()

static int oscilloscope_process_command ( AVFilterContext ctx,
const char *  cmd,
const char *  args,
char *  res,
int  res_len,
int  flags 
)
static

Definition at line 1068 of file vf_datascope.c.

Variable Documentation

◆ datascope_options

const AVOption datascope_options[]
static
Initial value:
= {
{ "size", "set output size", OFFSET(ow), AV_OPT_TYPE_IMAGE_SIZE, {.str="hd720"}, 0, 0, FLAGS },
{ "s", "set output size", OFFSET(ow), AV_OPT_TYPE_IMAGE_SIZE, {.str="hd720"}, 0, 0, FLAGS },
{ "x", "set x offset", OFFSET(x), AV_OPT_TYPE_INT, {.i64=0}, 0, INT_MAX, FLAGS },
{ "y", "set y offset", OFFSET(y), AV_OPT_TYPE_INT, {.i64=0}, 0, INT_MAX, FLAGS },
{ "mode", "set scope mode", OFFSET(mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 2, FLAGS, "mode" },
{ "mono", NULL, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, FLAGS, "mode" },
{ "color", NULL, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, FLAGS, "mode" },
{ "color2", NULL, 0, AV_OPT_TYPE_CONST, {.i64=2}, 0, 0, FLAGS, "mode" },
{ "axis", "draw column/row numbers", OFFSET(axis), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
{ "opacity", "set background opacity", OFFSET(opacity), AV_OPT_TYPE_FLOAT, {.dbl=0.75}, 0, 1, FLAGS },
{ "format", "set display number format", OFFSET(dformat), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS, "format" },
{ "hex", NULL, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, FLAGS, "format" },
{ "dec", NULL, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, FLAGS, "format" },
{ NULL }
}

Definition at line 60 of file vf_datascope.c.

◆ inputs

const AVFilterPad inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = filter_frame,
.config_props = config_input,
},
{ NULL }
}

Definition at line 401 of file vf_datascope.c.

◆ outputs

const AVFilterPad outputs[]
static
Initial value:
= {
{
.name = "default",
.config_props = config_output,
},
{ NULL }
}

Definition at line 411 of file vf_datascope.c.

◆ ff_vf_datascope

AVFilter ff_vf_datascope
Initial value:
= {
.name = "datascope",
.description = NULL_IF_CONFIG_SMALL("Video data analysis."),
.priv_size = sizeof(DatascopeContext),
.priv_class = &datascope_class,
}

Definition at line 420 of file vf_datascope.c.

◆ pixscope_options

const AVOption pixscope_options[]
static
Initial value:
= {
{ "x", "set scope x offset", POFFSET(xpos), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, 0, 1, FLAGS },
{ "y", "set scope y offset", POFFSET(ypos), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, 0, 1, FLAGS },
{ "w", "set scope width", POFFSET(w), AV_OPT_TYPE_INT, {.i64=7}, 1, 80, FLAGS },
{ "h", "set scope height", POFFSET(h), AV_OPT_TYPE_INT, {.i64=7}, 1, 80, FLAGS },
{ "o", "set window opacity", POFFSET(o), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, 0, 1, FLAGS },
{ "wx", "set window x offset", POFFSET(wx), AV_OPT_TYPE_FLOAT, {.dbl=-1}, -1, 1, FLAGS },
{ "wy", "set window y offset", POFFSET(wy), AV_OPT_TYPE_FLOAT, {.dbl=-1}, -1, 1, FLAGS },
{ NULL }
}

Definition at line 462 of file vf_datascope.c.

◆ pixscope_inputs

const AVFilterPad pixscope_inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = pixscope_filter_frame,
.config_props = pixscope_config_input,
},
{ NULL }
}

Definition at line 678 of file vf_datascope.c.

◆ pixscope_outputs

const AVFilterPad pixscope_outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}

Definition at line 688 of file vf_datascope.c.

◆ ff_vf_pixscope

AVFilter ff_vf_pixscope
Initial value:
= {
.name = "pixscope",
.description = NULL_IF_CONFIG_SMALL("Pixel data analysis."),
.priv_size = sizeof(PixscopeContext),
.priv_class = &pixscope_class,
}

Definition at line 696 of file vf_datascope.c.

◆ oscilloscope_options

const AVOption oscilloscope_options[]
static
Initial value:
= {
{ "x", "set scope x position", OOFFSET(xpos), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, 0, 1, FLAGSR },
{ "y", "set scope y position", OOFFSET(ypos), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, 0, 1, FLAGSR },
{ "s", "set scope size", OOFFSET(size), AV_OPT_TYPE_FLOAT, {.dbl=0.8}, 0, 1, FLAGSR },
{ "t", "set scope tilt", OOFFSET(tilt), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, 0, 1, FLAGSR },
{ "o", "set trace opacity", OOFFSET(o), AV_OPT_TYPE_FLOAT, {.dbl=0.8}, 0, 1, FLAGSR },
{ "tx", "set trace x position", OOFFSET(tx), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, 0, 1, FLAGSR },
{ "ty", "set trace y position", OOFFSET(ty), AV_OPT_TYPE_FLOAT, {.dbl=0.9}, 0, 1, FLAGSR },
{ "tw", "set trace width", OOFFSET(twidth), AV_OPT_TYPE_FLOAT, {.dbl=0.8},.1, 1, FLAGSR },
{ "th", "set trace height", OOFFSET(theight), AV_OPT_TYPE_FLOAT, {.dbl=0.3},.1, 1, FLAGSR },
{ "c", "set components to trace", OOFFSET(components), AV_OPT_TYPE_INT, {.i64=7}, 0, 15, FLAGSR },
{ "g", "draw trace grid", OOFFSET(grid), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, FLAGSR },
{ "st", "draw statistics", OOFFSET(statistics), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, FLAGSR },
{ "sc", "draw scope", OOFFSET(scope), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, FLAGSR },
{ NULL }
}

Definition at line 755 of file vf_datascope.c.

◆ oscilloscope_inputs

const AVFilterPad oscilloscope_inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = oscilloscope_filter_frame,
.config_props = oscilloscope_config_input,
.needs_writable = 1,
},
{ NULL }
}

Definition at line 1082 of file vf_datascope.c.

◆ oscilloscope_outputs

const AVFilterPad oscilloscope_outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}

Definition at line 1093 of file vf_datascope.c.

◆ ff_vf_oscilloscope

AVFilter ff_vf_oscilloscope
Initial value:
= {
.name = "oscilloscope",
.description = NULL_IF_CONFIG_SMALL("2D Video Oscilloscope."),
.priv_size = sizeof(OscilloscopeContext),
.priv_class = &oscilloscope_class,
}

Definition at line 1101 of file vf_datascope.c.

pixscope_inputs
static const AVFilterPad pixscope_inputs[]
Definition: vf_datascope.c:678
pixscope_outputs
static const AVFilterPad pixscope_outputs[]
Definition: vf_datascope.c:688
OFFSET
#define OFFSET(x)
Definition: vf_datascope.c:56
OOFFSET
#define OOFFSET(x)
Definition: vf_datascope.c:753
x
FFmpeg Automated Testing Environment ************************************Introduction Using FATE from your FFmpeg source directory Submitting the results to the FFmpeg result aggregation server Uploading new samples to the fate suite FATE makefile targets and variables Makefile targets Makefile variables Examples Introduction **************FATE is an extended regression suite on the client side and a means for results aggregation and presentation on the server side The first part of this document explains how you can use FATE from your FFmpeg source directory to test your ffmpeg binary The second part describes how you can run FATE to submit the results to FFmpeg’s FATE server In any way you can have a look at the publicly viewable FATE results by visiting this as it can be seen if some test on some platform broke with their recent contribution This usually happens on the platforms the developers could not test on The second part of this document describes how you can run FATE to submit your results to FFmpeg’s FATE server If you want to submit your results be sure to check that your combination of OS and compiler is not already listed on the above mentioned website In the third part you can find a comprehensive listing of FATE makefile targets and variables Using FATE from your FFmpeg source directory **********************************************If you want to run FATE on your machine you need to have the samples in place You can get the samples via the build target fate rsync Use this command from the top level source this will cause FATE to fail NOTE To use a custom wrapper to run the pass ‘ target exec’ to ‘configure’ or set the TARGET_EXEC Make variable Submitting the results to the FFmpeg result aggregation server ****************************************************************To submit your results to the server you should run fate through the shell script ‘tests fate sh’ from the FFmpeg sources This script needs to be invoked with a configuration file as its first argument tests fate sh path to fate_config A configuration file template with comments describing the individual configuration variables can be found at ‘doc fate_config sh template’ Create a configuration that suits your based on the configuration template The ‘slot’ configuration variable can be any string that is not yet but it is suggested that you name it adhering to the following pattern ‘ARCH OS COMPILER COMPILER VERSION’ The configuration file itself will be sourced in a shell therefore all shell features may be used This enables you to setup the environment as you need it for your build For your first test runs the ‘fate_recv’ variable should be empty or commented out This will run everything as normal except that it will omit the submission of the results to the server The following files should be present in $workdir as specified in the configuration it may help to try out the ‘ssh’ command with one or more ‘ v’ options You should get detailed output concerning your SSH configuration and the authentication process The only thing left is to automate the execution of the fate sh script and the synchronisation of the samples directory Uploading new samples to the fate suite *****************************************If you need a sample uploaded send a mail to samples request This is for developers who have an account on the fate suite server If you upload new please make sure they are as small as space on each network bandwidth and so on benefit from smaller test cases Also keep in mind older checkouts use existing sample that means in practice generally do not remove or overwrite files as it likely would break older checkouts or releases Also all needed samples for a commit should be ideally before the push If you need an account for frequently uploading samples or you wish to help others by doing that send a mail to ffmpeg devel rsync vauL Duo x
Definition: fate.txt:150
oscilloscope_uninit
static void oscilloscope_uninit(AVFilterContext *ctx)
Definition: vf_datascope.c:774
config_input
static int config_input(AVFilterLink *inlink)
Definition: vf_datascope.c:359
inputs
static const AVFilterPad inputs[]
Definition: vf_datascope.c:401
oscilloscope_outputs
static const AVFilterPad oscilloscope_outputs[]
Definition: vf_datascope.c:1093
query_formats
static int query_formats(AVFilterContext *ctx)
Definition: vf_datascope.c:79
POFFSET
#define POFFSET(x)
Definition: vf_datascope.c:460
NULL
#define NULL
Definition: coverity.c:32
AV_OPT_TYPE_IMAGE_SIZE
@ AV_OPT_TYPE_IMAGE_SIZE
offset must point to two consecutive integers
Definition: opt.h:233
DatascopeContext
Definition: vf_datascope.c:33
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:186
filter_frame
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: vf_datascope.c:295
FLAGS
#define FLAGS
Definition: vf_datascope.c:57
oscilloscope_process_command
static int oscilloscope_process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
Definition: vf_datascope.c:1068
outputs
static const AVFilterPad outputs[]
Definition: vf_datascope.c:411
size
int size
Definition: twinvq_data.h:11134
oscilloscope_inputs
static const AVFilterPad oscilloscope_inputs[]
Definition: vf_datascope.c:1082
pixscope_filter_frame
static int pixscope_filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: vf_datascope.c:533
AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
Definition: avfilter.h:125
AV_OPT_TYPE_FLOAT
@ AV_OPT_TYPE_FLOAT
Definition: opt.h:226
OscilloscopeContext
Definition: vf_datascope.c:711
PixscopeContext
Definition: vf_datascope.c:431
process_command
static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
Definition: af_afftdn.c:1374
FLAGSR
#define FLAGSR
Definition: vf_datascope.c:58
w
FFmpeg Automated Testing Environment ************************************Introduction Using FATE from your FFmpeg source directory Submitting the results to the FFmpeg result aggregation server Uploading new samples to the fate suite FATE makefile targets and variables Makefile targets Makefile variables Examples Introduction **************FATE is an extended regression suite on the client side and a means for results aggregation and presentation on the server side The first part of this document explains how you can use FATE from your FFmpeg source directory to test your ffmpeg binary The second part describes how you can run FATE to submit the results to FFmpeg’s FATE server In any way you can have a look at the publicly viewable FATE results by visiting this as it can be seen if some test on some platform broke with their recent contribution This usually happens on the platforms the developers could not test on The second part of this document describes how you can run FATE to submit your results to FFmpeg’s FATE server If you want to submit your results be sure to check that your combination of OS and compiler is not already listed on the above mentioned website In the third part you can find a comprehensive listing of FATE makefile targets and variables Using FATE from your FFmpeg source directory **********************************************If you want to run FATE on your machine you need to have the samples in place You can get the samples via the build target fate rsync Use this command from the top level source this will cause FATE to fail NOTE To use a custom wrapper to run the pass ‘ target exec’ to ‘configure’ or set the TARGET_EXEC Make variable Submitting the results to the FFmpeg result aggregation server ****************************************************************To submit your results to the server you should run fate through the shell script ‘tests fate sh’ from the FFmpeg sources This script needs to be invoked with a configuration file as its first argument tests fate sh path to fate_config A configuration file template with comments describing the individual configuration variables can be found at ‘doc fate_config sh template’ Create a configuration that suits your based on the configuration template The ‘slot’ configuration variable can be any string that is not yet but it is suggested that you name it adhering to the following pattern ‘ARCH OS COMPILER COMPILER VERSION’ The configuration file itself will be sourced in a shell therefore all shell features may be used This enables you to setup the environment as you need it for your build For your first test runs the ‘fate_recv’ variable should be empty or commented out This will run everything as normal except that it will omit the submission of the results to the server The following files should be present in $workdir as specified in the configuration it may help to try out the ‘ssh’ command with one or more ‘ v’ options You should get detailed output concerning your SSH configuration and the authentication process The only thing left is to automate the execution of the fate sh script and the synchronisation of the samples directory Uploading new samples to the fate suite *****************************************If you need a sample uploaded send a mail to samples request This is for developers who have an account on the fate suite server If you upload new please make sure they are as small as space on each network bandwidth and so on benefit from smaller test cases Also keep in mind older checkouts use existing sample that means in practice generally do not remove or overwrite files as it likely would break older checkouts or releases Also all needed samples for a commit should be ideally before the push If you need an account for frequently uploading samples or you wish to help others by doing that send a mail to ffmpeg devel rsync vauL Duo ug o o w
Definition: fate.txt:150
mode
mode
Definition: ebur128.h:83
AV_OPT_TYPE_INT
@ AV_OPT_TYPE_INT
Definition: opt.h:223
AVFILTER_FLAG_SLICE_THREADS
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
Definition: avfilter.h:116
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
config_output
static int config_output(AVFilterLink *outlink)
Definition: vf_datascope.c:390
AV_OPT_TYPE_BOOL
@ AV_OPT_TYPE_BOOL
Definition: opt.h:240
pixscope_config_input
static int pixscope_config_input(AVFilterLink *inlink)
Definition: vf_datascope.c:475
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:564
uninit
static av_cold int uninit(AVCodecContext *avctx)
Definition: crystalhd.c:279
h
h
Definition: vp9dsp_template.c:2038
AV_OPT_TYPE_CONST
@ AV_OPT_TYPE_CONST
Definition: opt.h:232
oscilloscope_filter_frame
static int oscilloscope_filter_frame(AVFilterLink *inlink, AVFrame *frame)
Definition: vf_datascope.c:1003
oscilloscope_config_input
static int oscilloscope_config_input(AVFilterLink *inlink)
Definition: vf_datascope.c:889