|
FFmpeg
|
#include <string.h>#include "libavutil/bprint.h"#include "libavutil/error.h"#include "libavutil/macros.h"#include "libavutil/mem.h"#include "libavutil/pixfmt.h"#include "libavutil/thread.h"#include "libavutil/tree.h"#include "ops.h"#include "ops_dispatch.h"#include "op_list_gen_template.c"#include "swscale.h"#include "uops.h"#include "uops_list.h"Go to the source code of this file.
Data Structures | |
| struct | EnumPriv |
Macros | |
| #define | UOP_NAME(OP, ABBR) |
| #define | BPRINT_STR(str) |
Functions | |
| static int | generate_entry_struct (void *opaque, void *key) |
| static int | generate_entry_args (void *opaque, void *key) |
| static int | register_uop (struct EnumPriv *s, const SwsUOp *uop) |
| static int | register_flags (SwsContext *ctx, const SwsOpList *ops, SwsUOpFlags flags) |
| static int | register_uops (SwsContext *ctx, const SwsOpList *ops, SwsCompiledOp *out) |
| static int | register_all_uops (SwsContext *ctx, void *graph, SwsOpList *ops) |
| static int | enum_type (void *opaque, void *elem) |
| static int | free_uop_key (void *opaque, void *key) |
| static int | sws_uops_macros_gen (char **out_str) |
| Generate a set of boilerplate C preprocessor macros for describing and programmatically iterating over all possible SwsUOps. | |
| int | main (int argc, char **argv) |
Variables | ||
| struct { | ||
| char full [32] | ||
| char abbr [32] | ||
| } | uop_names [SWS_UOP_TYPE_NB] | |
| This file is part of FFmpeg. | ||
| struct { | ||
| char full [16] | ||
| char prefix [8] | ||
| } | pixel_types [SWS_PIXEL_TYPE_NB] | |
| static const SwsUOpFlags | uop_flags [] | |
| static const SwsOpBackend | backend_uops | |
| static const SwsFlags | flags_list [] | |
| #define BPRINT_STR | ( | str | ) |
Referenced by sws_uops_macros_gen().
|
static |
Definition at line 59 of file uops_macros_gen.c.
Referenced by sws_uops_macros_gen().
|
static |
Definition at line 130 of file uops_macros_gen.c.
Referenced by sws_uops_macros_gen().
Definition at line 200 of file uops_macros_gen.c.
Referenced by register_flags().
|
static |
Definition at line 223 of file uops_macros_gen.c.
Referenced by register_uops().
|
static |
Definition at line 249 of file uops_macros_gen.c.
|
static |
Definition at line 268 of file uops_macros_gen.c.
Referenced by sws_uops_macros_gen().
|
static |
Definition at line 287 of file uops_macros_gen.c.
Referenced by sws_uops_macros_gen().
|
static |
Definition at line 297 of file uops_macros_gen.c.
Referenced by sws_uops_macros_gen().
|
static |
Generate a set of boilerplate C preprocessor macros for describing and programmatically iterating over all possible SwsUOps.
This function can be quite slow as it iterates over every possible combination of pixel formats and flags.
Returns 0 or a negative error code. On success, an allocated string is returned via out_str, and must be av_free()'d by the caller.
Definition at line 313 of file uops_macros_gen.c.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 416 of file uops_macros_gen.c.
| char full[16] |
Definition at line 41 of file uops_macros_gen.c.
Referenced by ff_avg_h264_qpel16_mc01_mmi(), ff_avg_h264_qpel16_mc02_mmi(), ff_avg_h264_qpel16_mc03_mmi(), ff_avg_h264_qpel16_mc11_mmi(), ff_avg_h264_qpel16_mc13_mmi(), ff_avg_h264_qpel16_mc31_mmi(), ff_avg_h264_qpel16_mc33_mmi(), ff_avg_h264_qpel4_mc01_mmi(), ff_avg_h264_qpel4_mc02_mmi(), ff_avg_h264_qpel4_mc03_mmi(), ff_avg_h264_qpel4_mc11_mmi(), ff_avg_h264_qpel4_mc12_mmi(), ff_avg_h264_qpel4_mc13_mmi(), ff_avg_h264_qpel4_mc31_mmi(), ff_avg_h264_qpel4_mc32_mmi(), ff_avg_h264_qpel4_mc33_mmi(), ff_avg_h264_qpel8_mc01_mmi(), ff_avg_h264_qpel8_mc02_mmi(), ff_avg_h264_qpel8_mc03_mmi(), ff_avg_h264_qpel8_mc11_mmi(), ff_avg_h264_qpel8_mc13_mmi(), ff_avg_h264_qpel8_mc31_mmi(), ff_avg_h264_qpel8_mc33_mmi(), ff_put_h264_qpel16_mc01_mmi(), ff_put_h264_qpel16_mc02_mmi(), ff_put_h264_qpel16_mc03_mmi(), ff_put_h264_qpel16_mc11_mmi(), ff_put_h264_qpel16_mc13_mmi(), ff_put_h264_qpel16_mc31_mmi(), ff_put_h264_qpel16_mc33_mmi(), ff_put_h264_qpel4_mc01_mmi(), ff_put_h264_qpel4_mc02_mmi(), ff_put_h264_qpel4_mc03_mmi(), ff_put_h264_qpel4_mc11_mmi(), ff_put_h264_qpel4_mc12_mmi(), ff_put_h264_qpel4_mc13_mmi(), ff_put_h264_qpel4_mc31_mmi(), ff_put_h264_qpel4_mc32_mmi(), ff_put_h264_qpel4_mc33_mmi(), ff_put_h264_qpel8_mc01_mmi(), ff_put_h264_qpel8_mc02_mmi(), ff_put_h264_qpel8_mc03_mmi(), ff_put_h264_qpel8_mc11_mmi(), ff_put_h264_qpel8_mc13_mmi(), ff_put_h264_qpel8_mc31_mmi(), ff_put_h264_qpel8_mc33_mmi(), ff_sws_op_list_split_planes(), filter_frame(), filter_frame(), filter_frame(), init(), map_idx_10_to_20(), map_idx_10_to_34(), map_idx_20_to_34(), map_idx_34_to_20(), parse_string(), remap20(), and remap34().
| char abbr[32] |
Definition at line 42 of file uops_macros_gen.c.
| const struct { ... } uop_names[SWS_UOP_TYPE_NB] |
This file is part of FFmpeg.
FFmpeg is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
FFmpeg is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with FFmpeg; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
| char prefix[8] |
Definition at line 50 of file uops_macros_gen.c.
Referenced by abs_decode(), aps(), avpriv_tempfile(), cabac_unary_prefix(), cbs_sei_get_unit(), coeff_abs_level_remaining_decode(), debug_callback(), decode_residual(), epic_jb_decode_tile(), exif_ifd_to_dict(), ff_cbs_sei_add_message(), ff_cbs_sei_read_message_list(), ff_cbs_sei_write_message_list(), ff_dnxhd_check_header_prefix(), ff_dnxhd_check_header_prefix_hr(), ff_dnxhd_parse_header_prefix(), ff_log_net_error(), filter_codec_opts(), frei0r_init(), init_cavlc_level_tab(), ivi_create_huff_from_desc(), load_path(), message_list(), read_ts(), sei(), sei(), strmatch(), and sws_uops_macros_gen().
| const struct { ... } pixel_types[SWS_PIXEL_TYPE_NB] |
|
static |
Definition at line 244 of file uops_macros_gen.c.
Referenced by register_uops().
|
static |
Definition at line 263 of file uops_macros_gen.c.
Referenced by register_all_uops().
|
static |
Definition at line 279 of file uops_macros_gen.c.
Referenced by sws_uops_macros_gen().