FFmpeg
Variables
snowdata.h File Reference
#include "snow.h"
#include "libavutil/mem_internal.h"

Go to the source code of this file.

Variables

static const uint8_t obmc32 [1024]
 
static const uint8_t obmc16 [256]
 
static const uint8_t obmc8 [64]
 
static const uint8_t obmc4 [16]
 
const int8_t ff_quant3bA [256]
 
const uint8_t *const ff_obmc_tab [4]
 
const uint8_t ff_qexp [QROOT]
 
int ff_scale_mv_ref [MAX_REF_FRAMES][MAX_REF_FRAMES]
 

Variable Documentation

◆ obmc32

const uint8_t obmc32[1024]
static

Definition at line 28 of file snowdata.h.

◆ obmc16

const uint8_t obmc16[256]
static
Initial value:
={
0, 1, 1, 2, 2, 3, 3, 4, 4, 3, 3, 2, 2, 1, 1, 0,
1, 2, 4, 5, 7, 8, 10, 11, 11, 10, 8, 7, 5, 4, 2, 1,
1, 4, 6, 9, 11, 14, 16, 19, 19, 16, 14, 11, 9, 6, 4, 1,
2, 5, 9, 12, 16, 19, 23, 26, 26, 23, 19, 16, 12, 9, 5, 2,
2, 7, 11, 16, 20, 25, 29, 34, 34, 29, 25, 20, 16, 11, 7, 2,
3, 8, 14, 19, 25, 30, 36, 41, 41, 36, 30, 25, 19, 14, 8, 3,
3, 10, 16, 23, 29, 36, 42, 49, 49, 42, 36, 29, 23, 16, 10, 3,
4, 11, 19, 26, 34, 41, 49, 56, 56, 49, 41, 34, 26, 19, 11, 4,
4, 11, 19, 26, 34, 41, 49, 56, 56, 49, 41, 34, 26, 19, 11, 4,
3, 10, 16, 23, 29, 36, 42, 49, 49, 42, 36, 29, 23, 16, 10, 3,
3, 8, 14, 19, 25, 30, 36, 41, 41, 36, 30, 25, 19, 14, 8, 3,
2, 7, 11, 16, 20, 25, 29, 34, 34, 29, 25, 20, 16, 11, 7, 2,
2, 5, 9, 12, 16, 19, 23, 26, 26, 23, 19, 16, 12, 9, 5, 2,
1, 4, 6, 9, 11, 14, 16, 19, 19, 16, 14, 11, 9, 6, 4, 1,
1, 2, 4, 5, 7, 8, 10, 11, 11, 10, 8, 7, 5, 4, 2, 1,
0, 1, 1, 2, 2, 3, 3, 4, 4, 3, 3, 2, 2, 1, 1, 0,
}

Definition at line 63 of file snowdata.h.

◆ obmc8

const uint8_t obmc8[64]
static
Initial value:
={
1, 3, 5, 7, 7, 5, 3, 1,
3, 9, 15, 21, 21, 15, 9, 3,
5, 15, 25, 35, 35, 25, 15, 5,
7, 21, 35, 49, 49, 35, 21, 7,
7, 21, 35, 49, 49, 35, 21, 7,
5, 15, 25, 35, 35, 25, 15, 5,
3, 9, 15, 21, 21, 15, 9, 3,
1, 3, 5, 7, 7, 5, 3, 1,
}

Definition at line 84 of file snowdata.h.

◆ obmc4

const uint8_t obmc4[16]
static
Initial value:
={
4, 12, 12, 4,
12, 36, 36, 12,
12, 36, 36, 12,
4, 12, 12, 4,
}

Definition at line 97 of file snowdata.h.

Referenced by add_yblock(), and ff_snow_inner_add_yblock_c().

◆ ff_quant3bA

const int8_t ff_quant3bA[256]
Initial value:
={
0, 0, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1, 1,-1,
}

Definition at line 105 of file snowdata.h.

Referenced by encode_subband_c0run(), and unpack_coeffs().

◆ ff_obmc_tab

const uint8_t* const ff_obmc_tab[4]

◆ ff_qexp

const uint8_t ff_qexp[QROOT]
Initial value:
= {
128, 131, 134, 137, 140, 143, 146, 149, 152, 156, 159,
162, 166, 170, 173, 177, 181, 185, 189, 193, 197, 202,
206, 211, 215, 220, 225, 230, 235, 240, 245, 251,
}

Definition at line 129 of file snowdata.h.

Referenced by decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), quantize(), and ratecontrol_1pass().

◆ ff_scale_mv_ref

int ff_scale_mv_ref[MAX_REF_FRAMES][MAX_REF_FRAMES]

Definition at line 136 of file snowdata.h.

Referenced by mca(), and pred_mv().

obmc16
static const uint8_t obmc16[256]
Definition: snowdata.h:63
obmc32
static const uint8_t obmc32[1024]
Definition: snowdata.h:28
obmc4
static const uint8_t obmc4[16]
Definition: snowdata.h:97
obmc8
static const uint8_t obmc8[64]
Definition: snowdata.h:84