|
Libav 0.7.1
|
DSP utils. More...
#include "high_bit_depth.h"Go to the source code of this file.
Defines | |
| #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) |
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 *_buf, int _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() | add_pixels8 (uint8_t *restrict _pixels, DCTELEM *_block, int line_size) |
| static void FUNCC() | add_pixels4 (uint8_t *restrict _pixels, DCTELEM *_block, int line_size) |
| 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) |
| static void FUNCC() | clear_block (DCTELEM *block) |
| static void FUNCC() | clear_blocks (DCTELEM *blocks) |
| memset(blocks, 0, sizeof(DCTELEM)*6*64) | |
DSP utils.
Definition in file dsputil_template.c.
| #define H264_CHROMA_MC | ( | OPNAME, | |
| OP | |||
| ) |
Definition at line 771 of file dsputil_template.c.
| #define H264_LOWPASS | ( | OPNAME, | |
| OP, | |||
| OP2 | |||
| ) |
Definition at line 889 of file dsputil_template.c.
| #define H264_MC | ( | OPNAME, | |
| SIZE | |||
| ) |
Definition at line 1192 of file dsputil_template.c.
| #define op2_avg | ( | a, | |
| b | |||
| ) | a = (((a)+CLIP(((b) + 512)>>10)+1)>>1) |
Definition at line 1332 of file dsputil_template.c.
| #define op2_put | ( | a, | |
| b | |||
| ) | a = CLIP(((b) + 512)>>10) |
Definition at line 1333 of file dsputil_template.c.
| #define op_avg | ( | a, | |
| b | |||
| ) | a = (((a)+(((b) + 32)>>6)+1)>>1) |
Definition at line 1329 of file dsputil_template.c.
| #define op_avg | ( | a, | |
| b | |||
| ) | a = (((a)+CLIP(((b) + 16)>>5)+1)>>1) |
Definition at line 1329 of file dsputil_template.c.
| #define op_avg | ( | a, | |
| b | |||
| ) | a = rnd_avg_pixel4(a, b) |
Definition at line 1329 of file dsputil_template.c.
| #define op_put | ( | a, | |
| b | |||
| ) | a = CLIP(((b) + 16)>>5) |
Definition at line 1331 of file dsputil_template.c.
| #define op_put | ( | a, | |
| b | |||
| ) | a = (((b) + 32)>>6) |
Definition at line 1331 of file dsputil_template.c.
| #define op_put | ( | a, | |
| b | |||
| ) | a = b |
Definition at line 1331 of file dsputil_template.c.
| #define PIXOP2 | ( | OPNAME, | |
| OP | |||
| ) |
Definition at line 377 of file dsputil_template.c.
| #define put_no_rnd_pixels16_c put_pixels16_c |
Definition at line 761 of file dsputil_template.c.
| #define put_no_rnd_pixels8_c put_pixels8_c |
Definition at line 760 of file dsputil_template.c.
| static void FUNCC() add_pixels4 | ( | uint8_t *restrict | _pixels, |
| DCTELEM * | _block, | ||
| int | line_size | ||
| ) | [static] |
Definition at line 216 of file dsputil_template.c.
| static void FUNCC() add_pixels8 | ( | uint8_t *restrict | _pixels, |
| DCTELEM * | _block, | ||
| int | line_size | ||
| ) | [static] |
Definition at line 195 of file dsputil_template.c.
| static void FUNCC() clear_block | ( | DCTELEM * | block | ) | [static] |
Definition at line 1380 of file dsputil_template.c.
| static void FUNCC() clear_blocks | ( | DCTELEM * | blocks | ) | [static] |
memset(blocks, 0, sizeof(DCTELEM)*6*64)
Definition at line 1388 of file dsputil_template.c.
| 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 * | _buf, |
| int | _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 1376 of file dsputil_template.c.
| void FUNCC() ff_avg_pixels8x8 | ( | uint8_t * | dst, |
| uint8_t * | src, | ||
| int | stride | ||
| ) |
Definition at line 1370 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.
| 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.
Referenced by gmc_mmx().
| void FUNCC() ff_put_pixels16x16 | ( | uint8_t * | dst, |
| uint8_t * | src, | ||
| int | stride | ||
| ) |
Definition at line 1373 of file dsputil_template.c.
| void FUNCC() ff_put_pixels8x8 | ( | uint8_t * | dst, |
| uint8_t * | src, | ||
| int | stride | ||
| ) |
Definition at line 1367 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 763 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 767 of file dsputil_template.c.
1.7.4