FFmpeg
Loading...
Searching...
No Matches
png.c File Reference
#include <string.h>
#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 28 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)
#define i(width, name, range_min, range_max)
Definition cbs_h264.c:63
#define rnd
Definition checkasm.h:136
int size

Definition at line 30 of file png.c.

Referenced by check_add_bytes_l2(), and check_add_paeth_prediction().

Function Documentation

◆ check_add_bytes_l2()

static void check_add_bytes_l2 ( const PNGDSPContext * c)
static

Definition at line 36 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 62 of file png.c.

Referenced by checkasm_check_png().

◆ checkasm_check_png()

void checkasm_check_png ( void )

Definition at line 107 of file png.c.