FFmpeg
Macros | Functions
hevc_dequant.c File Reference
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/hevc/dsp.h"
#include "checkasm.h"

Go to the source code of this file.

Macros

#define randomize_buffers(buf, size)
 

Functions

static void check_dequant (HEVCDSPContext *h, int bit_depth)
 
void checkasm_check_hevc_dequant (void)
 

Macro Definition Documentation

◆ randomize_buffers

#define randomize_buffers (   buf,
  size 
)
Value:
do { \
int j; \
for (j = 0; j < size; j++) { \
int16_t r = rnd() & 0x7FFF; \
if (rnd() & 1) r = -r; \
AV_WN16A(buf + j, r); \
} \
} while (0)

Definition at line 30 of file hevc_dequant.c.

Function Documentation

◆ check_dequant()

static void check_dequant ( HEVCDSPContext h,
int  bit_depth 
)
static

Definition at line 40 of file hevc_dequant.c.

Referenced by checkasm_check_hevc_dequant().

◆ checkasm_check_hevc_dequant()

void checkasm_check_hevc_dequant ( void  )

Definition at line 65 of file hevc_dequant.c.

r
const char * r
Definition: vf_curves.c:127
rnd
#define rnd()
Definition: checkasm.h:200
AV_WN16A
#define AV_WN16A(p, v)
Definition: intreadwrite.h:530
size
int size
Definition: twinvq_data.h:10344