FFmpeg
 All Data Structures 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)
 
#define put_h264_qpel8_mc00_14_c   ff_put_pixels8x8_14_c
 
#define avg_h264_qpel8_mc00_14_c   ff_avg_pixels8x8_14_c
 
#define put_h264_qpel16_mc00_14_c   ff_put_pixels16x16_14_c
 
#define avg_h264_qpel16_mc00_14_c   ff_avg_pixels16x16_14_c
 

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 514 of file h264qpel_template.c.

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

Definition at line 516 of file h264qpel_template.c.

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

Definition at line 517 of file h264qpel_template.c.

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

Definition at line 518 of file h264qpel_template.c.

#define put_h264_qpel8_mc00_14_c   ff_put_pixels8x8_14_c

Definition at line 556 of file h264qpel_template.c.

#define avg_h264_qpel8_mc00_14_c   ff_avg_pixels8x8_14_c

Definition at line 557 of file h264qpel_template.c.

#define put_h264_qpel16_mc00_14_c   ff_put_pixels16x16_14_c

Definition at line 558 of file h264qpel_template.c.

#define avg_h264_qpel16_mc00_14_c   ff_avg_pixels16x16_14_c

Definition at line 559 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.