FFmpeg
Macros | Functions
h264qpel_template.c File Reference
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "bit_depth_template.c"
#include "hpel_template.c"
#include "pel_template.c"

Go to the source code of this file.

Macros

#define H264_LOWPASS(OPNAME, OP, OP2)
 
#define H264_MC(OPNAME, SIZE)
 
#define op_avg(a, b)   a = (((a)+CLIP(((b) + 16)>>5)+1)>>1)
 
#define op_put(a, b)   a = CLIP(((b) + 16)>>5)
 
#define op2_avg(a, b)   a = (((a)+CLIP(((b) + 512)>>10)+1)>>1)
 
#define op2_put(a, b)   a = CLIP(((b) + 512)>>10)
 

Functions

static void FUNC() copy_block2 (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 
static void FUNC() copy_block4 (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 
static void FUNC() copy_block8 (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 
static void FUNC() copy_block16 (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 

Macro Definition Documentation

◆ H264_LOWPASS

#define H264_LOWPASS (   OPNAME,
  OP,
  OP2 
)

Definition at line 77 of file h264qpel_template.c.

◆ H264_MC

#define H264_MC (   OPNAME,
  SIZE 
)

Definition at line 380 of file h264qpel_template.c.

◆ op_avg

#define op_avg (   a,
  b 
)    a = (((a)+CLIP(((b) + 16)>>5)+1)>>1)

Definition at line 533 of file h264qpel_template.c.

◆ op_put

#define op_put (   a,
  b 
)    a = CLIP(((b) + 16)>>5)

Definition at line 535 of file h264qpel_template.c.

◆ op2_avg

#define op2_avg (   a,
  b 
)    a = (((a)+CLIP(((b) + 512)>>10)+1)>>1)

Definition at line 536 of file h264qpel_template.c.

◆ op2_put

#define op2_put (   a,
  b 
)    a = CLIP(((b) + 512)>>10)

Definition at line 537 of file h264qpel_template.c.

Function Documentation

◆ copy_block2()

static void FUNC() copy_block2 ( uint8_t *  dst,
const uint8_t *  src,
int  dstStride,
int  srcStride,
int  h 
)
inlinestatic

Definition at line 29 of file h264qpel_template.c.

◆ copy_block4()

static void FUNC() copy_block4 ( uint8_t *  dst,
const uint8_t *  src,
int  dstStride,
int  srcStride,
int  h 
)
inlinestatic

Definition at line 40 of file h264qpel_template.c.

◆ copy_block8()

static void FUNC() copy_block8 ( uint8_t *  dst,
const uint8_t *  src,
int  dstStride,
int  srcStride,
int  h 
)
inlinestatic

Definition at line 51 of file h264qpel_template.c.

◆ copy_block16()

static void FUNC() copy_block16 ( uint8_t *  dst,
const uint8_t *  src,
int  dstStride,
int  srcStride,
int  h 
)
inlinestatic

Definition at line 63 of file h264qpel_template.c.