FFmpeg
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <stdarg.h>
#include "libavutil/cpu.h"
#include "libavutil/pixdesc.h"
#include "libavutil/lfg.h"
#include "libavutil/sfc64.h"
#include "libavutil/frame.h"
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "libavutil/pixfmt.h"
#include "libavutil/avassert.h"
#include "libavutil/macros.h"
#include "libswscale/swscale.h"
Go to the source code of this file.
Data Structures | |
struct | options |
struct | mode |
Functions | |
static int | fmt_comps (enum AVPixelFormat fmt) |
static void | get_mse (int mse[4], const AVFrame *a, const AVFrame *b, int comps) |
static int | scale_legacy (AVFrame *dst, const AVFrame *src, struct mode mode, struct options opts) |
static int | run_test (enum AVPixelFormat src_fmt, enum AVPixelFormat dst_fmt, int dst_w, int dst_h, struct mode mode, struct options opts, const AVFrame *ref, const int mse_ref[4]) |
static int | run_self_tests (const AVFrame *ref, struct options opts) |
static int | run_file_tests (const AVFrame *ref, FILE *fp, struct options opts) |
int | main (int argc, char **argv) |
Variables | |
const struct mode | modes [] |
static FFSFC64 | prng_state |
static SwsContext * | sws [3] |
|
static |
Definition at line 71 of file swscale.c.
Referenced by run_test().
Definition at line 80 of file swscale.c.
Referenced by run_test().
|
static |
Definition at line 115 of file swscale.c.
Referenced by run_test().
|
static |
Definition at line 147 of file swscale.c.
Referenced by run_file_tests(), and run_self_tests().
const struct mode modes[] |
Definition at line 57 of file swscale.c.
Referenced by decode_mb_mode(), derive_chroma_intra_pred_mode(), ff_vvc_ref_filter_flag_derive(), libsrt_epoll_create(), and run_self_tests().
|
static |
Definition at line 68 of file swscale.c.
Referenced by main(), and run_self_tests().
|
static |
Definition at line 69 of file swscale.c.
Referenced by add_legacy_sws_pass(), alloc_set_opts(), check_chrConvertRange(), check_hscale(), check_input_planar_rgb_to_a(), check_input_planar_rgb_to_uv(), check_input_planar_rgb_to_y(), check_lumConvertRange(), check_output_yuv2gbrp(), check_rgb24toyv12(), check_rgb_to_uv(), check_rgb_to_y(), check_semiplanar(), check_yuv2rgb(), check_yuv2yuv1(), check_yuv2yuvX(), checkasm_check_sw_rgb(), context_init_threaded(), draw_qrcode(), ff_sws_init_single_context(), ff_sws_slice_worker(), free_legacy_swscale(), handle_formats(), init_legacy_subpass(), LLVMFuzzerTestOneInput(), main(), run_legacy_swscale(), run_legacy_unscaled(), run_test(), scale_internal(), setup_legacy_swscale(), slice_ctx(), sws_frame_end(), sws_frame_start(), sws_freeContext(), sws_getCachedContext(), sws_getColorspaceDetails(), sws_getContext(), sws_init_context(), sws_internal(), sws_receive_slice(), sws_receive_slice_alignment(), sws_scale(), sws_scale_frame(), sws_send_slice(), and sws_setColorspaceDetails().