FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
h264qpel.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavcodec/h264qpel.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Macros

#define SIZEOF_PIXEL   ((bit_depth + 7) / 8)
 
#define BUF_SIZE   (2 * 16 * (16 + 3 + 4))
 
#define randomize_buffers()
 
#define src0   (buf0 + 3 * 2 * 16) /* h264qpel functions read data from negative src pointer offsets */
 
#define src1   (buf1 + 3 * 2 * 16)
 

Functions

void checkasm_check_h264qpel (void)
 

Variables

static const uint32_t pixel_mask [3] = { 0xffffffff, 0x01ff01ff, 0x03ff03ff }
 

Macro Definition Documentation

#define SIZEOF_PIXEL   ((bit_depth + 7) / 8)

Definition at line 30 of file h264qpel.c.

Referenced by checkasm_check_h264qpel().

#define BUF_SIZE   (2 * 16 * (16 + 3 + 4))

Definition at line 31 of file h264qpel.c.

Referenced by checkasm_check_h264qpel().

#define randomize_buffers ( )
Value:
do { \
uint32_t mask = pixel_mask[bit_depth - 8]; \
int k; \
for (k = 0; k < BUF_SIZE; k += 4) { \
uint32_t r = rnd() & mask; \
AV_WN32A(buf0 + k, r); \
AV_WN32A(buf1 + k, r); \
r = rnd(); \
AV_WN32A(dst0 + k, r); \
AV_WN32A(dst1 + k, r); \
} \
} while (0)
#define AV_WN32A(p, v)
Definition: intreadwrite.h:543
#define BUF_SIZE
Definition: h264qpel.c:31
static const uint32_t pixel_mask[3]
Definition: h264qpel.c:28
static const uint16_t mask[17]
Definition: lzw.c:38
const char * r
Definition: vf_curves.c:111
static void bit_depth(AudioStatsContext *s, uint64_t mask, uint64_t imask, AVRational *depth)
Definition: af_astats.c:150
int
#define rnd()
Definition: checkasm.h:74
for(j=16;j >0;--j)

Definition at line 33 of file h264qpel.c.

Referenced by checkasm_check_h264qpel().

#define src0   (buf0 + 3 * 2 * 16) /* h264qpel functions read data from negative src pointer offsets */

Definition at line 47 of file h264qpel.c.

Referenced by checkasm_check_h264qpel().

#define src1   (buf1 + 3 * 2 * 16)

Definition at line 48 of file h264qpel.c.

Referenced by checkasm_check_h264qpel().

Function Documentation

void checkasm_check_h264qpel ( void  )

Definition at line 50 of file h264qpel.c.

Variable Documentation

const uint32_t pixel_mask[3] = { 0xffffffff, 0x01ff01ff, 0x03ff03ff }
static

Definition at line 28 of file h264qpel.c.