]> granicus.if.org Git - libvpx/commit
Relocate tpl buffer allocation
authorJingning Han <jingning@google.com>
Tue, 18 Dec 2018 00:09:06 +0000 (16:09 -0800)
committerJingning Han <jingning@google.com>
Tue, 18 Dec 2018 05:01:13 +0000 (21:01 -0800)
commite0d406586a137f189dfbe51289e00c732da8ec62
tree1e336341962a2912cc542e3c7ef668c2f8d39987
parent890c8a15d11be3141dff16c2c577622b59abbb66
Relocate tpl buffer allocation

Move it to deeper stages where all the encoder configurations have
been set. This avoids the encoding failure when the buffer is
allocated before the encoder is fully configured.

Change-Id: I6723966fd2c7c36fbab9a92d1f3bd59c83ed95f0
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_encoder.h