libswscale/swscale-example.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <stdarg.h>
#include "avutil.h"
#include "swscale.h"
#include "swscale_internal.h"
#include "rgb2rgb.h"

Go to the source code of this file.

Defines

#define W   96
#define H   96

Functions

static uint64_t getSSD (uint8_t *src1, uint8_t *src2, int stride1, int stride2, int w, int h)
static int doTest (uint8_t *ref[3], int refStride[3], int w, int h, int srcFormat, int dstFormat, int srcW, int srcH, int dstW, int dstH, int flags)
void fast_memcpy (void *a, void *b, int s)
static void selfTest (uint8_t *src[3], int stride[3], int w, int h)
int main (int argc, char **argv)


Define Documentation

#define H   96

Definition at line 196 of file swscale-example.c.

Referenced by idct(), init_demo(), main(), pred16x16_plane_compat_c(), and pred8x8_plane_c().

#define W   96

Definition at line 195 of file swscale-example.c.


Function Documentation

static int doTest ( uint8_t ref[3],
int  refStride[3],
int  w,
int  h,
int  srcFormat,
int  dstFormat,
int  srcW,
int  srcH,
int  dstW,
int  dstH,
int  flags 
) [static]

Definition at line 52 of file swscale-example.c.

Referenced by selfTest().

void fast_memcpy ( void *  a,
void *  b,
int  s 
)

Definition at line 159 of file swscale-example.c.

static uint64_t getSSD ( uint8_t src1,
uint8_t src2,
int  stride1,
int  stride2,
int  w,
int  h 
) [static]

Definition at line 33 of file swscale-example.c.

Referenced by doTest().

int main ( int  argc,
char **  argv 
)

Definition at line 198 of file swscale-example.c.

static void selfTest ( uint8_t src[3],
int  stride[3],
int  w,
int  h 
) [static]

Definition at line 163 of file swscale-example.c.

Referenced by main(), and swScale_TMPL().


Generated on Wed Feb 9 19:10:13 2011 for ffmpeg by  doxygen 1.5.6