Commit 859a5278 authored by Yaowu Xu's avatar Yaowu Xu Committed by Debargha Mukherjee

Apply clang-format

Change-Id: Ie57676814833824b1f3612b60ed9b0485c7ffd52
parent cf3d0b00
......@@ -389,11 +389,12 @@ static const arg_def_t qm_max = ARG_DEF(
NULL, "qm_max", 1, "Max quant matrix flatness (0..15), default is 16");
#endif
#if CONFIG_TILE_GROUPS
static const arg_def_t num_tg =
ARG_DEF(NULL, "num-tile-groups", 1, "Maximum number of tile groups, default is 1");
static const arg_def_t num_tg = ARG_DEF(
NULL, "num-tile-groups", 1, "Maximum number of tile groups, default is 1");
static const arg_def_t mtu_size =
ARG_DEF(NULL, "mtu-size", 1,
"MTU size for a tile group, default is 0 (no MTU targeting), overrides maximum number of tile groups");
"MTU size for a tile group, default is 0 (no MTU targeting), "
"overrides maximum number of tile groups");
#endif
static const arg_def_t frame_parallel_decoding =
ARG_DEF(NULL, "frame-parallel", 1,
......
......@@ -1347,7 +1347,7 @@ void av1_encode_block_intra(int plane, int block, int blk_row, int blk_col,
*(args->skip) = 0;
}
#else // #if !CONFIG_PVQ
#else // #if !CONFIG_PVQ
(void)ctx;
av1_xform_quant(cm, x, plane, block, blk_row, blk_col, plane_bsize, tx_size,
......@@ -1376,7 +1376,7 @@ void av1_encode_block_intra(int plane, int block, int blk_row, int blk_col,
inv_txfm_param.eob = *eob;
inv_txfm_param.lossless = xd->lossless[mbmi->segment_id];
#if CONFIG_AOM_HIGHBITDEPTH
#error
#error
#else
inv_txfm_add(dqcoeff, dst, dst_stride, &inv_txfm_param);
......
......@@ -142,7 +142,8 @@ static void update_mv(aom_writer *w, const unsigned int ct[2], aom_prob *cur_p,
aom_prob upd_p) {
(void)upd_p;
#if CONFIG_TILE_GROUPS
// Just use the default maximum number of tile groups to avoid passing in the actual
// Just use the default maximum number of tile groups to avoid passing in the
// actual
// number
av1_cond_prob_diff_update(w, cur_p, ct, DEFAULT_MAX_NUM_TG);
#else
......
......@@ -4588,7 +4588,8 @@ static void encode_frame_to_data_rate(AV1_COMP *cpi, size_t *size,
if (cpi->oxcf.mtu == 0) {
cm->num_tg = cpi->oxcf.num_tile_groups;
} else {
// Use a default value for the purposes of weighting costs in probability updates
// Use a default value for the purposes of weighting costs in probability
// updates
cm->num_tg = DEFAULT_MAX_NUM_TG;
}
#endif
......
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