FFmpeg
Macros | Functions
vf_hflip.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavfilter/hflip.h"
#include "libavfilter/vf_hflip_init.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"

Go to the source code of this file.

Macros

#define WIDTH   256
 
#define WIDTH_PADDED   256 + 32
 
#define randomize_buffers(buf, size)
 

Functions

static void check_hflip (int step, const char *report_name)
 
void checkasm_check_vf_hflip (void)
 

Macro Definition Documentation

◆ WIDTH

#define WIDTH   256

Definition at line 26 of file vf_hflip.c.

◆ WIDTH_PADDED

#define WIDTH_PADDED   256 + 32

Definition at line 27 of file vf_hflip.c.

◆ randomize_buffers

#define randomize_buffers (   buf,
  size 
)
Value:
do { \
int j; \
uint8_t *tmp_buf = (uint8_t *)buf;\
for (j = 0; j < size; j++) \
tmp_buf[j] = rnd() & 0xFF; \
} while (0)

Definition at line 29 of file vf_hflip.c.

Function Documentation

◆ check_hflip()

static void check_hflip ( int  step,
const char *  report_name 
)
static

Definition at line 37 of file vf_hflip.c.

Referenced by checkasm_check_vf_hflip().

◆ checkasm_check_vf_hflip()

void checkasm_check_vf_hflip ( void  )

Definition at line 72 of file vf_hflip.c.

rnd
#define rnd()
Definition: checkasm.h:177
size
int size
Definition: twinvq_data.h:10344