FFmpeg
tx_priv.h
Go to the documentation of this file.
1 /*
2  * This file is part of FFmpeg.
3  *
4  * FFmpeg is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * FFmpeg is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with FFmpeg; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef AVUTIL_TX_PRIV_H
20 #define AVUTIL_TX_PRIV_H
21 
22 #include "tx.h"
23 #include "thread.h"
24 #include "mem_internal.h"
25 #include "attributes.h"
26 
27 #ifdef TX_FLOAT
28 #define TX_TAB(x) x ## _float
29 #define TX_NAME(x) x ## _float_c
30 #define TX_NAME_STR(x) NULL_IF_CONFIG_SMALL(x "_float_c")
31 #define TX_TYPE(x) AV_TX_FLOAT_ ## x
32 #define TX_FN_NAME(fn, suffix) ff_tx_ ## fn ## _float_ ## suffix
33 #define TX_FN_NAME_STR(fn, suffix) NULL_IF_CONFIG_SMALL(#fn "_float_" #suffix)
34 #define MULT(x, m) ((x) * (m))
35 #define SCALE_TYPE float
36 typedef float TXSample;
37 typedef float TXUSample;
39 #elif defined(TX_DOUBLE)
40 #define TX_TAB(x) x ## _double
41 #define TX_NAME(x) x ## _double_c
42 #define TX_NAME_STR(x) NULL_IF_CONFIG_SMALL(x "_double_c")
43 #define TX_TYPE(x) AV_TX_DOUBLE_ ## x
44 #define TX_FN_NAME(fn, suffix) ff_tx_ ## fn ## _double_ ## suffix
45 #define TX_FN_NAME_STR(fn, suffix) NULL_IF_CONFIG_SMALL(#fn "_double_" #suffix)
46 #define MULT(x, m) ((x) * (m))
47 #define SCALE_TYPE double
48 typedef double TXSample;
49 typedef double TXUSample;
51 #elif defined(TX_INT32)
52 #define TX_TAB(x) x ## _int32
53 #define TX_NAME(x) x ## _int32_c
54 #define TX_NAME_STR(x) NULL_IF_CONFIG_SMALL(x "_int32_c")
55 #define TX_TYPE(x) AV_TX_INT32_ ## x
56 #define TX_FN_NAME(fn, suffix) ff_tx_ ## fn ## _int32_ ## suffix
57 #define TX_FN_NAME_STR(fn, suffix) NULL_IF_CONFIG_SMALL(#fn "_int32_" #suffix)
58 #define MULT(x, m) (((((int64_t)(x)) * (int64_t)(m)) + 0x40000000) >> 31)
59 #define SCALE_TYPE float
60 typedef int32_t TXSample;
61 typedef uint32_t TXUSample;
63 #else
64 typedef void TXComplex;
65 #endif
66 
67 #define TX_DECL_FN(fn, suffix) \
68  void TX_FN_NAME(fn, suffix)(AVTXContext *s, void *o, void *i, ptrdiff_t st);
69 
70 #define TX_DEF(fn, tx_type, len_min, len_max, f1, f2, \
71  p, init_fn, suffix, cf, cd_flags, cf2) \
72  &(const FFTXCodelet){ \
73  .name = TX_FN_NAME_STR(fn, suffix), \
74  .function = TX_FN_NAME(fn, suffix), \
75  .type = TX_TYPE(tx_type), \
76  .flags = FF_TX_ALIGNED | FF_TX_OUT_OF_PLACE | cd_flags, \
77  .factors = { (f1), (f2) }, \
78  .nb_factors = !!(f1) + !!(f2), \
79  .min_len = len_min, \
80  .max_len = len_max, \
81  .init = init_fn, \
82  .cpu_flags = cf2 | AV_CPU_FLAG_ ## cf, \
83  .prio = p, \
84  }
85 
86 #if defined(TX_FLOAT) || defined(TX_DOUBLE)
87 
88 #define CMUL(dre, dim, are, aim, bre, bim) \
89  do { \
90  (dre) = (are) * (bre) - (aim) * (bim); \
91  (dim) = (are) * (bim) + (aim) * (bre); \
92  } while (0)
93 
94 #define SMUL(dre, dim, are, aim, bre, bim) \
95  do { \
96  (dre) = (are) * (bre) - (aim) * (bim); \
97  (dim) = (are) * (bim) - (aim) * (bre); \
98  } while (0)
99 
100 #define UNSCALE(x) (x)
101 #define RESCALE(x) (x)
102 
103 #define FOLD(a, b) ((a) + (b))
104 
105 #elif defined(TX_INT32)
106 
107 /* Properly rounds the result */
108 #define CMUL(dre, dim, are, aim, bre, bim) \
109  do { \
110  int64_t accu; \
111  (accu) = (int64_t)(bre) * (are); \
112  (accu) -= (int64_t)(bim) * (aim); \
113  (dre) = (int)(((accu) + 0x40000000) >> 31); \
114  (accu) = (int64_t)(bim) * (are); \
115  (accu) += (int64_t)(bre) * (aim); \
116  (dim) = (int)(((accu) + 0x40000000) >> 31); \
117  } while (0)
118 
119 #define SMUL(dre, dim, are, aim, bre, bim) \
120  do { \
121  int64_t accu; \
122  (accu) = (int64_t)(bre) * (are); \
123  (accu) -= (int64_t)(bim) * (aim); \
124  (dre) = (int)(((accu) + 0x40000000) >> 31); \
125  (accu) = (int64_t)(bim) * (are); \
126  (accu) -= (int64_t)(bre) * (aim); \
127  (dim) = (int)(((accu) + 0x40000000) >> 31); \
128  } while (0)
129 
130 #define UNSCALE(x) ((double)(x)/2147483648.0)
131 #define RESCALE(x) (av_clip64(llrintf((x) * 2147483648.0), INT32_MIN, INT32_MAX))
132 
133 #define FOLD(x, y) ((int32_t)((x) + (unsigned)(y) + 32) >> 6)
134 
135 #endif /* TX_INT32 */
136 
137 #define BF(x, y, a, b) \
138  do { \
139  x = (a) - (b); \
140  y = (a) + (b); \
141  } while (0)
142 
143 #define CMUL3(c, a, b) CMUL((c).re, (c).im, (a).re, (a).im, (b).re, (b).im)
144 
145 /* Codelet flags, used to pick codelets. Must be a superset of enum AVTXFlags,
146  * but if it runs out of bits, it can be made separate. */
147 #define FF_TX_OUT_OF_PLACE (1ULL << 63) /* Can be OR'd with AV_TX_INPLACE */
148 #define FF_TX_ALIGNED (1ULL << 62) /* Cannot be OR'd with AV_TX_UNALIGNED */
149 #define FF_TX_PRESHUFFLE (1ULL << 61) /* Codelet expects permuted coeffs */
150 #define FF_TX_INVERSE_ONLY (1ULL << 60) /* For non-orthogonal inverse-only transforms */
151 #define FF_TX_FORWARD_ONLY (1ULL << 59) /* For non-orthogonal forward-only transforms */
152 #define FF_TX_ASM_CALL (1ULL << 58) /* For asm->asm functions only */
153 
154 typedef enum FFTXCodeletPriority {
155  FF_TX_PRIO_BASE = 0, /* Baseline priority */
156 
157  /* For SIMD, set base prio to the register size in bits and increment in
158  * steps of 64 depending on faster/slower features, like FMA. */
159 
160  FF_TX_PRIO_MIN = -131072, /* For naive implementations */
161  FF_TX_PRIO_MAX = 32768, /* For custom implementations/ASICs */
163 
164 typedef enum FFTXMapDirection {
165  /* No map. Make a map up. */
167 
168  /* Lookup table must be applied via dst[i] = src[lut[i]]; */
170 
171  /* Lookup table must be applied via dst[lut[i]] = src[i]; */
174 
175 /* Codelet options */
176 typedef struct FFTXCodeletOptions {
177  /* Request a specific lookup table direction. Codelets MUST put the
178  * direction in AVTXContext. If the codelet does not respect this, a
179  * conversion will be performed. */
182 
183 /* Maximum number of factors a codelet may have. Arbitrary. */
184 #define TX_MAX_FACTORS 16
185 
186 /* Maximum amount of subtransform functions, subtransforms and factors. Arbitrary. */
187 #define TX_MAX_SUB 4
188 
189 /* Maximum number of returned results for ff_tx_decompose_length. Arbitrary. */
190 #define TX_MAX_DECOMPOSITIONS 512
191 
192 typedef struct FFTXCodelet {
193  const char *name; /* Codelet name, for debugging */
194  av_tx_fn function; /* Codelet function, != NULL */
195  enum AVTXType type; /* Type of codelet transform */
196 #define TX_TYPE_ANY INT32_MAX /* Special type to allow all types */
197 
198  uint64_t flags; /* A combination of AVTXFlags and codelet
199  * flags that describe its properties. */
200 
201  int factors[TX_MAX_FACTORS]; /* Length factors. MUST be coprime. */
202 #define TX_FACTOR_ANY -1 /* When used alone, signals that the codelet
203  * supports all factors. Otherwise, if other
204  * factors are present, it signals that whatever
205  * remains will be supported, as long as the
206  * other factors are a component of the length */
207 
208  int nb_factors; /* Minimum number of factors that have to
209  * be a modulo of the length. Must not be 0. */
210 
211  int min_len; /* Minimum length of transform, must be >= 1 */
212  int max_len; /* Maximum length of transform */
213 #define TX_LEN_UNLIMITED -1 /* Special length value to permit all lengths */
214 
215  int (*init)(AVTXContext *s, /* Optional callback for current context initialization. */
216  const struct FFTXCodelet *cd,
217  uint64_t flags,
219  int len, int inv,
220  const void *scale);
221 
222  int (*uninit)(AVTXContext *s); /* Optional callback for uninitialization. */
223 
224  int cpu_flags; /* CPU flags. If any negative flags like
225  * SLOW are present, will avoid picking.
226  * 0x0 to signal it's a C codelet */
227 #define FF_TX_CPU_FLAGS_ALL 0x0 /* Special CPU flag for C */
228 
229  int prio; /* < 0 = least, 0 = no pref, > 0 = prefer */
230 } FFTXCodelet;
231 
232 struct AVTXContext {
233  /* Fields the root transform and subtransforms use or may use.
234  * NOTE: This section is used by assembly, do not reorder or change */
235  int len; /* Length of the transform */
236  int inv; /* If transform is inverse */
237  int *map; /* Lookup table(s) */
238  TXComplex *exp; /* Any non-pre-baked multiplication factors,
239  * or extra temporary buffer */
240  TXComplex *tmp; /* Temporary buffer, if needed */
241 
242  AVTXContext *sub; /* Subtransform context(s), if needed */
243  av_tx_fn fn[TX_MAX_SUB]; /* Function(s) for the subtransforms */
244  int nb_sub; /* Number of subtransforms.
245  * The reason all of these are set here
246  * rather than in each separate context
247  * is to eliminate extra pointer
248  * dereferences. */
249 
250  /* Fields mainly useul/applicable for the root transform or initialization.
251  * Fields below are not used by assembly code. */
252  const FFTXCodelet *cd[TX_MAX_SUB]; /* Subtransform codelets */
253  const FFTXCodelet *cd_self; /* Codelet for the current context */
254  enum AVTXType type; /* Type of transform */
255  uint64_t flags; /* A combination of AVTXFlags and
256  * codelet flags used when creating */
257  FFTXMapDirection map_dir; /* Direction of AVTXContext->map */
258  float scale_f;
259  double scale_d;
260  void *opaque; /* Free to use by implementations */
261 };
262 
263 /* This function embeds a Ruritanian PFA input map into an existing lookup table
264  * to avoid double permutation. This allows for compound factors to be
265  * synthesized as fast PFA FFTs and embedded into either other or standalone
266  * transforms.
267  * The output CRT map must still be pre-baked into the transform. */
268 #define TX_EMBED_INPUT_PFA_MAP(map, tot_len, d1, d2) \
269  do { \
270  int mtmp[(d1)*(d2)]; \
271  for (int k = 0; k < tot_len; k += (d1)*(d2)) { \
272  memcpy(mtmp, &map[k], (d1)*(d2)*sizeof(*mtmp)); \
273  for (int m = 0; m < (d2); m++) \
274  for (int n = 0; n < (d1); n++) \
275  map[k + m*(d1) + n] = mtmp[(m*(d1) + n*(d2)) % ((d1)*(d2))]; \
276  } \
277  } while (0)
278 
279 /* This function generates a Ruritanian PFA input map into s->map. */
281  int d1, int d2);
282 
283 /* Create a subtransform in the current context with the given parameters.
284  * The flags parameter from FFTXCodelet.init() should be preserved as much
285  * as that's possible.
286  * MUST be called during the sub() callback of each codelet. */
288  uint64_t flags, FFTXCodeletOptions *opts,
289  int len, int inv, const void *scale);
290 
291 /* Clear the context by freeing all tables, maps and subtransforms. */
293 
294 /* Attempt to factorize a length into 2 integers such that
295  * len / dst1 == dst2, where dst1 and dst2 are coprime. */
297  int len, int inv);
298 
299 /* Generate a default map (0->len or 0, (len-1)->1 for inverse transforms)
300  * for a context. */
302 
303 /*
304  * Generates the PFA permutation table into AVTXContext->pfatab. The end table
305  * is appended to the start table.
306  * The `inv` flag should only be enabled if the lookup tables of subtransforms
307  * won't get flattened.
308  */
310  int inv, int n, int m);
311 
312 /*
313  * Generates a standard-ish (slightly modified) Split-Radix revtab into
314  * AVTXContext->map. Invert lookup changes how the mapping needs to be applied.
315  * If it's set to 0, it has to be applied like out[map[i]] = in[i], otherwise
316  * if it's set to 1, has to be applied as out[i] = in[map[i]]
317  */
319 
320 /*
321  * Generates an index into AVTXContext->inplace_idx that if followed in the
322  * specific order, allows the revtab to be done in-place. The sub-transform
323  * and its map should already be initialized.
324  */
326 
327 /*
328  * This generates a parity-based revtab of length len and direction inv.
329  *
330  * Parity means even and odd complex numbers will be split, e.g. the even
331  * coefficients will come first, after which the odd coefficients will be
332  * placed. For example, a 4-point transform's coefficients after reordering:
333  * z[0].re, z[0].im, z[2].re, z[2].im, z[1].re, z[1].im, z[3].re, z[3].im
334  *
335  * The basis argument is the length of the largest non-composite transform
336  * supported, and also implies that the basis/2 transform is supported as well,
337  * as the split-radix algorithm requires it to be.
338  *
339  * The dual_stride argument indicates that both the basis, as well as the
340  * basis/2 transforms support doing two transforms at once, and the coefficients
341  * will be interleaved between each pair in a split-radix like so (stride == 2):
342  * tx1[0], tx1[2], tx2[0], tx2[2], tx1[1], tx1[3], tx2[1], tx2[3]
343  * A non-zero number switches this on, with the value indicating the stride
344  * (how many values of 1 transform to put first before switching to the other).
345  * Must be a power of two or 0. Must be less than the basis.
346  * Value will be clipped to the transform size, so for a basis of 16 and a
347  * dual_stride of 8, dual 8-point transforms will be laid out as if dual_stride
348  * was set to 4.
349  * Usually you'll set this to half the complex numbers that fit in a single
350  * register or 0. This allows to reuse SSE functions as dual-transform
351  * functions in AVX mode.
352  *
353  * If length is smaller than basis/2 this function will not do anything.
354  *
355  * If inv_lookup is set to 1, it will flip the lookup from out[map[i]] = src[i]
356  * to out[i] = src[map[i]].
357  */
360  int basis, int dual_stride);
361 
362 /* Typed init function to initialize shared tables. Will initialize all tables
363  * for all factors of a length. */
364 void ff_tx_init_tabs_float (int len);
365 void ff_tx_init_tabs_double(int len);
366 void ff_tx_init_tabs_int32 (int len);
367 
368 /* Typed init function to initialize an MDCT exptab in a context.
369  * If pre_tab is set, duplicates the entire table, with the first
370  * copy being shuffled according to pre_tab, and the second copy
371  * being the original. */
372 int ff_tx_mdct_gen_exp_float (AVTXContext *s, int *pre_tab);
373 int ff_tx_mdct_gen_exp_double(AVTXContext *s, int *pre_tab);
374 int ff_tx_mdct_gen_exp_int32 (AVTXContext *s, int *pre_tab);
375 
376 /* Lists of codelets */
377 extern const FFTXCodelet * const ff_tx_codelet_list_float_c [];
378 extern const FFTXCodelet * const ff_tx_codelet_list_float_x86 [];
379 extern const FFTXCodelet * const ff_tx_codelet_list_float_aarch64 [];
380 
381 extern const FFTXCodelet * const ff_tx_codelet_list_double_c [];
382 
383 extern const FFTXCodelet * const ff_tx_codelet_list_int32_c [];
384 
385 #endif /* AVUTIL_TX_PRIV_H */
ff_tx_init_tabs_float
void ff_tx_init_tabs_float(int len)
mem_internal.h
AVTXContext::map
int * map
Definition: tx_priv.h:233
thread.h
ff_tx_clear_ctx
void ff_tx_clear_ctx(AVTXContext *s)
Definition: tx.c:289
AVTXContext
Definition: tx_priv.h:228
AVTXContext::map_dir
FFTXMapDirection map_dir
Definition: tx_priv.h:253
basis
static int16_t basis[64][64]
Definition: mpegvideo_enc.c:4174
FFTXCodeletOptions
Definition: tx_priv.h:176
TX_MAX_DECOMPOSITIONS
#define TX_MAX_DECOMPOSITIONS
Definition: tx_priv.h:190
AVComplexFloat
Definition: tx.h:27
ff_tx_mdct_gen_exp_int32
int ff_tx_mdct_gen_exp_int32(AVTXContext *s, int *pre_tab)
FFTXCodelet::nb_factors
int nb_factors
Definition: tx_priv.h:204
AVTXContext::fn
av_tx_fn fn[TX_MAX_SUB]
Definition: tx_priv.h:239
FF_TX_MAP_GATHER
@ FF_TX_MAP_GATHER
Definition: tx_priv.h:169
type
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
Definition: writing_filters.txt:86
scale
static av_always_inline float scale(float x, float s)
Definition: vf_v360.c:1389
TX_MAX_SUB
#define TX_MAX_SUB
Definition: tx_priv.h:187
FFTXCodelet::min_len
int min_len
Definition: tx_priv.h:207
FFTXCodelet::type
enum AVTXType type
Definition: tx_priv.h:195
FFTXCodeletOptions::map_dir
FFTXMapDirection map_dir
Definition: tx_priv.h:180
ff_tx_gen_compound_mapping
int ff_tx_gen_compound_mapping(AVTXContext *s, FFTXCodeletOptions *opts, int inv, int n, int m)
Definition: tx.c:74
AVTXContext::nb_sub
int nb_sub
Definition: tx_priv.h:240
AVTXContext::scale_d
double scale_d
Definition: tx_priv.h:255
FFTXCodelet::factors
int factors[TX_MAX_FACTORS]
Definition: tx_priv.h:201
av_tx_fn
void(* av_tx_fn)(AVTXContext *s, void *out, void *in, ptrdiff_t stride)
Function pointer to a function to perform the transform.
Definition: tx.h:127
FFTXCodeletPriority
FFTXCodeletPriority
Definition: tx_priv.h:154
FFTXMapDirection
FFTXMapDirection
Definition: tx_priv.h:164
AVComplexInt32
Definition: tx.h:35
s
#define s(width, name)
Definition: cbs_vp9.c:256
FFTXCodelet::flags
uint64_t flags
Definition: tx_priv.h:198
FFTXCodelet::prio
int prio
Definition: tx_priv.h:225
ff_tx_mdct_gen_exp_float
int ff_tx_mdct_gen_exp_float(AVTXContext *s, int *pre_tab)
AVTXContext::type
enum AVTXType type
Definition: tx_priv.h:250
ff_tx_gen_inplace_map
int ff_tx_gen_inplace_map(AVTXContext *s, int len)
Definition: tx.c:155
AVTXContext::len
int len
Definition: tx_priv.h:231
ff_tx_mdct_gen_exp_double
int ff_tx_mdct_gen_exp_double(AVTXContext *s, int *pre_tab)
FFTXCodelet::uninit
int(* uninit)(AVTXContext *s)
Definition: tx_priv.h:218
FFTXCodelet::cpu_flags
int cpu_flags
Definition: tx_priv.h:220
ff_tx_init_subtx
int ff_tx_init_subtx(AVTXContext *s, enum AVTXType type, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale)
Definition: tx.c:698
opts
AVDictionary * opts
Definition: movenc.c:50
ff_tx_gen_pfa_input_map
int ff_tx_gen_pfa_input_map(AVTXContext *s, FFTXCodeletOptions *opts, int d1, int d2)
Definition: tx.c:43
FF_TX_PRIO_MAX
@ FF_TX_PRIO_MAX
Definition: tx_priv.h:161
FFTXCodelet::init
int(* init)(AVTXContext *s, const struct FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale)
Definition: tx_priv.h:211
FF_TX_PRIO_BASE
@ FF_TX_PRIO_BASE
Definition: tx_priv.h:155
AVTXType
AVTXType
Definition: tx.h:39
ff_tx_codelet_list_float_aarch64
const FFTXCodelet *const ff_tx_codelet_list_float_aarch64[]
Definition: tx_float_init.c:47
ff_tx_gen_split_radix_parity_revtab
int ff_tx_gen_split_radix_parity_revtab(AVTXContext *s, int len, int inv, FFTXCodeletOptions *opts, int basis, int dual_stride)
Definition: tx.c:240
ff_tx_codelet_list_double_c
const FFTXCodelet *const ff_tx_codelet_list_double_c[]
attributes.h
AVTXContext::inv
int inv
Definition: tx_priv.h:232
FFTXCodelet::max_len
int max_len
Definition: tx_priv.h:208
TXComplex
void TXComplex
Definition: tx_priv.h:64
ff_tx_init_tabs_int32
void ff_tx_init_tabs_int32(int len)
ff_tx_init_tabs_double
void ff_tx_init_tabs_double(int len)
AVTXContext::exp
TXComplex * exp
Definition: tx_priv.h:234
ff_tx_decompose_length
int ff_tx_decompose_length(int dst[TX_MAX_DECOMPOSITIONS], enum AVTXType type, int len, int inv)
Definition: tx.c:411
AVTXContext::tmp
TXComplex * tmp
Definition: tx_priv.h:236
len
int len
Definition: vorbis_enc_data.h:426
AVComplexDouble
Definition: tx.h:31
FF_TX_MAP_SCATTER
@ FF_TX_MAP_SCATTER
Definition: tx_priv.h:172
ff_tx_gen_ptwo_revtab
int ff_tx_gen_ptwo_revtab(AVTXContext *s, FFTXCodeletOptions *opts)
Definition: tx.c:135
AVTXContext::flags
uint64_t flags
Definition: tx_priv.h:251
AVTXContext::scale_f
float scale_f
Definition: tx_priv.h:254
ff_tx_codelet_list_float_c
const FFTXCodelet *const ff_tx_codelet_list_float_c[]
FF_TX_MAP_NONE
@ FF_TX_MAP_NONE
Definition: tx_priv.h:166
FFTXCodelet
Definition: tx_priv.h:192
ff_tx_gen_default_map
int ff_tx_gen_default_map(AVTXContext *s, FFTXCodeletOptions *opts)
Definition: tx.c:522
AVTXContext::cd_self
const FFTXCodelet * cd_self
Definition: tx_priv.h:249
AVTXContext::opaque
void * opaque
Definition: tx_priv.h:256
FFTXCodelet::name
const char * name
Definition: tx_priv.h:193
ff_tx_codelet_list_float_x86
const FFTXCodelet *const ff_tx_codelet_list_float_x86[]
Definition: tx_float_init.c:230
int32_t
int32_t
Definition: audioconvert.c:56
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:561
ff_tx_codelet_list_int32_c
const FFTXCodelet *const ff_tx_codelet_list_int32_c[]
TX_MAX_FACTORS
#define TX_MAX_FACTORS
Definition: tx_priv.h:184
int
int
Definition: ffmpeg_filter.c:156
AVTXContext::sub
AVTXContext * sub
Definition: tx_priv.h:238
tx.h
AVTXContext::cd
const FFTXCodelet * cd[TX_MAX_SUB]
Definition: tx_priv.h:248
FF_TX_PRIO_MIN
@ FF_TX_PRIO_MIN
Definition: tx_priv.h:160