FFmpeg
Loading...
Searching...
No Matches
vf_pp7.c File Reference
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <string.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)
#define rnd
Definition checkasm.h:135

Definition at line 29 of file vf_pp7.c.

Referenced by check_dctB().

Function Documentation

◆ check_dctB()

static void check_dctB ( const PP7DSPContext *const pp7dsp)
static

Definition at line 37 of file vf_pp7.c.

Referenced by checkasm_check_vf_pp7().

◆ checkasm_check_vf_pp7()

void checkasm_check_vf_pp7 ( void )

Definition at line 59 of file vf_pp7.c.