mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:17:34 +00:00
Everywhere: Run spellcheck on all documentation
This commit is contained in:
parent
a7600caea1
commit
ee47c0275e
15 changed files with 26 additions and 26 deletions
|
@ -111,7 +111,7 @@ public:
|
|||
auto int_loc = static_cast<i64>(floor(loc));
|
||||
auto blend = loc - int_loc;
|
||||
auto color = get_color(repeat_wrap_if_required(int_loc));
|
||||
// Blend between the two neighbouring colors (this fixes some nasty aliasing issues at small angles)
|
||||
// Blend between the two neighboring colors (this fixes some nasty aliasing issues at small angles)
|
||||
if (blend >= 0.004f)
|
||||
color = color_blend(color, get_color(repeat_wrap_if_required(int_loc + 1)), blend);
|
||||
return color;
|
||||
|
|
|
@ -295,7 +295,7 @@ static constexpr u8 cat_probs[7][14] = {
|
|||
{ 254, 254, 254, 252, 249, 243, 230, 196, 177, 153, 140, 133, 130, 129 }
|
||||
};
|
||||
|
||||
static constexpr MotionVector mv_ref_blocks[BLOCK_SIZES][MVREF_NEIGHBOURS] = {
|
||||
static constexpr MotionVector mv_ref_blocks[BLOCK_SIZES][MVREF_NEIGHBORS] = {
|
||||
{ { -1, 0 }, { 0, -1 }, { -1, -1 }, { -2, 0 }, { 0, -2 }, { -2, -1 }, { -1, -2 }, { -2, -2 } },
|
||||
{ { -1, 0 }, { 0, -1 }, { -1, -1 }, { -2, 0 }, { 0, -2 }, { -2, -1 }, { -1, -2 }, { -2, -2 } },
|
||||
{ { -1, 0 }, { 0, -1 }, { -1, -1 }, { -2, 0 }, { 0, -2 }, { -2, -1 }, { -1, -2 }, { -2, -2 } },
|
||||
|
|
|
@ -1705,7 +1705,7 @@ MotionVectorPair Parser::find_reference_motion_vectors(BlockContext& block_conte
|
|||
}
|
||||
block_context.mode_context[reference_frame] = counter_to_context[context_counter];
|
||||
|
||||
for (auto i = 2u; i < MVREF_NEIGHBOURS; i++) {
|
||||
for (auto i = 2u; i < MVREF_NEIGHBORS; i++) {
|
||||
MotionVector candidate = base_coordinates + mv_ref_blocks[block_context.size][i];
|
||||
if (motion_vector_is_inside_tile(block_context.tile_context, candidate)) {
|
||||
different_ref_found = true;
|
||||
|
@ -1716,7 +1716,7 @@ MotionVectorPair Parser::find_reference_motion_vectors(BlockContext& block_conte
|
|||
add_motion_vector_if_reference_frame_type_is_same(block_context, base_coordinates, reference_frame, list, true);
|
||||
|
||||
if (different_ref_found) {
|
||||
for (auto i = 0u; i < MVREF_NEIGHBOURS; i++) {
|
||||
for (auto i = 0u; i < MVREF_NEIGHBORS; i++) {
|
||||
MotionVector candidate = base_coordinates + mv_ref_blocks[block_context.size][i];
|
||||
if (motion_vector_is_inside_tile(block_context.tile_context, candidate))
|
||||
add_motion_vector_if_reference_frame_type_is_different(block_context, candidate, reference_frame, list, false);
|
||||
|
|
|
@ -402,8 +402,8 @@ static constexpr InterModeProbs default_inter_mode_probs = {
|
|||
{ 7, 166, 63 }, // 2 = two predicted mvs
|
||||
{ 7, 94, 66 }, // 3 = one predicted/zero and one new mv
|
||||
{ 8, 64, 46 }, // 4 = two new mvs
|
||||
{ 17, 81, 31 }, // 5 = one intra neighbour + x
|
||||
{ 25, 29, 30 }, // 6 = two intra neighbours
|
||||
{ 17, 81, 31 }, // 5 = one intra neighbor + x
|
||||
{ 25, 29, 30 }, // 6 = two intra neighbors
|
||||
};
|
||||
|
||||
static constexpr InterpFilterProbs default_interp_filter_probs = {
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace Video::VP9 {
|
|||
|
||||
#define REFS_PER_FRAME 3
|
||||
#define MV_FR_SIZE 4
|
||||
#define MVREF_NEIGHBOURS 8
|
||||
#define MVREF_NEIGHBORS 8
|
||||
#define BLOCK_SIZE_GROUPS 4
|
||||
#define BLOCK_SIZES 13
|
||||
#define BLOCK_INVALID 14
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue