Commit 7c0f6410 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Clang-foramt: av1/av1_cx_iface.c

Change-Id: Ia149f7cc1d9a8a2289bdb65040992a9b4c234c73
parent 8a8b7707
......@@ -906,8 +906,8 @@ static aom_codec_err_t encoder_encode(aom_codec_alg_priv_t *ctx,
// There's no codec control for multiple alt-refs so check the encoder
// instance for its status to determine the compressed data size.
data_sz = ALIGN_POWER_OF_TWO(ctx->cfg.g_w, 5) *
ALIGN_POWER_OF_TWO(ctx->cfg.g_h, 5) * get_image_bps(img) / 8 *
(cpi->multi_arf_allowed ? 8 : 2);
ALIGN_POWER_OF_TWO(ctx->cfg.g_h, 5) * get_image_bps(img) / 8 *
(cpi->multi_arf_allowed ? 8 : 2);
if (data_sz < kMinCompressedSize) data_sz = kMinCompressedSize;
if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) {
ctx->cx_data_sz = data_sz;
......
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