|
FFmpeg
|
#include <assert.h>#include "libavutil/avassert.h"#include "libavutil/log.h"#include "libavutil/mem.h"#include "libavutil/thread.h"#include "avcodec.h"#include "snow_dwt.h"#include "snow.h"#include "snowdata.h"#include "h264qpel_template.c"Go to the source code of this file.
Macros | |
| #define | pixeltmp int16_t |
| #define | BIT_DEPTH 8 |
| #define | SNOW |
| #define | MC_STRIDE(x) |
| #define | mca(dx, dy, b_w) |
| #define | mcfh(dx, dy) |
Functions | |
| static void | put_snow_qpel2_h_lowpass_8 (uint8_t *dst, const uint8_t *restrict src, int dstStride, int srcStride) |
| static void | put_snow_qpel2_v_lowpass_8 (uint8_t *dst, const uint8_t *restrict src, int dstStride, int srcStride) |
| static void | put_snow_qpel2_hv_lowpass_8 (uint8_t *dst, pixeltmp *tmp, const uint8_t *restrict src, int dstStride, int tmpStride, int srcStride) |
| static av_cold void | init_qpel (SnowContext *const s) |
| void | ff_snow_inner_add_yblock_c (const uint8_t *obmc, const int obmc_stride, uint8_t **block, int b_w, int b_h, int src_x, int src_stride, IDWTELEM *const *lines, int add, uint8_t *dst8) |
| void | ff_snow_reset_contexts (SnowContext *s) |
| int | ff_snow_alloc_blocks (SnowContext *s) |
| static void | mc_block (Plane *p, uint8_t *dst, const uint8_t *src, int stride, int b_w, int b_h, int dx, int dy) |
| void | ff_snow_pred_block (SnowContext *s, uint8_t *dst, uint8_t *tmp, ptrdiff_t stride, int sx, int sy, int b_w, int b_h, const BlockNode *block, int plane_index, int w, int h) |
| mca (mca(8, mca(0, 16) | |
| av_cold int | ff_snow_common_init (AVCodecContext *avctx) |
| int | ff_snow_common_init_after_header (AVCodecContext *avctx) |
| int | ff_snow_frames_prepare (SnowContext *s) |
| av_cold void | ff_snow_common_end (SnowContext *s) |
| #define MC_STRIDE | ( | x | ) |
Referenced by mc_block().
| #define mca | ( | dx, | |
| dy, | |||
| b_w ) |
| #define mcfh | ( | dx, | |
| dy ) |
Referenced by ff_snow_common_init().
|
static |
|
static |
|
static |
|
static |
Definition at line 95 of file snow.c.
Referenced by ff_snow_common_init(), and init_qpel().
| void ff_snow_inner_add_yblock_c | ( | const uint8_t * | obmc, |
| const int | obmc_stride, | ||
| uint8_t ** | block, | ||
| int | b_w, | ||
| int | b_h, | ||
| int | src_x, | ||
| int | src_stride, | ||
| IDWTELEM *const * | lines, | ||
| int | add, | ||
| uint8_t * | dst8 ) |
Definition at line 118 of file snow.c.
Referenced by ff_dwt_init().
| void ff_snow_reset_contexts | ( | SnowContext * | s | ) |
Definition at line 157 of file snow.c.
Referenced by decode_header(), and encode_header().
| int ff_snow_alloc_blocks | ( | SnowContext * | s | ) |
Definition at line 171 of file snow.c.
Referenced by decode_frame(), and encode_init().
|
static |
Definition at line 186 of file snow.c.
Referenced by ff_snow_pred_block().
| void ff_snow_pred_block | ( | SnowContext * | s, |
| uint8_t * | dst, | ||
| uint8_t * | tmp, | ||
| ptrdiff_t | stride, | ||
| int | sx, | ||
| int | sy, | ||
| int | b_w, | ||
| int | b_h, | ||
| const BlockNode * | block, | ||
| int | plane_index, | ||
| int | w, | ||
| int | h ) |
Definition at line 379 of file snow.c.
Referenced by add_yblock(), and get_block_rd().
| av_cold int ff_snow_common_init | ( | AVCodecContext * | avctx | ) |
Definition at line 487 of file snow.c.
Referenced by encode_init().
| int ff_snow_common_init_after_header | ( | AVCodecContext * | avctx | ) |
Definition at line 542 of file snow.c.
Referenced by decode_frame(), and encode_frame().
| int ff_snow_frames_prepare | ( | SnowContext * | s | ) |
Definition at line 603 of file snow.c.
Referenced by decode_frame(), and encode_frame().
| av_cold void ff_snow_common_end | ( | SnowContext * | s | ) |
Definition at line 634 of file snow.c.
Referenced by decode_end(), and encode_end().