Commit 9d924596 authored by Cheng Chen's avatar Cheng Chen
Browse files

Make braces consistent in encodemb.c for vim

Change-Id: Id3453fcf61fced97810d68cc7ca285bf8bca7881
parent 3e4df0ee
......@@ -715,10 +715,9 @@ static void encode_block(int plane, int block, int blk_row, int blk_col,
// Assert not magic number (uninitialized).
assert(x->blk_skip[plane][blk_row * bw + blk_col] != 234);
if (x->blk_skip[plane][blk_row * bw + blk_col] == 0) {
#else
{
if (x->blk_skip[plane][blk_row * bw + blk_col] == 0)
#endif
{
av1_xform_quant(cm, x, plane, block, blk_row, blk_col, plane_bsize, tx_size,
ctx, AV1_XFORM_QUANT_FP);
}
......@@ -842,11 +841,8 @@ static void encode_block_pass1(int plane, int block, int blk_row, int blk_col,
av1_xform_quant(cm, x, plane, block, blk_row, blk_col, plane_bsize, tx_size,
ctx, AV1_XFORM_QUANT_B);
#if !CONFIG_PVQ
if (p->eobs[block] > 0) {
#else
#if CONFIG_PVQ
if (!x->pvq_skip[plane]) {
{
int tx_blk_size;
int i, j;
// transform block size in pixels
......@@ -869,7 +865,12 @@ static void encode_block_pass1(int plane, int block, int blk_row, int blk_col,
}
#endif // CONFIG_HIGHBITDEPTH
}
#endif // !CONFIG_PVQ
#endif // CONFIG_PVQ
#if !CONFIG_PVQ
if (p->eobs[block] > 0)
#endif
{
txfm_param.bd = xd->bd;
txfm_param.tx_type = DCT_DCT;
txfm_param.eob = p->eobs[block];
......
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