FFmpeg
Functions
target_sws_fuzzer.c File Reference
#include "config.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/cpu.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavcodec/bytestream.h"
#include "libswscale/swscale.h"

Go to the source code of this file.

Functions

int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
 
static void error (const char *err)
 
static int alloc_plane (uint8_t *data[AV_VIDEO_MAX_PLANES], int stride[AV_VIDEO_MAX_PLANES], int w, int h, int format, int *hshift, int *vshift)
 
static void free_plane (uint8_t *data[AV_VIDEO_MAX_PLANES])
 
static void mapres (unsigned *r0, unsigned *r1)
 

Function Documentation

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t *  data,
size_t  size 
)

Definition at line 88 of file target_sws_fuzzer.c.

◆ error()

static void error ( const char *  err)
static

Definition at line 36 of file target_sws_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ alloc_plane()

static int alloc_plane ( uint8_t *  data[AV_VIDEO_MAX_PLANES],
int  stride[AV_VIDEO_MAX_PLANES],
int  w,
int  h,
int  format,
int hshift,
int vshift 
)
static

Definition at line 42 of file target_sws_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ free_plane()

static void free_plane ( uint8_t *  data[AV_VIDEO_MAX_PLANES])
static

Definition at line 73 of file target_sws_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ mapres()

static void mapres ( unsigned *  r0,
unsigned *  r1 
)
static

Definition at line 79 of file target_sws_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().