FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
h264qpel_template.c File Reference
#include "libavutil/common.h"
#include "bit_depth_template.c"
#include "hpel_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

#define H264_LOWPASS (   OPNAME,
  OP,
  OP2 
)

Definition at line 74 of file h264qpel_template.c.

#define H264_MC (   OPNAME,
  SIZE 
)

Definition at line 377 of file h264qpel_template.c.

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

Definition at line 530 of file h264qpel_template.c.

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

Definition at line 532 of file h264qpel_template.c.

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

Definition at line 533 of file h264qpel_template.c.

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

Definition at line 534 of file h264qpel_template.c.

Function Documentation

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

Definition at line 26 of file h264qpel_template.c.

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

Definition at line 37 of file h264qpel_template.c.

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

Definition at line 48 of file h264qpel_template.c.

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

Definition at line 60 of file h264qpel_template.c.