Commit 378b30ca authored by Thomas's avatar Thomas

Fix clang-format comment alignment issues.

Change-Id: Ie301e3c7a308b002c76735eed7ee96f2085f91a8
parent b6724815
......@@ -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
} },
};
......
......@@ -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);
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment