FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/bswap.h"
#include "libavutil/mem.h"
#include "libavutil/rational.h"
#include "libavutil/refstruct.h"
#include "ops.h"
#include "ops_internal.h"
Go to the source code of this file.
Macros | |
#define | RET(x) |
#define | PRINTQ(q) print_q(q, (char[32]){0}, sizeof(char[32]) - 1) |
Variables | |
const SwsOpBackend | backend_c |
Copyright (C) 2025 Niklas Haas. More... | |
const SwsOpBackend | backend_murder |
const SwsOpBackend | backend_x86 |
const SwsOpBackend *const | ff_sws_op_backends [] |
#define RET | ( | x | ) |
#define PRINTQ | ( | q | ) | print_q(q, (char[32]){0}, sizeof(char[32]) - 1) |
const char* ff_sws_pixel_type_name | ( | SwsPixelType | type | ) |
Definition at line 49 of file ops.c.
Referenced by check_clear(), check_convert(), check_dither(), check_linear(), check_min_max(), check_read_write(), check_scale(), check_shift(), check_swizzle(), and ff_sws_op_list_print().
int ff_sws_pixel_type_size | ( | SwsPixelType | type | ) |
Definition at line 64 of file ops.c.
Referenced by check_clear(), check_convert(), check_scale(), compile(), ff_sws_apply_op_q(), ff_sws_op_list_max_size(), ff_sws_op_list_update_comps(), ff_sws_pack_op_decode(), ff_sws_pixel_expand(), ff_sws_pixel_type_to_uint(), ff_sws_solve_shuffle(), normalize_clear(), op_match(), rndq(), rw_pixel_bits(), and setup_swap_bytes().
bool ff_sws_pixel_type_is_int | ( | SwsPixelType | type | ) |
Definition at line 79 of file ops.c.
Referenced by check_clear(), check_convert(), check_dither(), check_linear(), check_scale(), check_shift(), ff_sws_apply_op_q(), ff_sws_op_list_optimize(), ff_sws_op_list_update_comps(), and rndq().
SwsPixelType ff_sws_pixel_type_to_uint | ( | SwsPixelType | type | ) |
|
static |
Definition at line 112 of file ops.c.
Referenced by ff_sws_apply_op_q().
|
static |
Definition at line 117 of file ops.c.
Referenced by ff_sws_apply_op_q().
void ff_sws_apply_op_q | ( | const SwsOp * | op, |
AVRational | x[4] | ||
) |
Apply an operation to an AVRational.
No-op for read/write operations.
Definition at line 122 of file ops.c.
Referenced by ff_sws_op_list_optimize(), and ff_sws_op_list_update_comps().
|
static |
Definition at line 223 of file ops.c.
Referenced by ff_sws_op_list_free(), ff_sws_op_list_insert_at(), and ff_sws_op_list_remove_at().
void ff_sws_op_list_remove_at | ( | SwsOpList * | ops, |
int | index, | ||
int | count | ||
) |
Definition at line 288 of file ops.c.
Referenced by ff_sws_op_list_optimize().
Definition at line 298 of file ops.c.
Referenced by ff_sws_op_list_append(), and ff_sws_op_list_optimize().
int ff_sws_op_list_max_size | ( | const SwsOpList * | ops | ) |
uint32_t ff_sws_linear_mask | ( | const SwsLinearOp | c | ) |
Definition at line 328 of file ops.c.
Referenced by extract_swizzle(), and ff_sws_op_list_optimize().
|
static |
Definition at line 340 of file ops.c.
Referenced by ff_sws_op_list_print().
|
static |
Definition at line 381 of file ops.c.
Referenced by ff_sws_op_list_print().
|
static |
void ff_sws_op_list_print | ( | void * | log, |
int | lev, | ||
const SwsOpList * | ops | ||
) |
const SwsOpBackend backend_c |
Copyright (C) 2025 Niklas Haas.
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
Definition at line 106 of file ops_backend.c.
const SwsOpBackend backend_murder |
Definition at line 129 of file ops_memcpy.c.
const SwsOpBackend backend_x86 |
const SwsOpBackend* const ff_sws_op_backends[] |
Definition at line 34 of file ops.c.
Referenced by check_ops().