Fix some clang-tidy warnings
authorJerome Jiang <jianj@google.com>
Fri, 4 Aug 2023 20:12:29 +0000 (16:12 -0400)
committerJerome Jiang <jianj@google.com>
Fri, 4 Aug 2023 20:29:10 +0000 (16:29 -0400)
commitfc29b8533e7c678d78dc1eb87c26076dcaef15ef
tree85c3682d6a8c59e122d8dfbc26380040c3d018a5
parentf6aaad370d0d02ddea7d5361dce17c69d679c202
Fix some clang-tidy warnings

 - Use zero initializer instead of memset to avoid including <cstring>
 - Include vpx_codec.h for vpx_codec_err_t and error codes
 - Include vpx_tpl.h for VpxTplGopStats

Change-Id: Iac5837ce2173bd945bfe8eeb401ff4dfd04fd2e1
test/vp9_ext_ratectrl_test.cc
vp9/encoder/vp9_ext_ratectrl.c
vp9/encoder/vp9_tpl_model.c