FFmpeg
Macros | Functions
png.c File Reference
#include "libavutil/mem_internal.h"
#include "libavcodec/pngdsp.h"
#include "checkasm.h"

Go to the source code of this file.

Macros

#define BUF_SIZE   4096
 
#define randomize_buf(buf, size)
 

Functions

static void check_add_bytes_l2 (const PNGDSPContext *c)
 
static void check_add_paeth_prediction (const PNGDSPContext *c)
 
void checkasm_check_png (void)
 

Macro Definition Documentation

◆ BUF_SIZE

#define BUF_SIZE   4096

Definition at line 27 of file png.c.

◆ randomize_buf

#define randomize_buf (   buf,
  size 
)
Value:
do { \
for (int i = 0; i < size; i++) \
buf[i] = (uint8_t)rnd(); \
} while (0)

Definition at line 29 of file png.c.

Function Documentation

◆ check_add_bytes_l2()

static void check_add_bytes_l2 ( const PNGDSPContext c)
static

Definition at line 35 of file png.c.

Referenced by checkasm_check_png().

◆ check_add_paeth_prediction()

static void check_add_paeth_prediction ( const PNGDSPContext c)
static

Definition at line 61 of file png.c.

Referenced by checkasm_check_png().

◆ checkasm_check_png()

void checkasm_check_png ( void  )

Definition at line 106 of file png.c.

rnd
#define rnd()
Definition: checkasm.h:201
size
int size
Definition: twinvq_data.h:10344
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:256