Go to the source code of this file.
|
#define | cat(a, bpp, b) a##bpp##b |
|
#define | decl_fpel_func(avg, sz, bpp, opt) |
|
#define | decl_mc_func(avg, sz, dir, opt, type, f_sz, bpp) |
|
#define | decl_mc_funcs(sz, opt, type, fsz, bpp) |
|
#define | decl_ipred_fn(type, sz, bpp, opt) |
|
#define | decl_ipred_fns(type, bpp, opt4, opt8_16_32) |
|
#define | decl_itxfm_func(typea, typeb, size, bpp, opt) |
|
#define | decl_itxfm_funcs(size, bpp, opt) |
|
#define | mc_rep_func(avg, sz, hsz, hszb, dir, opt, type, f_sz, bpp) |
|
#define | mc_rep_funcs(sz, hsz, hszb, opt, type, fsz, bpp) |
|
#define | filter_8tap_1d_fn(op, sz, f, f_opt, fname, dir, dvar, bpp, opt) |
|
#define | filters_8tap_1d_fn(op, sz, dir, dvar, bpp, opt, f_opt) |
|
#define | filters_8tap_1d_fn2(op, sz, bpp, opt, f_opt) |
|
#define | filters_8tap_1d_fn3(op, bpp, opt4, opt8, f_opt) |
|
#define | filter_8tap_2d_fn(op, sz, f, f_opt, fname, align, bpp, bytes, opt) |
|
#define | filters_8tap_2d_fn(op, sz, align, bpp, bytes, opt, f_opt) |
|
#define | filters_8tap_2d_fn2(op, align, bpp, bytes, opt4, opt8, f_opt) |
|
#define | init_fpel_func(idx1, idx2, sz, type, bpp, opt) |
|
#define | init_subpel1(idx1, idx2, idxh, idxv, sz, dir, type, bpp, opt) |
|
#define | init_subpel2(idx1, idx2, sz, type, bpp, opt) |
|
#define | init_subpel3_32_64(idx, type, bpp, opt) |
|
#define | init_subpel3_8to64(idx, type, bpp, opt) |
|
#define | init_subpel3(idx, type, bpp, opt) |
|
#define | init_ipred_func(type, enum, sz, bpp, opt) |
|
#define | init_8_16_32_ipred_funcs(type, enum, bpp, opt) |
|
#define | init_ipred_funcs(type, enum, bpp, opt) |
|
◆ cat
#define cat |
( |
|
a, |
|
|
|
bpp, |
|
|
|
b |
|
) |
| a##bpp##b |
◆ decl_fpel_func
#define decl_fpel_func |
( |
|
avg, |
|
|
|
sz, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
◆ decl_mc_func
#define decl_mc_func |
( |
|
avg, |
|
|
|
sz, |
|
|
|
dir, |
|
|
|
opt, |
|
|
|
type, |
|
|
|
f_sz, |
|
|
|
bpp |
|
) |
| |
Value:void ff_vp9_##
avg##_8tap_1d_##dir##
_##sz##
_##bpp##
_##opt(
uint8_t *dst, ptrdiff_t dst_stride, \
Definition at line 36 of file vp9dsp_init.h.
◆ decl_mc_funcs
#define decl_mc_funcs |
( |
|
sz, |
|
|
|
opt, |
|
|
|
type, |
|
|
|
fsz, |
|
|
|
bpp |
|
) |
| |
Value:
decl_mc_func(
avg, sz,
h, opt,
type, fsz, bpp); \
decl_mc_func(put, sz, v, opt,
type, fsz, bpp); \
decl_mc_func(
avg, sz, v, opt,
type, fsz, bpp)
Definition at line 41 of file vp9dsp_init.h.
◆ decl_ipred_fn
#define decl_ipred_fn |
( |
|
type, |
|
|
|
sz, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
◆ decl_ipred_fns
#define decl_ipred_fns |
( |
|
type, |
|
|
|
bpp, |
|
|
|
opt4, |
|
|
|
opt8_16_32 |
|
) |
| |
Value:
decl_ipred_fn(
type, 8, bpp, opt8_16_32); \
decl_ipred_fn(
type, 16, bpp, opt8_16_32); \
decl_ipred_fn(
type, 32, bpp, opt8_16_32)
Definition at line 53 of file vp9dsp_init.h.
◆ decl_itxfm_func
#define decl_itxfm_func |
( |
|
typea, |
|
|
|
typeb, |
|
|
|
size, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
◆ decl_itxfm_funcs
#define decl_itxfm_funcs |
( |
|
size, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
Value:
decl_itxfm_func(iadst,
idct,
size, bpp, opt); \
decl_itxfm_func(
idct, iadst,
size, bpp, opt); \
decl_itxfm_func(iadst, iadst,
size, bpp, opt)
Definition at line 65 of file vp9dsp_init.h.
◆ mc_rep_func
#define mc_rep_func |
( |
|
avg, |
|
|
|
sz, |
|
|
|
hsz, |
|
|
|
hszb, |
|
|
|
dir, |
|
|
|
opt, |
|
|
|
type, |
|
|
|
f_sz, |
|
|
|
bpp |
|
) |
| |
Value:
ff_vp9_##
avg##_8tap_1d_##dir##
_##sz##
_##bpp##
_##opt(
uint8_t *dst, ptrdiff_t dst_stride, \
{ \
ff_vp9_##
avg##_8tap_1d_##dir##
_##hsz##
_##bpp##
_##opt(dst, dst_stride,
src, \
ff_vp9_##
avg##_8tap_1d_##dir##
_##hsz##
_##bpp##
_##opt(dst + hszb, dst_stride,
src + hszb, \
}
Definition at line 71 of file vp9dsp_init.h.
◆ mc_rep_funcs
#define mc_rep_funcs |
( |
|
sz, |
|
|
|
hsz, |
|
|
|
hszb, |
|
|
|
opt, |
|
|
|
type, |
|
|
|
fsz, |
|
|
|
bpp |
|
) |
| |
Value:
mc_rep_func(
avg, sz, hsz, hszb,
h, opt,
type, fsz, bpp) \
mc_rep_func(put, sz, hsz, hszb, v, opt,
type, fsz, bpp) \
mc_rep_func(
avg, sz, hsz, hszb, v, opt,
type, fsz, bpp)
Definition at line 83 of file vp9dsp_init.h.
◆ filter_8tap_1d_fn
#define filter_8tap_1d_fn |
( |
|
op, |
|
|
|
sz, |
|
|
|
f, |
|
|
|
f_opt, |
|
|
|
fname, |
|
|
|
dir, |
|
|
|
dvar, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
Value:static void op##_8tap_##fname##
_##sz##dir##
_##bpp##
_##opt(
uint8_t *dst, ptrdiff_t dst_stride, \
{ \
ff_vp9_##
op##_8tap_1d_##dir##
_##sz##
_##bpp##
_##opt(dst, dst_stride,
src, src_stride, \
h, ff_filters_##f_opt[
f][dvar - 1]); \
}
Definition at line 89 of file vp9dsp_init.h.
◆ filters_8tap_1d_fn
#define filters_8tap_1d_fn |
( |
|
op, |
|
|
|
sz, |
|
|
|
dir, |
|
|
|
dvar, |
|
|
|
bpp, |
|
|
|
opt, |
|
|
|
f_opt |
|
) |
| |
◆ filters_8tap_1d_fn2
#define filters_8tap_1d_fn2 |
( |
|
op, |
|
|
|
sz, |
|
|
|
bpp, |
|
|
|
opt, |
|
|
|
f_opt |
|
) |
| |
Value:
filters_8tap_1d_fn(
op, sz, v, my, bpp, opt, f_opt)
Definition at line 103 of file vp9dsp_init.h.
◆ filters_8tap_1d_fn3
#define filters_8tap_1d_fn3 |
( |
|
op, |
|
|
|
bpp, |
|
|
|
opt4, |
|
|
|
opt8, |
|
|
|
f_opt |
|
) |
| |
Value:
filters_8tap_1d_fn2(
op, 32, bpp, opt8, f_opt) \
filters_8tap_1d_fn2(
op, 16, bpp, opt8, f_opt) \
filters_8tap_1d_fn2(
op, 8, bpp, opt8, f_opt) \
filters_8tap_1d_fn2(
op, 4, bpp, opt4, f_opt)
Definition at line 107 of file vp9dsp_init.h.
◆ filter_8tap_2d_fn
#define filter_8tap_2d_fn |
( |
|
op, |
|
|
|
sz, |
|
|
|
f, |
|
|
|
f_opt, |
|
|
|
fname, |
|
|
|
align, |
|
|
|
bpp, |
|
|
|
bytes, |
|
|
|
opt |
|
) |
| |
Value:static void op##_8tap_##fname##
_##sz##hv_##bpp##
_##opt(
uint8_t *dst, ptrdiff_t dst_stride, \
{ \
LOCAL_ALIGNED_##align(
uint8_t,
temp, [71 * 64 * bytes]); \
ff_vp9_put_8tap_1d_h_##sz##
_##bpp##
_##opt(
temp, 64 * bytes,
src - 3 * src_stride, \
ff_filters_##f_opt[
f][mx - 1]); \
ff_vp9_##
op##_8tap_1d_v_##sz##
_##bpp##
_##opt(dst, dst_stride,
temp + 3 * bytes * 64, \
ff_filters_##f_opt[
f][my - 1]); \
}
Definition at line 114 of file vp9dsp_init.h.
◆ filters_8tap_2d_fn
#define filters_8tap_2d_fn |
( |
|
op, |
|
|
|
sz, |
|
|
|
align, |
|
|
|
bpp, |
|
|
|
bytes, |
|
|
|
opt, |
|
|
|
f_opt |
|
) |
| |
◆ filters_8tap_2d_fn2
#define filters_8tap_2d_fn2 |
( |
|
op, |
|
|
|
align, |
|
|
|
bpp, |
|
|
|
bytes, |
|
|
|
opt4, |
|
|
|
opt8, |
|
|
|
f_opt |
|
) |
| |
Value:
filters_8tap_2d_fn(
op, 32, align, bpp, bytes, opt8, f_opt) \
filters_8tap_2d_fn(
op, 16, align, bpp, bytes, opt8, f_opt) \
filters_8tap_2d_fn(
op, 8, align, bpp, bytes, opt8, f_opt) \
filters_8tap_2d_fn(
op, 4, align, bpp, bytes, opt4, f_opt)
Definition at line 133 of file vp9dsp_init.h.
◆ init_fpel_func
#define init_fpel_func |
( |
|
idx1, |
|
|
|
idx2, |
|
|
|
sz, |
|
|
|
type, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
◆ init_subpel1
#define init_subpel1 |
( |
|
idx1, |
|
|
|
idx2, |
|
|
|
idxh, |
|
|
|
idxv, |
|
|
|
sz, |
|
|
|
dir, |
|
|
|
type, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
Value:
type##_8tap_smooth_##sz##dir##
_##bpp##
_##opt; \
type##_8tap_regular_##sz##dir##
_##bpp##
_##opt; \
type##_8tap_sharp_##sz##dir##
_##bpp##
_##opt
Definition at line 146 of file vp9dsp_init.h.
◆ init_subpel2
#define init_subpel2 |
( |
|
idx1, |
|
|
|
idx2, |
|
|
|
sz, |
|
|
|
type, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
Value:
init_subpel1(idx1, idx2, 0, 1, sz, v,
type, bpp, opt); \
init_subpel1(idx1, idx2, 1, 0, sz,
h,
type, bpp, opt)
Definition at line 154 of file vp9dsp_init.h.
◆ init_subpel3_32_64
#define init_subpel3_32_64 |
( |
|
idx, |
|
|
|
type, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
◆ init_subpel3_8to64
#define init_subpel3_8to64 |
( |
|
idx, |
|
|
|
type, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
Value:
init_subpel2(2, idx, 16,
type, bpp, opt); \
init_subpel2(3, idx, 8,
type, bpp, opt)
Definition at line 163 of file vp9dsp_init.h.
◆ init_subpel3
#define init_subpel3 |
( |
|
idx, |
|
|
|
type, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
◆ init_ipred_func
#define init_ipred_func |
( |
|
type, |
|
|
|
enum, |
|
|
|
sz, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
Value: dsp->intra_pred[TX_##sz##
X##sz][
enum##_PRED] = \
cat(ff_vp9_ipred_##
type##
_##sz##
x##sz##
_, bpp,
_##opt)
Definition at line 172 of file vp9dsp_init.h.
◆ init_8_16_32_ipred_funcs
#define init_8_16_32_ipred_funcs |
( |
|
type, |
|
|
|
enum, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
Value:
init_ipred_func(
type,
enum, 16, bpp, opt); \
init_ipred_func(
type,
enum, 32, bpp, opt)
Definition at line 176 of file vp9dsp_init.h.
◆ init_ipred_funcs
#define init_ipred_funcs |
( |
|
type, |
|
|
|
enum, |
|
|
|
bpp, |
|
|
|
opt |
|
) |
| |
◆ ff_vp9dsp_init_10bpp_x86()
◆ ff_vp9dsp_init_12bpp_x86()
◆ ff_vp9dsp_init_16bpp_x86()
#define filters_8tap_1d_fn(op, sz, dir, dvar, bpp, opt, f_opt)
filter_frame For filters that do not use the this method is called when a frame is pushed to the filter s input It can be called at any time except in a reentrant way If the input frame is enough to produce 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
#define init_subpel2(idx1, idx2, sz, type, bpp, opt)
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
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
#define init_subpel1(idx1, idx2, idxh, idxv, sz, dir, type, bpp, opt)
static void idct(int16_t block[64])
#define filter_8tap_2d_fn(op, sz, f, f_opt, fname, align, bpp, bytes, opt)
#define decl_itxfm_func(typea, typeb, size, bpp, opt)
static int op(uint8_t **dst, const uint8_t *dst_end, GetByteContext *gb, int pixel, int count, int *x, int width, int linesize)
Perform decode operation.
#define init_subpel3_32_64(idx, type, bpp, opt)
#define decl_mc_func(avg, sz, dir, opt, type, f_sz, bpp)
The reader does not expect b to be semantically here and if the code is changed by maybe adding a a division or other the signedness will almost certainly be mistaken To avoid this confusion a new type was SUINT is the C unsigned type but it holds a signed int to use the same example SUINT a
#define filter_8tap_1d_fn(op, sz, f, f_opt, fname, dir, dvar, bpp, opt)
#define filters_8tap_2d_fn(op, sz, align, bpp, bytes, opt, f_opt)
#define filters_8tap_1d_fn2(op, sz, bpp, opt, f_opt)
#define init_ipred_func(type, enum, sz, bpp, opt)
#define decl_ipred_fn(type, sz, bpp, opt)
static float smooth(DeshakeOpenCLContext *deshake_ctx, float *gauss_kernel, int length, float max_val, AVFifoBuffer *values)
#define init_subpel3_8to64(idx, type, bpp, opt)
#define mc_rep_func(avg, sz, hsz, hszb, dir, opt, type, f_sz, bpp)
The exact code depends on how similar the blocks are and how related they are to the block