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