Go to the source code of this file.
|
| static int | enum_ops_fmt (const struct EnumFmtPriv *s, enum AVPixelFormat src_fmt, enum AVPixelFormat dst_fmt) |
| |
| static int | enum_fmt_slice (void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads) |
| |
| static enum AVPixelFormat | first_pix_fmt (void) |
| |
| static enum AVPixelFormat | last_pix_fmt (void) |
| |
| static int | ff_sws_enum_op_lists (SwsContext *ctx, void *opaque, const SwsLut3D *lut3d, enum AVPixelFormat src_fmt, enum AVPixelFormat dst_fmt, int(*cb)(SwsContext *ctx, void *opaque, SwsOpList *ops)) |
| | Helper function to enumerate over all possible (optimized) operation lists, under the current set of options in ctx, and run the given callback on each list.
|
| |
◆ DUMMY_SIZE
◆ enum_ops_fmt()
◆ enum_fmt_slice()
| static int enum_fmt_slice |
( |
void * | priv, |
|
|
int | jobnr, |
|
|
int | threadnr, |
|
|
int | nb_jobs, |
|
|
int | nb_threads ) |
|
static |
◆ first_pix_fmt()
◆ last_pix_fmt()
◆ ff_sws_enum_op_lists()
Helper function to enumerate over all possible (optimized) operation lists, under the current set of options in ctx, and run the given callback on each list.
- Parameters
-
| src_fmt | If set (not AV_PIX_FMT_NONE), constrain the source format |
| dst_fmt | If set (not AV_PIX_FMT_NONE), constrain the destination format |
| cb | Callback to run on each op list. If ctx->threads != 1, this may be called from multiple threads. |
- Returns
- 0 on success, the return value if cb() < 0, or a negative error code
- Note
ops belongs to sws_enum_op_lists(), but may be mutated by cb.
Definition at line 136 of file op_list_gen_template.c.
Referenced by main(), main(), and sws_uops_macros_gen().