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 "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

#define H264_LOWPASS (   OPNAME,
  OP,
  OP2 
)

Definition at line 77 of file h264qpel_template.c.

#define H264_MC (   OPNAME,
  SIZE 
)

Definition at line 380 of file h264qpel_template.c.

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

Definition at line 533 of file h264qpel_template.c.

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

Definition at line 535 of file h264qpel_template.c.

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

Definition at line 536 of file h264qpel_template.c.

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

Definition at line 537 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 29 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 40 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 51 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 63 of file h264qpel_template.c.