From 6f640ccf7b22eaaac287b4fd237535cd058c7c4d Mon Sep 17 00:00:00 2001 From: Kato Yusuke <kato.yusuke003@jp.panasonic.com> Date: Mon, 29 Jul 2019 05:02:42 +0200 Subject: [PATCH] Update CABACWriter.cpp, align format. --- source/Lib/EncoderLib/CABACWriter.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/source/Lib/EncoderLib/CABACWriter.cpp b/source/Lib/EncoderLib/CABACWriter.cpp index 8dbb1f0467..6797116d34 100644 --- a/source/Lib/EncoderLib/CABACWriter.cpp +++ b/source/Lib/EncoderLib/CABACWriter.cpp @@ -3011,37 +3011,37 @@ void CABACWriter::residual_coding_subblockTS( CoeffCodingContext& cctx, const TC //===== encode significant_coeffgroup_flag ===== if( !cctx.isLastSubSet() || !cctx.only1stSigGroup() ) { - if (cctx.isSigGroup()) + if( cctx.isSigGroup() ) { #if !JVET_O0409_EXCLUDE_CODED_SUB_BLK_FLAG_FROM_COUNT - if (cctx.isContextCoded()) + if( cctx.isContextCoded() ) { #endif - m_BinEncoder.encodeBin(1, cctx.sigGroupCtxId(true)); - DTRACE(g_trace_ctx, D_SYNTAX_RESI, "ts_sigGroup() bin=%d ctx=%d\n", 1, cctx.sigGroupCtxId()); + m_BinEncoder.encodeBin( 1, cctx.sigGroupCtxId( true ) ); + DTRACE( g_trace_ctx, D_SYNTAX_RESI, "ts_sigGroup() bin=%d ctx=%d\n", 1, cctx.sigGroupCtxId() ); #if !JVET_O0409_EXCLUDE_CODED_SUB_BLK_FLAG_FROM_COUNT } else { - m_BinEncoder.encodeBinEP(1); - DTRACE(g_trace_ctx, D_SYNTAX_RESI, "ts_sigGroup() EPbin=%d\n", 1); + m_BinEncoder.encodeBinEP( 1 ); + DTRACE( g_trace_ctx, D_SYNTAX_RESI, "ts_sigGroup() EPbin=%d\n", 1 ); } #endif } else { #if !JVET_O0409_EXCLUDE_CODED_SUB_BLK_FLAG_FROM_COUNT - if (cctx.isContextCoded()) + if( cctx.isContextCoded() ) { #endif - m_BinEncoder.encodeBin(0, cctx.sigGroupCtxId(true)); - DTRACE(g_trace_ctx, D_SYNTAX_RESI, "ts_sigGroup() bin=%d ctx=%d\n", 0, cctx.sigGroupCtxId()); + m_BinEncoder.encodeBin( 0, cctx.sigGroupCtxId( true ) ); + DTRACE( g_trace_ctx, D_SYNTAX_RESI, "ts_sigGroup() bin=%d ctx=%d\n", 0, cctx.sigGroupCtxId() ); #if !JVET_O0409_EXCLUDE_CODED_SUB_BLK_FLAG_FROM_COUNT } else { - m_BinEncoder.encodeBinEP(0); - DTRACE(g_trace_ctx, D_SYNTAX_RESI, "ts_sigGroup() EPbin=%d\n", 0); + m_BinEncoder.encodeBinEP( 0 ); + DTRACE( g_trace_ctx, D_SYNTAX_RESI, "ts_sigGroup() EPbin=%d\n", 0 ); } #endif return; -- GitLab