FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | fn |
Macros | |
#define | BIT_DEPTH 32 |
Copyright (C) 2025 Niklas Haas. More... | |
#define | PIXEL_TYPE SWS_PIXEL_F32 |
#define | PIXEL_MAX FLT_MAX |
#define | PIXEL_MIN FLT_MIN |
#define | pixel_t float |
#define | block_t f32block_t |
#define | px f32 |
#define | IS_FLOAT 1 |
#define | FMT_CHAR f |
#define | WRAP_DITHER(N) |
#define | WRAP_LINEAR(NAME, MASK) |
Functions | |
DECL_SETUP (setup_dither) | |
DECL_FUNC (dither, const int size_log2) | |
DECL_SETUP (setup_linear) | |
DECL_FUNC (linear_mask, const uint32_t mask) | |
Fully general case for a 5x5 linear affine transformation. More... | |
static const SwsOpTable | fn (op_table_float) |
#define BIT_DEPTH 32 |
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 26 of file ops_tmpl_float.c.
#define PIXEL_TYPE SWS_PIXEL_F32 |
Definition at line 30 of file ops_tmpl_float.c.
#define PIXEL_MAX FLT_MAX |
Definition at line 31 of file ops_tmpl_float.c.
#define PIXEL_MIN FLT_MIN |
Definition at line 32 of file ops_tmpl_float.c.
#define pixel_t float |
Definition at line 33 of file ops_tmpl_float.c.
#define block_t f32block_t |
Definition at line 34 of file ops_tmpl_float.c.
#define px f32 |
Definition at line 35 of file ops_tmpl_float.c.
#define IS_FLOAT 1 |
Definition at line 40 of file ops_tmpl_float.c.
#define FMT_CHAR f |
Definition at line 41 of file ops_tmpl_float.c.
#define WRAP_DITHER | ( | N | ) |
Definition at line 93 of file ops_tmpl_float.c.
#define WRAP_LINEAR | ( | NAME, | |
MASK | |||
) |
Definition at line 180 of file ops_tmpl_float.c.
DECL_SETUP | ( | setup_dither | ) |
Definition at line 44 of file ops_tmpl_float.c.
DECL_FUNC | ( | dither | , |
const int | size_log2 | ||
) |
Definition at line 69 of file ops_tmpl_float.c.
DECL_SETUP | ( | setup_linear | ) |
Definition at line 122 of file ops_tmpl_float.c.
DECL_FUNC | ( | linear_mask | , |
const uint32_t | mask | ||
) |
Fully general case for a 5x5 linear affine transformation.
Should never be called without constant mask
. This function will compile down to the appropriately optimized version for the required subset of operations when called with a constant mask.
Definition at line 141 of file ops_tmpl_float.c.
|
static |
Referenced by DECL_FUNC(), and DECL_SETUP().