tests/tiny_psnr.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <assert.h>

Go to the source code of this file.

Defines

#define FFMIN(a, b)   ((a) > (b) ? (b) : (a))
#define F   100
#define SIZE   2048

Functions

static int64_t log16 (uint64_t a)
static uint64_t int_sqrt (uint64_t a)
int main (int argc, char *argv[])

Variables

uint64_t exp16_table [21]


Define Documentation

#define F   100

Definition at line 28 of file tiny_psnr.c.

Referenced by idct(), and main().

#define FFMIN ( a,
 )     ((a) > (b) ? (b) : (a))

Definition at line 27 of file tiny_psnr.c.

#define SIZE   2048

Definition at line 29 of file tiny_psnr.c.


Function Documentation

static uint64_t int_sqrt ( uint64_t  a  )  [static]

Definition at line 88 of file tiny_psnr.c.

Referenced by main().

static int64_t log16 ( uint64_t  a  )  [static]

Definition at line 71 of file tiny_psnr.c.

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

Definition at line 104 of file tiny_psnr.c.


Variable Documentation

uint64_t exp16_table[21]

Initial value:

{
     65537,
     65538,
     65540,
     65544,
     65552,
     65568,
     65600,
     65664,
     65793,
     66050,
     66568,
     67616,
     69763,
     74262,
     84150,
    108051,
    178145,
    484249,
   3578144,
 195360063,
 582360139072LL,
}

Definition at line 31 of file tiny_psnr.c.

Referenced by log16().


Generated on Fri Oct 26 02:38:22 2012 for FFmpeg by  doxygen 1.5.8