FFmpeg
|
#include "config.h"
#include "config_components.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "libavutil/cpu.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/lfg.h"
#include "libavutil/mem_internal.h"
#include "libavutil/time.h"
#include "libavcodec/dct.h"
#include "libavcodec/idctdsp.h"
#include "libavcodec/simple_idct.h"
#include "libavcodec/xvididct.h"
#include "libavcodec/aandcttab.h"
#include "libavcodec/faandct.h"
#include "libavcodec/faanidct.h"
#include "libavcodec/dctref.h"
#include "compat/getopt.c"
Go to the source code of this file.
Data Structures | |
struct | algo |
Macros | |
#define | AANSCALE_BITS 12 |
#define | NB_ITS 20000 |
#define | NB_ITS_SPEED 50000 |
Functions | |
static void | ff_prores_idct_wrap (int16_t *dst) |
static void | init_block (int16_t block[64], int test, int is_idct, AVLFG *prng, int vals) |
static void | permute (int16_t dst[64], const int16_t src[64], enum idct_permutation_type perm_type) |
static int | dct_error (const struct algo *dct, int test, int is_idct, int speed, const int bits) |
static void | idct248_ref (uint8_t *dest, ptrdiff_t linesize, int16_t *block) |
static void | idct248_error (const char *name, void(*idct248_put)(uint8_t *dest, ptrdiff_t line_size, int16_t *block), int speed) |
static void | help (void) |
int | main (int argc, char **argv) |
Variables | |
static const struct algo | fdct_tab [] |
static const struct algo | idct_tab [] |
static const struct algo | fdct_tab_arch [] = { { 0 } } |
static const struct algo | idct_tab_arch [] = { { 0 } } |
static int16_t | block [64] |
static int16_t | block1 [64] |
static uint8_t | img_dest [64] |
static uint8_t | img_dest1 [64] |
DCT test (c) 2001 Fabrice Bellard Started from sample code by Juan J. Sierralta P.
Definition in file dct.c.
Definition at line 120 of file dct.c.
Referenced by dct_error().
|
static |
Definition at line 150 of file dct.c.
Referenced by dct_error().
|
static |
Definition at line 295 of file dct.c.
Referenced by idct248_error().
|
static |
Definition at line 452 of file dct.c.
Referenced by ac_decode_bool(), and main().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 117 of file dct.c.
Referenced by dct_error(), idct248_error(), idct248_ref(), and init_block().
|
static |
Definition at line 118 of file dct.c.
Referenced by check_luma_dc_wht(), compare_blocks(), dct_error(), dv_decode_video_segment(), ff_denoise_dct_mmi(), ff_h264_weight_pixels16_8_mmi(), ff_wmv2_add_mb(), idct248_error(), idct248_ref(), process_anticollapse(), put_blocks(), run_single_test(), run_test(), and wmv2_add_block().
|
static |
Definition at line 292 of file dct.c.
Referenced by idct248_error().
|
static |
Definition at line 293 of file dct.c.
Referenced by idct248_error().