Go to the source code of this file.
|
#define | SCALE_FUNC(filter_n, from_bpc, to_bpc, opt) |
|
#define | SCALE_FUNCS(filter_n, opt) |
|
#define | SCALE_FUNCS_MMX(opt) |
|
#define | SCALE_FUNCS_SSE(opt) |
|
#define | VSCALEX_FUNC(size, opt) |
|
#define | VSCALEX_FUNCS(opt) |
|
#define | VSCALE_FUNC(size, opt) |
|
#define | VSCALE_FUNCS(opt1, opt2) |
|
#define | INPUT_Y_FUNC(fmt, opt) |
|
#define | INPUT_UV_FUNC(fmt, opt) |
|
#define | INPUT_FUNC(fmt, opt) |
|
#define | INPUT_FUNCS(opt) |
|
#define | ASSIGN_SCALE_FUNC2(hscalefn, filtersize, opt1, opt2) |
|
#define | ASSIGN_MMX_SCALE_FUNC(hscalefn, filtersize, opt1, opt2) |
|
#define | ASSIGN_VSCALEX_FUNC(vscalefn, opt, do_16_case, condition_8bit) |
|
#define | ASSIGN_VSCALE_FUNC(vscalefn, opt1, opt2, opt2chk) |
|
#define | case_rgb(x, X, opt) |
|
#define | ASSIGN_SSE_SCALE_FUNC(hscalefn, filtersize, opt1, opt2) |
|
#define ASSIGN_MMX_SCALE_FUNC |
( |
|
hscalefn, |
|
|
|
filtersize, |
|
|
|
opt1, |
|
|
|
opt2 |
|
) |
| |
Value:switch (filtersize) { \
}
#define ASSIGN_SCALE_FUNC2(hscalefn, filtersize, opt1, opt2)
Referenced by ff_sws_init_swScale_mmx().
#define ASSIGN_SCALE_FUNC2 |
( |
|
hscalefn, |
|
|
|
filtersize, |
|
|
|
opt1, |
|
|
|
opt2 |
|
) |
| |
Value: hscalefn =
c->dstBpc <= 14 ? ff_hscale8to15_ ## filtersize ##
_ ## opt2 : \
ff_hscale8to19_ ## filtersize ##
_ ## opt1; \
}
else if (
c->srcBpc == 9) { \
hscalefn =
c->dstBpc <= 14 ? ff_hscale9to15_ ## filtersize ##
_ ## opt2 : \
ff_hscale9to19_ ## filtersize ##
_ ## opt1; \
}
else if (
c->srcBpc == 10) { \
hscalefn =
c->dstBpc <= 14 ? ff_hscale10to15_ ## filtersize ##
_ ## opt2 : \
ff_hscale10to19_ ## filtersize ##
_ ## opt1; \
}
else if (
c->srcBpc == 12) { \
hscalefn =
c->dstBpc <= 14 ? ff_hscale12to15_ ## filtersize ##
_ ## opt2 : \
ff_hscale12to19_ ## filtersize ##
_ ## opt1; \
hscalefn =
c->dstBpc <= 14 ? ff_hscale14to15_ ## filtersize ##
_ ## opt2 : \
ff_hscale14to19_ ## filtersize ##
_ ## opt1; \
hscalefn =
c->dstBpc <= 14 ? ff_hscale16to15_ ## filtersize ##
_ ## opt2 : \
ff_hscale16to19_ ## filtersize ##
_ ## opt1; \
} \
} while (0)
const AVPixFmtDescriptor * av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
#define av_assert0(cond)
assert() equivalent, that is always enabled.
AVComponentDescriptor comp[4]
Parameters that describe how pixels are packed.
8 bit with PIX_FMT_RGB32 palette
uint16_t depth_minus1
number of bits in the component minus 1
#define ASSIGN_SSE_SCALE_FUNC |
( |
|
hscalefn, |
|
|
|
filtersize, |
|
|
|
opt1, |
|
|
|
opt2 |
|
) |
| |
Value:switch (filtersize) { \
break; \
}
#define ASSIGN_SCALE_FUNC2(hscalefn, filtersize, opt1, opt2)
Referenced by ff_sws_init_swScale_mmx().
#define ASSIGN_VSCALE_FUNC |
( |
|
vscalefn, |
|
|
|
opt1, |
|
|
|
opt2, |
|
|
|
opt2chk |
|
) |
| |
Value: case 16:
if (!
isBE(
c->dstFormat)) vscalefn = ff_yuv2plane1_16_ ## opt1;
break; \
case 10:
if (!
isBE(
c->dstFormat) && opt2chk) vscalefn = ff_yuv2plane1_10_ ## opt2;
break; \
case 9:
if (!
isBE(
c->dstFormat) && opt2chk) vscalefn = ff_yuv2plane1_9_ ## opt2;
break; \
case 8: vscalefn = ff_yuv2plane1_8_ ## opt1;
break;
\ }
#define av_assert0(cond)
assert() equivalent, that is always enabled.
static av_always_inline int isBE(enum AVPixelFormat pix_fmt)
Referenced by ff_sws_init_swScale_mmx().
#define ASSIGN_VSCALEX_FUNC |
( |
|
vscalefn, |
|
|
|
opt, |
|
|
|
do_16_case, |
|
|
|
condition_8bit |
|
) |
| |
Value: case 16: do_16_case; break; \
case 10:
if (!
isBE(
c->dstFormat)) vscalefn = ff_yuv2planeX_10_ ## opt;
break; \
case 9:
if (!
isBE(
c->dstFormat)) vscalefn = ff_yuv2planeX_9_ ## opt;
break;
\ default:
if (condition_8bit)
break; \
}
static av_always_inline int isBE(enum AVPixelFormat pix_fmt)
Referenced by ff_sws_init_swScale_mmx().
#define case_rgb |
( |
|
x, |
|
|
|
X, |
|
|
|
opt |
|
) |
| |
#define INPUT_FUNC |
( |
|
fmt, |
|
|
|
opt |
|
) |
| |
Value:
#define INPUT_Y_FUNC(fmt, opt)
#define INPUT_UV_FUNC(fmt, opt)
Definition at line 358 of file x86/swscale.c.
#define INPUT_FUNCS |
( |
|
opt | ) |
|
Value:#define INPUT_FUNC(fmt, opt)
#define INPUT_UV_FUNC(fmt, opt)
Definition at line 361 of file x86/swscale.c.
#define INPUT_UV_FUNC |
( |
|
fmt, |
|
|
|
opt |
|
) |
| |
Value:
output residual component w
Definition at line 352 of file x86/swscale.c.
#define INPUT_Y_FUNC |
( |
|
fmt, |
|
|
|
opt |
|
) |
| |
Value:
output residual component w
else dst[i][x+y *dst_stride[i]]
Definition at line 348 of file x86/swscale.c.
#define SCALE_FUNC |
( |
|
filter_n, |
|
|
|
from_bpc, |
|
|
|
to_bpc, |
|
|
|
opt |
|
) |
| |
Value:void ff_hscale ## from_bpc ##
to ## to_bpc ##
_ ## filter_n ##
_ ## opt( \
const int32_t *filterPos,
int filterSize)
the mask is usually to keep the same permissions Filters should remove permissions on reference they give to output whenever necessary It can be automatically done by setting the rej_perms field on the output pad Here are a few guidelines corresponding to common then the filter should push the output frames on the output link immediately As an exception to the previous rule if the input frame is enough to produce several output frames then the filter needs output only at least one per link The additional frames can be left buffered in the filter
FFmpeg Automated Testing Environment ************************************Table of Contents *****************FFmpeg Automated Testing Environment Introduction Using FATE from your FFmpeg source directory Submitting the results to the FFmpeg result aggregation server 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 FATE makefile targets and variables *************************************Makefile can be set to
Definition at line 276 of file x86/swscale.c.
#define SCALE_FUNCS |
( |
|
filter_n, |
|
|
|
opt |
|
) |
| |
Value:#define SCALE_FUNC(filter_n, from_bpc, to_bpc, opt)
Definition at line 283 of file x86/swscale.c.
#define SCALE_FUNCS_MMX |
( |
|
opt | ) |
|
Value:
#define SCALE_FUNCS(filter_n, opt)
Definition at line 297 of file x86/swscale.c.
#define SCALE_FUNCS_SSE |
( |
|
opt | ) |
|
Value:#define SCALE_FUNCS(filter_n, opt)
Definition at line 302 of file x86/swscale.c.
#define VSCALE_FUNC |
( |
|
size, |
|
|
|
opt |
|
) |
| |
Value:
static const uint8_t offset[127][2]
else dst[i][x+y *dst_stride[i]]
Definition at line 332 of file x86/swscale.c.
#define VSCALE_FUNCS |
( |
|
opt1, |
|
|
|
opt2 |
|
) |
| |
Value:#define VSCALE_FUNC(size, opt)
Definition at line 335 of file x86/swscale.c.
#define VSCALEX_FUNC |
( |
|
size, |
|
|
|
opt |
|
) |
| |
Value:void ff_yuv2planeX_ ##
size ##
_ ## opt(
const int16_t *
filter,
int filterSize, \
the mask is usually to keep the same permissions Filters should remove permissions on reference they give to output whenever necessary It can be automatically done by setting the rej_perms field on the output pad Here are a few guidelines corresponding to common then the filter should push the output frames on the output link immediately As an exception to the previous rule if the input frame is enough to produce several output frames then the filter needs output only at least one per link The additional frames can be left buffered in the filter
static const uint8_t offset[127][2]
Definition at line 315 of file x86/swscale.c.
#define VSCALEX_FUNCS |
( |
|
opt | ) |
|
Value:#define VSCALEX_FUNC(size, opt)
Definition at line 319 of file x86/swscale.c.
SCALE_FUNCS_SSE |
( |
ssse3 |
| ) |
|
VSCALE_FUNC |
( |
16 |
, |
|
|
sse4 |
|
|
) |
| |
VSCALE_FUNCS |
( |
sse2 |
, |
|
|
sse2 |
|
|
) |
| |
VSCALE_FUNCS |
( |
avx |
, |
|
|
avx |
|
|
) |
| |
VSCALEX_FUNC |
( |
16 |
, |
|
|
sse4 |
|
|
) |
| |