FFmpeg
Macros | Functions
sw_scale.c File Reference
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#include "checkasm.h"

Go to the source code of this file.

Macros

#define randomize_buffers(buf, size)
 
#define SRC_PIXELS   128
 
#define MAX_FILTER_WIDTH   40
 
#define FILTER_SIZES   5
 
#define HSCALE_PAIRS   2
 

Functions

static void check_hscale (void)
 
void checkasm_check_sw_scale (void)
 

Macro Definition Documentation

#define randomize_buffers (   buf,
  size 
)
Value:
do { \
int j; \
for (j = 0; j < size; j+=4) \
AV_WN32(buf + j, rnd()); \
} while (0)
ptrdiff_t size
Definition: opengl_enc.c:100
int
#define AV_WN32(p, v)
Definition: intreadwrite.h:376
#define rnd()
Definition: checkasm.h:107
for(j=16;j >0;--j)

Definition at line 31 of file sw_scale.c.

Referenced by check_hscale().

#define SRC_PIXELS   128

Definition at line 38 of file sw_scale.c.

Referenced by check_hscale().

#define MAX_FILTER_WIDTH   40

Referenced by check_hscale().

#define FILTER_SIZES   5

Referenced by check_hscale().

#define HSCALE_PAIRS   2

Referenced by check_hscale().

Function Documentation

static void check_hscale ( void  )
static

Definition at line 40 of file sw_scale.c.

Referenced by checkasm_check_sw_scale().

void checkasm_check_sw_scale ( void  )

Definition at line 130 of file sw_scale.c.