vp[89]_initalize_enc(): protect against multiple invocations
authorJames Zern <jzern@google.com>
Fri, 10 Dec 2021 02:34:18 +0000 (18:34 -0800)
committerJames Zern <jzern@google.com>
Fri, 10 Dec 2021 02:37:01 +0000 (18:37 -0800)
commit03a81068467076b4ce4a41dafaac9a9e5cc5f01c
tree84d2d5633bb8548f2ee96437c47886f200ac50f4
parent7fbcee49da63a61feee00147746efa33e31087e8
vp[89]_initalize_enc(): protect against multiple invocations

this removes the burden from callers; the rtcd functions are left with a
mostly redundant (outside of tests) once() as top-level functions should
ensure their constraints are met

Change-Id: I5bdbcfa4671c6a1492cfe9c7d886c361c26caaa9
vp8/encoder/onyx_if.c
vp8/vp8_cx_iface.c
vp9/common/vp9_rtcd.c
vp9/encoder/vp9_encoder.c
vp9/vp9_cx_iface.c
vpx_ports/vpx_once.h