|
FFmpeg
|
Go to the source code of this file.
Data Structures | |
| union | SwsOpPriv |
| Copyright (C) 2025 Niklas Haas. More... | |
| struct | SwsOpImpl |
| struct | SwsOpChain |
| Compiled "chain" of operations, which can be dispatched efficiently. More... | |
| struct | SwsOpEntry |
| struct | SwsOpTable |
Macros | |
| #define | SWS_MAX_OPS 16 |
Typedefs | |
| typedef void(* | SwsFuncPtr) (void) |
| Per-kernel execution context. More... | |
Functions | |
| int | ff_sws_setup_u (const SwsOp *op, SwsOpPriv *out) |
| int | ff_sws_setup_u8 (const SwsOp *op, SwsOpPriv *out) |
| int | ff_sws_setup_q (const SwsOp *op, SwsOpPriv *out) |
| int | ff_sws_setup_q4 (const SwsOp *op, SwsOpPriv *out) |
| SwsOpChain * | ff_sws_op_chain_alloc (void) |
| void | ff_sws_op_chain_free_cb (void *chain) |
| static void | ff_sws_op_chain_free (SwsOpChain *chain) |
| int | ff_sws_op_chain_append (SwsOpChain *chain, SwsFuncPtr func, void(*free)(void *), const SwsOpPriv *priv) |
| int | ff_sws_op_compile_tables (const SwsOpTable *const tables[], int num_tables, SwsOpList *ops, const int block_size, SwsOpChain *chain) |
| "Compile" a single op by looking it up in a list of fixed size op tables. More... | |
| #define SWS_MAX_OPS 16 |
Definition at line 81 of file ops_chain.h.
| typedef void(* SwsFuncPtr) (void) |
Per-kernel execution context.
Note: This struct is hard-coded in assembly, so do not change the layout.
Definition at line 66 of file ops_chain.h.
Definition at line 255 of file ops_chain.c.
Definition at line 249 of file ops_chain.c.
Definition at line 266 of file ops_chain.c.
Definition at line 279 of file ops_chain.c.
Referenced by normalize_clear().
| SwsOpChain* ff_sws_op_chain_alloc | ( | void | ) |
Definition at line 29 of file ops_chain.c.
Referenced by compile().
| void ff_sws_op_chain_free_cb | ( | void * | chain | ) |
Definition at line 34 of file ops_chain.c.
Referenced by compile(), and ff_sws_op_chain_free().
|
inlinestatic |
Definition at line 90 of file ops_chain.h.
Referenced by compile().
| int ff_sws_op_chain_append | ( | SwsOpChain * | chain, |
| SwsFuncPtr | func, | ||
| void(*)(void *) | free, | ||
| const SwsOpPriv * | priv | ||
| ) |
Definition at line 48 of file ops_chain.c.
Referenced by ff_sws_op_compile_tables().
| int ff_sws_op_compile_tables | ( | const SwsOpTable *const | tables[], |
| int | num_tables, | ||
| SwsOpList * | ops, | ||
| const int | block_size, | ||
| SwsOpChain * | chain | ||
| ) |
"Compile" a single op by looking it up in a list of fixed size op tables.
See op_match in ops.c for details on how the matching works.
Returns 0, AVERROR(EAGAIN), or a negative error code.
Definition at line 196 of file ops_chain.c.
Referenced by compile().
1.8.17