FFmpeg
Macros | Functions
fmtconvert.c File Reference
#include <math.h>
#include <stdint.h>
#include <string.h>
#include "libavutil/internal.h"
#include "libavutil/common.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/fmtconvert.h"
#include "checkasm.h"

Go to the source code of this file.

Macros

#define BUF_SIZE   1024
 
#define randomize_input(len)
 

Functions

void checkasm_check_fmtconvert (void)
 

Macro Definition Documentation

◆ BUF_SIZE

#define BUF_SIZE   1024

Definition at line 33 of file fmtconvert.c.

◆ randomize_input

#define randomize_input (   len)
Value:
do { \
int k; \
for (k = 0; k < len; k++) { \
in[k] = rnd() - INT32_MAX; \
} \
for ( ; k < BUF_SIZE; k++) { \
in[k] = INT32_MAX; \
} \
} while (0)

Definition at line 35 of file fmtconvert.c.

Function Documentation

◆ checkasm_check_fmtconvert()

void checkasm_check_fmtconvert ( void  )

Definition at line 46 of file fmtconvert.c.

BUF_SIZE
#define BUF_SIZE
Definition: fmtconvert.c:33
rnd
#define rnd()
Definition: checkasm.h:172
len
int len
Definition: vorbis_enc_data.h:426