Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
378b30ca
Commit
378b30ca
authored
Sep 15, 2016
by
Thomas
Browse files
Fix clang-format comment alignment issues.
Change-Id: Ie301e3c7a308b002c76735eed7ee96f2085f91a8
parent
b6724815
Changes
3
Hide whitespace changes
Inline
Side-by-side
av1/common/entropymv.c
View file @
378b30ca
...
...
@@ -61,8 +61,8 @@ static const nmv_context default_nmv_context = {
{
{
0
},
{
0
}
},
// class0_fp_cdf is computed in av1_init_mv_probs()
{
0
},
// fp_cdf is computed from fp in av1_init_mv_probs()
#endif
160
,
// class0_hp bit
128
,
// hp
160
,
// class0_hp bit
128
,
// hp
},
{
// Horizontal component
...
...
@@ -79,8 +79,8 @@ static const nmv_context default_nmv_context = {
{
{
0
},
{
0
}
},
// class0_fp_cdf is computed in av1_init_mv_probs()
{
0
},
// fp_cdf is computed from fp in av1_init_mv_probs()
#endif
160
,
// class0_hp bit
128
,
// hp
160
,
// class0_hp bit
128
,
// hp
}
},
};
...
...
av1/decoder/decodemv.c
View file @
378b30ca
...
...
@@ -568,7 +568,7 @@ static int read_mv_component(aom_reader *r, const nmv_component *mvcomp,
mag
=
CLASS0_SIZE
<<
(
mv_class
+
2
);
}
// Fractional part
// Fractional part
#if CONFIG_DAALA_EC
fr
=
aom_read_symbol
(
r
,
class0
?
mvcomp
->
class0_fp_cdf
[
d
]
:
mvcomp
->
fp_cdf
,
MV_FP_SIZE
,
ACCT_STR
);
...
...
av1/encoder/encodemv.c
View file @
378b30ca
...
...
@@ -45,7 +45,7 @@ static void encode_mv_component(aom_writer *w, int comp,
// Sign
aom_write
(
w
,
sign
,
mvcomp
->
sign
);
// Class
// Class
#if CONFIG_DAALA_EC
aom_write_symbol
(
w
,
mv_class
,
mvcomp
->
class_cdf
,
MV_CLASSES
);
#else
...
...
@@ -62,7 +62,7 @@ static void encode_mv_component(aom_writer *w, int comp,
for
(
i
=
0
;
i
<
n
;
++
i
)
aom_write
(
w
,
(
d
>>
i
)
&
1
,
mvcomp
->
bits
[
i
]);
}
// Fractional bits
// Fractional bits
#if CONFIG_DAALA_EC
aom_write_symbol
(
w
,
fr
,
mv_class
==
MV_CLASS_0
?
mvcomp
->
class0_fp_cdf
[
d
]
:
mvcomp
->
fp_cdf
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment