Logo Search packages:      
Sourcecode: blender 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 "dsputil.h"
#include "i386/mmx.h"
#include "simple_idct.h"
#include "faandct.h"

Go to the source code of this file.


#define AANSCALE_BITS   12
#define MAX(a, b)   (((a) > (b)) ? (a) : (b))
#define NB_ITS   20000
#define NB_ITS_SPEED   50000


static DCTELEM block[64] __attribute__ ((aligned(8)))
void dct_error (const char *name, int is_idct, void(*fdct_func)(DCTELEM *block), void(*fdct_ref)(DCTELEM *block), int test)
void * fast_memcpy (void *a, const void *b, size_t c)
void fdct (DCTELEM *block)
void ff_idct_xvid_mmx (DCTELEM *block)
void ff_idct_xvid_mmx2 (DCTELEM *block)
void ff_mmx_idct (DCTELEM *data)
void ff_mmxext_idct (DCTELEM *data)
int64_t gettime (void)
void help (void)
void idct (DCTELEM *block)
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 init_fdct ()
void j_rev_dct (DCTELEM *data)
int main (int argc, char **argv)
void odivx_idct_c (short *block)


static const unsigned short aanscales [64]
uint8_t cropTbl [256+2 *MAX_NEG_CROP]
static short idct_mmx_perm [64]
static short idct_simple_mmx_perm [64]

Generated by  Doxygen 1.6.0   Back to index