Logo Search packages:      
Sourcecode: ffmpeg-debian version File versions

dct-test.c File Reference

Detailed Description

DCT test (c) 2001 Fabrice Bellard Started from sample code by Juan J. Sierralta P.

Definition in file dct-test.c.

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include <math.h>
#include "libavutil/common.h"
#include "simple_idct.h"
#include "aandcttab.h"
#include "faandct.h"
#include "faanidct.h"
#include "x86/idct_xvid.h"

Go to the source code of this file.


struct  algo


#define AANSCALE_BITS   12
#define NB_ITS   20000
#define NB_ITS_SPEED   50000


static DCTELEM block1[64] __attribute__ ((aligned(8)))
static DCTELEM block[64] __attribute__ ((aligned(16)))
void dct_error (const char *name, int is_idct, void(*fdct_func)(DCTELEM *block), void(*fdct_ref)(DCTELEM *block), int form, int test)
void * fast_memcpy (void *a, const void *b, size_t c)
void fdct_altivec (DCTELEM *block)
void ff_bfin_fdct (DCTELEM *block)
void ff_bfin_idct (DCTELEM *block)
void ff_mmx_idct (DCTELEM *data)
void ff_mmxext_idct (DCTELEM *data)
void ff_ref_dct_init (void)
void ff_ref_fdct (DCTELEM *block)
void ff_ref_idct (DCTELEM *block)
void ff_simple_idct_armv6 (DCTELEM *data)
void ff_simple_idct_axp (DCTELEM *data)
void ff_simple_idct_neon (DCTELEM *data)
int64_t gettime (void)
void help (void)
void idct248_error (const char *name, void(*idct248_put)(uint8_t *dest, int line_size, int16_t *block))
void idct248_ref (uint8_t *dest, int linesize, int16_t *block)
void idct_mmx_init (void)
void j_rev_dct_ARM (DCTELEM *data)
int main (int argc, char **argv)
static void mmx_emms (void)
void odivx_idct_c (short *block)
void simple_idct_ARM (DCTELEM *data)
void simple_idct_armv5te (DCTELEM *data)


struct algo algos []
static int cpu_flags
uint8_t cropTbl [256+2 *MAX_NEG_CROP]
static short idct_mmx_perm [64]
static short idct_simple_mmx_perm [64]
static const uint8_t idct_sse2_row_perm [8] = {0, 4, 1, 5, 2, 6, 3, 7}

Generated by  Doxygen 1.6.0   Back to index