FFmpeg
Loading...
Searching...
No Matches
h264qpel_template.c File Reference

Go to the source code of this file.

Macros

#define H264_LOWPASS(OPNAME, OP, OP2)
 
#define H264_FPEL(OPNAME, NAME, SIZE)
 
#define H264_MC(OPNAME, NAME, SIZE)
 
#define op_avg(a, b)
 
#define op_put(a, b)
 
#define op2_avg(a, b)
 
#define op2_put(a, b)
 
#define H264_QPEL(OPNAME, NAME, SIZE)
 

Functions

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

Macro Definition Documentation

◆ H264_LOWPASS

#define H264_LOWPASS ( OPNAME,
OP,
OP2 )

Definition at line 77 of file h264qpel_template.c.

◆ H264_FPEL

#define H264_FPEL ( OPNAME,
NAME,
SIZE )
Value:
static void FUNCC2(OPNAME ## NAME ## _qpel ## SIZE ## _mc00)(uint8_t *dst, const uint8_t *restrict src, ptrdiff_t stride)\
{\
FUNCC(OPNAME ## pixels ## SIZE)(dst, src, stride, SIZE);\
}
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Definition dsp.h:87
#define FUNCC2(a)
#define SIZE
#define stride
#define src
Definition vp8dsp.c:248

Definition at line 307 of file h264qpel_template.c.

◆ H264_MC

#define H264_MC ( OPNAME,
NAME,
SIZE )

Definition at line 313 of file h264qpel_template.c.

◆ op_avg

#define op_avg ( a,
b )
Value:
a = (((a)+CLIP(((b) + 16)>>5)+1)>>1)
#define CLIP(a)
int a
#define b
Definition input.c:43

Definition at line 461 of file h264qpel_template.c.

◆ op_put

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

Definition at line 463 of file h264qpel_template.c.

◆ op2_avg

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

Definition at line 464 of file h264qpel_template.c.

◆ op2_put

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

Definition at line 465 of file h264qpel_template.c.

◆ H264_QPEL

#define H264_QPEL ( OPNAME,
NAME,
SIZE )
Value:
H264_MC(OPNAME, NAME, SIZE)
#define H264_MC(OPNAME, NAME, SIZE)

Definition at line 473 of file h264qpel_template.c.

Function Documentation

◆ copy_block2()

static void FUNC copy_block2 ( uint8_t * dst,
const uint8_t *restrict src,
ptrdiff_t dstStride,
ptrdiff_t 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 *restrict src,
ptrdiff_t dstStride,
ptrdiff_t 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 *restrict src,
ptrdiff_t dstStride,
ptrdiff_t 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 *restrict src,
ptrdiff_t dstStride,
ptrdiff_t srcStride,
int h )
inlinestatic

Definition at line 63 of file h264qpel_template.c.