#include <assert.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.
|
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 (const uint8_t *obmc, const int obmc_stride, uint8_t **block, int b_w, int b_h, int src_x, int src_y, int src_stride, slice_buffer *sb, 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(0, 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) |
|
◆ pixeltmp
◆ BIT_DEPTH
◆ SNOW
◆ MC_STRIDE
#define MC_STRIDE |
( |
|
x | ) |
(needs[x] ? 64 : stride) |
◆ mca
#define mca |
( |
|
dx, |
|
|
|
dy, |
|
|
|
b_w |
|
) |
| |
Value:static void mc_block_hpel ## dx ## dy ## b_w(uint8_t *
dst,
const uint8_t *
src, ptrdiff_t
stride,
int h){\
}
Definition at line 460 of file snow.c.
◆ mcfh
Value: s->hdsp.put_pixels_tab [0][dy/4+dx/8]=\
s->hdsp.put_no_rnd_pixels_tab[0][dy/4+dx/8]=\
mc_block_hpel ## dx ## dy ## 16;\
s->hdsp.put_pixels_tab [1][dy/4+dx/8]=\
s->hdsp.put_no_rnd_pixels_tab[1][dy/4+dx/8]=\
mc_block_hpel ## dx ## dy ## 8;
◆ put_snow_qpel2_h_lowpass_8()
static void put_snow_qpel2_h_lowpass_8 |
( |
uint8_t * |
dst, |
|
|
const uint8_t *restrict |
src, |
|
|
int |
dstStride, |
|
|
int |
srcStride |
|
) |
| |
|
static |
◆ put_snow_qpel2_v_lowpass_8()
static void put_snow_qpel2_v_lowpass_8 |
( |
uint8_t * |
dst, |
|
|
const uint8_t *restrict |
src, |
|
|
int |
dstStride, |
|
|
int |
srcStride |
|
) |
| |
|
static |
◆ put_snow_qpel2_hv_lowpass_8()
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 |
◆ init_qpel()
◆ ff_snow_inner_add_yblock()
void ff_snow_inner_add_yblock |
( |
const uint8_t * |
obmc, |
|
|
const int |
obmc_stride, |
|
|
uint8_t ** |
block, |
|
|
int |
b_w, |
|
|
int |
b_h, |
|
|
int |
src_x, |
|
|
int |
src_y, |
|
|
int |
src_stride, |
|
|
slice_buffer * |
sb, |
|
|
int |
add, |
|
|
uint8_t * |
dst8 |
|
) |
| |
◆ ff_snow_reset_contexts()
◆ ff_snow_alloc_blocks()
◆ mc_block()
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 |
|
) |
| |
|
static |
◆ 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 |
|
) |
| |
◆ mca()
mca |
( |
mca( |
0, |
|
|
mca( |
0, |
|
|
16 |
|
|
) |
| |
◆ ff_snow_common_init()
◆ ff_snow_common_init_after_header()
◆ ff_snow_frames_prepare()
◆ ff_snow_common_end()