]> granicus.if.org Git - libvpx/commit
Simplify rdmult computation
authorYaowu Xu <yaowu@google.com>
Wed, 7 Nov 2018 19:20:32 +0000 (11:20 -0800)
committerYaowu Xu <yaowu@google.com>
Wed, 7 Nov 2018 19:33:07 +0000 (11:33 -0800)
commit5c96d3b82b985df06b586296ecac7ee5ba390b3d
tree3488c1f183a98fb91b2a3085cca81f4a74774fbf
parentec12c265e970b220b914587aaf7f26871860e538
Simplify rdmult computation

Recognizing that max dc_quant used in rdmult computation is 21387 and
21387 * 21387 * 88 / 24 is still within the range of int32_t, this
commit simplifies the computation with minor cleanups.

Change-Id: I2ac7e8315d103c0bb39b70c312c87c0fda47b4f9
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_rd.c
vp9/encoder/vp9_rd.h
vp9/encoder/vp9_temporal_filter.c