libavcodec/dsputil_template.c File Reference

DSP utils. More...

#include "bit_depth_template.c"

Go to the source code of this file.

Defines

#define DCTELEM_FUNCS(dctcoef, suffix)
#define PIXOP2(OPNAME, OP)
#define op_avg(a, b)   a = rnd_avg_pixel4(a, b)
#define op_put(a, b)   a = b
#define put_no_rnd_pixels8_c   put_pixels8_c
#define put_no_rnd_pixels16_c   put_pixels16_c
#define H264_CHROMA_MC(OPNAME, OP)
#define op_avg(a, b)   a = (((a)+(((b) + 32)>>6)+1)>>1)
#define op_put(a, b)   a = (((b) + 32)>>6)
#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_8_c   ff_put_pixels8x8_8_c
#define avg_h264_qpel8_mc00_8_c   ff_avg_pixels8x8_8_c
#define put_h264_qpel16_mc00_8_c   ff_put_pixels16x16_8_c
#define avg_h264_qpel16_mc00_8_c   ff_avg_pixels16x16_8_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)
static void FUNCC() draw_edges (uint8_t *p_buf, int p_wrap, int width, int height, int w, int h, int sides)
void FUNC() ff_emulated_edge_mc (uint8_t *buf, const uint8_t *src, int linesize, int block_w, int block_h, int src_x, int src_y, int w, int h)
 Copy a rectangular area of samples to a temporary buffer and replicate the border samples.
static void FUNCC() put_no_rnd_pixels16_l2 (uint8_t *dst, const uint8_t *a, const uint8_t *b, int stride, int h)
static void FUNCC() put_no_rnd_pixels8_l2 (uint8_t *dst, const uint8_t *a, const uint8_t *b, int stride, int h)
void FUNCC() ff_put_pixels8x8 (uint8_t *dst, uint8_t *src, int stride)
void FUNCC() ff_avg_pixels8x8 (uint8_t *dst, uint8_t *src, int stride)
void FUNCC() ff_put_pixels16x16 (uint8_t *dst, uint8_t *src, int stride)
void FUNCC() ff_avg_pixels16x16 (uint8_t *dst, uint8_t *src, int stride)


Detailed Description

DSP utils.

Definition in file dsputil_template.c.


Define Documentation

#define avg_h264_qpel16_mc00_8_c   ff_avg_pixels16x16_8_c

Definition at line 1253 of file dsputil_template.c.

#define avg_h264_qpel8_mc00_8_c   ff_avg_pixels8x8_8_c

Definition at line 1251 of file dsputil_template.c.

#define DCTELEM_FUNCS ( dctcoef,
suffix   ) 

Definition at line 195 of file dsputil_template.c.

#define H264_CHROMA_MC ( OPNAME,
OP   ) 

Definition at line 670 of file dsputil_template.c.

#define H264_LOWPASS ( OPNAME,
OP,
OP2   ) 

Definition at line 788 of file dsputil_template.c.

#define H264_MC ( OPNAME,
SIZE   ) 

Definition at line 1091 of file dsputil_template.c.

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

Definition at line 1231 of file dsputil_template.c.

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

Definition at line 1232 of file dsputil_template.c.

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

Definition at line 1228 of file dsputil_template.c.

#define op_avg ( a,
 )     a = (((a)+(((b) + 32)>>6)+1)>>1)

Definition at line 1228 of file dsputil_template.c.

#define op_avg ( a,
 )     a = rnd_avg_pixel4(a, b)

Definition at line 1228 of file dsputil_template.c.

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

Definition at line 1230 of file dsputil_template.c.

#define op_put ( a,
 )     a = (((b) + 32)>>6)

Definition at line 1230 of file dsputil_template.c.

#define op_put ( a,
 )     a = b

Definition at line 1230 of file dsputil_template.c.

#define PIXOP2 ( OPNAME,
OP   ) 

Definition at line 277 of file dsputil_template.c.

#define put_h264_qpel16_mc00_8_c   ff_put_pixels16x16_8_c

Definition at line 1252 of file dsputil_template.c.

#define put_h264_qpel8_mc00_8_c   ff_put_pixels8x8_8_c

Definition at line 1250 of file dsputil_template.c.

#define put_no_rnd_pixels16_c   put_pixels16_c

Definition at line 660 of file dsputil_template.c.

#define put_no_rnd_pixels8_c   put_pixels8_c

Definition at line 659 of file dsputil_template.c.


Function Documentation

static void FUNC() copy_block16 ( uint8_t dst,
const uint8_t src,
int  dstStride,
int  srcStride,
int  h 
) [inline, static]

Definition at line 66 of file dsputil_template.c.

static void FUNC() copy_block2 ( uint8_t dst,
const uint8_t src,
int  dstStride,
int  srcStride,
int  h 
) [inline, static]

Definition at line 32 of file dsputil_template.c.

static void FUNC() copy_block4 ( uint8_t dst,
const uint8_t src,
int  dstStride,
int  srcStride,
int  h 
) [inline, static]

Definition at line 43 of file dsputil_template.c.

static void FUNC() copy_block8 ( uint8_t dst,
const uint8_t src,
int  dstStride,
int  srcStride,
int  h 
) [inline, static]

Definition at line 54 of file dsputil_template.c.

static void FUNCC() draw_edges ( uint8_t p_buf,
int  p_wrap,
int  width,
int  height,
int  w,
int  h,
int  sides 
) [static]

Definition at line 82 of file dsputil_template.c.

void FUNCC() ff_avg_pixels16x16 ( uint8_t dst,
uint8_t src,
int  stride 
)

Definition at line 1285 of file dsputil_template.c.

void FUNCC() ff_avg_pixels8x8 ( uint8_t dst,
uint8_t src,
int  stride 
)

Definition at line 1279 of file dsputil_template.c.

void FUNC() ff_emulated_edge_mc ( uint8_t buf,
const uint8_t src,
int  linesize,
int  block_w,
int  block_h,
int  src_x,
int  src_y,
int  w,
int  h 
)

Copy a rectangular area of samples to a temporary buffer and replicate the border samples.

Parameters:
buf destination buffer
src source buffer
linesize number of bytes between 2 vertically adjacent samples in both the source and destination buffers
block_w width of block
block_h height of block
src_x x coordinate of the top left sample of the block in the source buffer
src_y y coordinate of the top left sample of the block in the source buffer
w width of the source buffer
h height of the source buffer

Definition at line 128 of file dsputil_template.c.

void FUNCC() ff_put_pixels16x16 ( uint8_t dst,
uint8_t src,
int  stride 
)

Definition at line 1282 of file dsputil_template.c.

void FUNCC() ff_put_pixels8x8 ( uint8_t dst,
uint8_t src,
int  stride 
)

Definition at line 1276 of file dsputil_template.c.

static void FUNCC() put_no_rnd_pixels16_l2 ( uint8_t dst,
const uint8_t a,
const uint8_t b,
int  stride,
int  h 
) [static]

Definition at line 662 of file dsputil_template.c.

static void FUNCC() put_no_rnd_pixels8_l2 ( uint8_t dst,
const uint8_t a,
const uint8_t b,
int  stride,
int  h 
) [static]

Definition at line 666 of file dsputil_template.c.


Generated on Fri Oct 26 02:50:05 2012 for FFmpeg by  doxygen 1.5.8