FFmpeg
Macros | Functions
vp6dsp.c File Reference
#include <assert.h>
#include <stddef.h>
#include <string.h>
#include "checkasm.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/macros.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/vp6data.h"
#include "libavcodec/vp56dsp.h"

Go to the source code of this file.

Macros

#define randomize_buffer(buf)
 

Functions

void checkasm_check_vp6dsp (void)
 

Macro Definition Documentation

◆ randomize_buffer

#define randomize_buffer (   buf)
Value:
do { \
for (size_t k = 0; k < (sizeof(buf) & ~3); k += 4) \
AV_WN32A(buf + k, rnd()); \
for (size_t k = sizeof(buf) & ~3; k < sizeof(buf); ++k) \
buf[k] = rnd(); \
} while (0)

Definition at line 30 of file vp6dsp.c.

Function Documentation

◆ checkasm_check_vp6dsp()

void checkasm_check_vp6dsp ( void  )

< arbitrary

Definition at line 39 of file vp6dsp.c.

AV_WN32A
#define AV_WN32A(p, v)
Definition: intreadwrite.h:534
rnd
#define rnd()
Definition: checkasm.h:192