Go to the source code of this file.
|
| static int | enum_ops_fmt (SwsContext *ctx, void *opaque, enum AVPixelFormat src_fmt, enum AVPixelFormat dst_fmt, int(*cb)(SwsContext *ctx, void *opaque, SwsOpList *ops)) |
| |
| static int | ff_sws_enum_op_lists (SwsContext *ctx, void *opaque, 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. More...
|
| |
◆ DUMMY_SIZE
◆ enum_ops_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 |
- 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 89 of file op_list_gen_template.c.
Referenced by main(), and sws_uops_macros_gen().