#include "dsputil.h"Go to the source code of this file.
Data Structures | |
| struct | slice_buffer_s |
| Used to minimize the amount of memory used in order to optimize cache performance. More... | |
Defines | |
| #define | MID_STATE 128 |
| #define | MAX_DECOMPOSITIONS 8 |
| #define | MAX_PLANES 4 |
| #define | QSHIFT 5 |
| #define | QROOT (1<<QSHIFT) |
| #define | LOSSLESS_QLOG -128 |
| #define | FRAC_BITS 4 |
| #define | MAX_REF_FRAMES 8 |
| #define | LOG2_OBMC_MAX 8 |
| #define | OBMC_MAX (1<<(LOG2_OBMC_MAX)) |
| #define | DWT_97 0 |
| #define | DWT_53 1 |
| #define | liftS lift |
| #define | W_AM 3 |
| #define | W_AO 0 |
| #define | W_AS 1 |
| #define | W_BM 1 |
| #define | W_BO 8 |
| #define | W_BS 4 |
| #define | W_CM 1 |
| #define | W_CO 0 |
| #define | W_CS 0 |
| #define | W_DM 3 |
| #define | W_DO 4 |
| #define | W_DS 3 |
Functions | |
| void | ff_snow_vertical_compose97i (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, IDWTELEM *b3, IDWTELEM *b4, IDWTELEM *b5, int width) |
| void | ff_snow_horizontal_compose97i (IDWTELEM *b, int width) |
| 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) |
| static int | w53_32_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
| static int | w97_32_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
| static av_always_inline void | snow_interleave_line_header (int *i, int width, IDWTELEM *low, IDWTELEM *high) |
| static av_always_inline void | snow_interleave_line_footer (int *i, IDWTELEM *low, IDWTELEM *high) |
| static av_always_inline void | snow_horizontal_compose_lift_lead_out (int i, IDWTELEM *dst, IDWTELEM *src, IDWTELEM *ref, int width, int w, int lift_high, int mul, int add, int shift) |
| static av_always_inline void | snow_horizontal_compose_liftS_lead_out (int i, IDWTELEM *dst, IDWTELEM *src, IDWTELEM *ref, int width, int w) |
| #define DWT_53 1 |
Definition at line 41 of file snow.h.
Referenced by ff_spatial_dwt(), ff_spatial_idwt_buffered_init(), ff_spatial_idwt_buffered_slice(), ff_spatial_idwt_init(), and ff_spatial_idwt_slice().
| #define DWT_97 0 |
Definition at line 40 of file snow.h.
Referenced by encode_init(), ff_spatial_dwt(), ff_spatial_idwt_buffered_init(), ff_spatial_idwt_buffered_slice(), ff_spatial_idwt_init(), and ff_spatial_idwt_slice().
| #define liftS lift |
| #define LOG2_OBMC_MAX 8 |
Definition at line 37 of file snow.h.
Referenced by add_yblock(), ff_snow_inner_add_yblock(), get_block_rd(), and get_dc().
| #define LOSSLESS_QLOG -128 |
Definition at line 33 of file snow.h.
Referenced by decode_frame(), decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), encode_frame(), and quantize().
| #define MAX_DECOMPOSITIONS 8 |
Definition at line 29 of file snow.h.
Referenced by decode_frame(), ff_spatial_idwt(), and reset_contexts().
| #define MAX_REF_FRAMES 8 |
Definition at line 35 of file snow.h.
Referenced by common_end(), common_init(), decode_header(), and encode_init().
| #define MID_STATE 128 |
Definition at line 27 of file snow.h.
Referenced by decode_header(), encode_header(), and reset_contexts().
| #define OBMC_MAX (1<<(LOG2_OBMC_MAX)) |
| #define QROOT (1<<QSHIFT) |
Definition at line 32 of file snow.h.
Referenced by calculate_visual_weight(), decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), init_qexp(), qscale2qlog(), quantize(), and ratecontrol_1pass().
| #define QSHIFT 5 |
Definition at line 31 of file snow.h.
Referenced by decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), quantize(), and ratecontrol_1pass().
| #define W_AM 3 |
Definition at line 56 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), vertical_compose97iH0(), and vertical_decompose97iH0().
| #define W_AO 0 |
Definition at line 57 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), vertical_compose97iH0(), and vertical_decompose97iH0().
| #define W_AS 1 |
Definition at line 58 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), vertical_compose97iH0(), and vertical_decompose97iH0().
| #define W_BM 1 |
Definition at line 61 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), vertical_compose97iL0(), and vertical_decompose97iL0().
| #define W_BO 8 |
Definition at line 62 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), snow_horizontal_compose_liftS_lead_out(), vertical_compose97iL0(), and vertical_decompose97iL0().
| #define W_BS 4 |
Definition at line 63 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), snow_horizontal_compose_liftS_lead_out(), vertical_compose97iL0(), and vertical_decompose97iL0().
| #define W_CM 1 |
Definition at line 65 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), vertical_compose97iH1(), and vertical_decompose97iH1().
| #define W_CO 0 |
Definition at line 66 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), vertical_compose97iH1(), and vertical_decompose97iH1().
| #define W_CS 0 |
Definition at line 67 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), vertical_compose97iH1(), and vertical_decompose97iH1().
| #define W_DM 3 |
Definition at line 69 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), vertical_compose97iL1(), and vertical_decompose97iL1().
| #define W_DO 4 |
Definition at line 70 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), vertical_compose97iL1(), and vertical_decompose97iL1().
| #define W_DS 3 |
Definition at line 71 of file snow.h.
Referenced by ff_snow_horizontal_compose97i(), ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_vertical_compose97i(), ff_snow_vertical_compose97i_altivec(), horizontal_decompose97i(), vertical_compose97iL1(), and vertical_decompose97iL1().
| void ff_snow_horizontal_compose97i | ( | IDWTELEM * | b, | |
| int | width | |||
| ) |
| 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 | |||
| ) |
Definition at line 2386 of file snow.c.
Referenced by dsputil_init(), ff_snow_inner_add_yblock_altivec(), ff_snow_inner_add_yblock_mmx(), and ff_snow_inner_add_yblock_sse2().
| static av_always_inline void snow_horizontal_compose_lift_lead_out | ( | int | i, | |
| IDWTELEM * | dst, | |||
| IDWTELEM * | src, | |||
| IDWTELEM * | ref, | |||
| int | width, | |||
| int | w, | |||
| int | lift_high, | |||
| int | mul, | |||
| int | add, | |||
| int | shift | |||
| ) | [static] |
Definition at line 154 of file snow.h.
Referenced by ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), and ff_snow_horizontal_compose97i_sse2().
| static av_always_inline void snow_horizontal_compose_liftS_lead_out | ( | int | i, | |
| IDWTELEM * | dst, | |||
| IDWTELEM * | src, | |||
| IDWTELEM * | ref, | |||
| int | width, | |||
| int | w | |||
| ) | [static] |
Definition at line 164 of file snow.h.
Referenced by ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), and ff_snow_horizontal_compose97i_sse2().
| static av_always_inline void snow_interleave_line_header | ( | int * | i, | |
| int | width, | |||
| IDWTELEM * | low, | |||
| IDWTELEM * | high | |||
| ) | [static] |
Definition at line 138 of file snow.h.
Referenced by ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), and ff_snow_horizontal_compose97i_sse2().
| static int w53_32_c | ( | void * | v, | |
| uint8_t * | pix1, | |||
| uint8_t * | pix2, | |||
| int | line_size, | |||
| int | h | |||
| ) | [static] |
| static int w97_32_c | ( | void * | v, | |
| uint8_t * | pix1, | |||
| uint8_t * | pix2, | |||
| int | line_size, | |||
| int | h | |||
| ) | [static] |
1.5.8