FFmpeg
Macros | Functions
vf_pp7.c File Reference
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include "checkasm.h"
#include "libavfilter/vf_pp7dsp.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"

Go to the source code of this file.

Macros

#define randomize_buffer(buf)
 

Functions

static void check_dctB (const PP7DSPContext *const pp7dsp)
 
void checkasm_check_vf_pp7 (void)
 

Macro Definition Documentation

◆ randomize_buffer

#define randomize_buffer (   buf)
Value:
do { \
static_assert(!(sizeof(buf) % 4), "Tail handling needed"); \
for (size_t k = 0; k < sizeof(buf); k += 4) { \
AV_WN32A((char*)buf + k, rnd()); \
} \
} while (0)

Definition at line 28 of file vf_pp7.c.

Function Documentation

◆ check_dctB()

static void check_dctB ( const PP7DSPContext *const  pp7dsp)
static

Definition at line 36 of file vf_pp7.c.

Referenced by checkasm_check_vf_pp7().

◆ checkasm_check_vf_pp7()

void checkasm_check_vf_pp7 ( void  )

Definition at line 58 of file vf_pp7.c.

rnd
#define rnd()
Definition: checkasm.h:208