Add num_blocks to VpxTplFrameStats
authorJerome Jiang <jianj@google.com>
Thu, 4 May 2023 14:59:46 +0000 (10:59 -0400)
committerJerome Jiang <jianj@google.com>
Thu, 4 May 2023 14:59:46 +0000 (10:59 -0400)
commit2e5261647f0440e78081f9bfaaaa5ef9d10140d6
tree37677c216776364e9fc7db565d7e10323d919a98
parentf059f9ee2df114ffa475aaef064f93396ebf39cc
Add num_blocks to VpxTplFrameStats

I realized the calculation of the size of the list of VpxTplBlockStats
is non-trivial. So it's better to add the field for the size.

Bug: b/273736974
Change-Id: Ic1b50597c1f89a8f866b5669ca676407be6dc9d8
test/encode_api_test.cc
vp9/encoder/vp9_tpl_model.c
vp9/vp9_cx_iface.c
vpx/vpx_encoder.h