L2E: Make SimpleEncode take vp9 level as an input
authorCheng Chen <chengchen@google.com>
Wed, 30 Mar 2022 22:47:17 +0000 (15:47 -0700)
committerCheng Chen <chengchen@google.com>
Wed, 30 Mar 2022 23:29:29 +0000 (16:29 -0700)
commit2c32425851cb89a1623ac7f3cf3d7bbba7aa32c6
tree353fd2b2ad5a282d2d88d693f9e65d07dbe80ebc
parent1239be9e5faf3f7c1603548ed669af35639b74f8
L2E: Make SimpleEncode take vp9 level as an input

Level conformance is standadized in vp9.
If a specific target level is set, the vp9 encoder is required to
produce conformant bitstream with limit on frame size, rate,
min alt-ref distance, etc.

This change makes the SimpleEncode environment take the target level
as an input.

To make existing tests pass, we set the level to 0.

Change-Id: Ia35224f75c2fe50338b5b86a50c84355f5daf6fd
test/simple_encode_test.cc
vp9/simple_encode.cc
vp9/simple_encode.h
vp9/vp9_cx_iface.c
vp9/vp9_cx_iface.h