libswscale/swscale-example.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <stdarg.h>
#include "libavutil/avutil.h"
#include "swscale.h"
#include "swscale_internal.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)
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 186 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 185 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 51 of file swscale-example.c.

Referenced by selfTest().

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

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

Referenced by doTest().

int main ( int  argc,
char **  argv 
)

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

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

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

Referenced by main().


Generated on Fri Oct 26 02:35:46 2012 for FFmpeg by  doxygen 1.5.8