diff options
author | Cheng Chen <chengchen@google.com> | 2020-02-17 16:19:44 -0800 |
---|---|---|
committer | Cheng Chen <chengchen@google.com> | 2020-02-24 14:29:51 -0800 |
commit | 7e665ec96839d33b4943c09f4e4e39962b8afba5 (patch) | |
tree | 7f6b32d619fe9674400a4c3e4437d1d9b120b7aa /vp9/encoder | |
parent | 0484849e8e4fa7c49e415539fae32fa7cb76c9c4 (diff) | |
download | libvpx-7e665ec96839d33b4943c09f4e4e39962b8afba5.tar libvpx-7e665ec96839d33b4943c09f4e4e39962b8afba5.tar.gz libvpx-7e665ec96839d33b4943c09f4e4e39962b8afba5.tar.bz2 libvpx-7e665ec96839d33b4943c09f4e4e39962b8afba5.zip |
Add interface for external arf indexes.
Pass in external arf indexes to encode command.
Change-Id: Ifea5a7d835643760fc5effc594bb448848f6d639
Diffstat (limited to 'vp9/encoder')
-rw-r--r-- | vp9/encoder/vp9_encoder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_encoder.h b/vp9/encoder/vp9_encoder.h index 0674e0025..35fc62fdb 100644 --- a/vp9/encoder/vp9_encoder.h +++ b/vp9/encoder/vp9_encoder.h @@ -521,6 +521,10 @@ typedef struct KMEANS_DATA { typedef struct ENCODE_COMMAND { int use_external_quantize_index; int external_quantize_index; + int use_external_arf; + // A list of binary flags set from the external controller. + // Each binary flag indicates whether the frame is an arf or not. + const int *external_arf_indexes; } ENCODE_COMMAND; typedef struct PARTITION_INFO { |