rtc-vp9: Fix intra-only for bypass mode
authorMarco Paniconi <marpan@google.com>
Tue, 8 Feb 2022 20:36:39 +0000 (12:36 -0800)
committerMarco Paniconi <marpan@google.com>
Tue, 8 Feb 2022 21:40:24 +0000 (13:40 -0800)
commit232ad814de14e5941857c62a023b6fd66e967bb6
tree19c7448319d5c3de6c0db92c0c1f7c467c63e4ec
parent41f444bee8d01c7f4250ab60c48e0c488a280626
rtc-vp9: Fix intra-only for bypass mode

Allow intra-only frame in svc to also work
in bypass (flexible-svc) mode.

Added unittest for the flexible svc case.

And fix the gld_fb_idx for (SL0, TL1) in bypass/flexible
mode pattern in the sample encoder: force it to be 0
(same as lst_fb_idx), since the slot is unused on SL0.

Change-Id: Iada9d1b052e470a0d5d25220809ad0c87cd46268
examples/vp9_spatial_svc_encoder.c
test/svc_end_to_end_test.cc
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_svc_layercontext.c