diff options
author | Minghai Shang <minghai@google.com> | 2014-07-14 11:24:17 -0700 |
---|---|---|
committer | Minghai Shang <minghai@google.com> | 2014-07-14 11:24:17 -0700 |
commit | e899859c48adf4f093fbd4fec74051ac9e108248 (patch) | |
tree | 4fe634205c3674d6acac9d0922ca5f53f2d98486 /vp8/vp8_cx_iface.c | |
parent | 6ce515b9ff9000740bc47bb2dfa1b80df6ec2fc9 (diff) | |
download | libvpx-e899859c48adf4f093fbd4fec74051ac9e108248.tar libvpx-e899859c48adf4f093fbd4fec74051ac9e108248.tar.gz libvpx-e899859c48adf4f093fbd4fec74051ac9e108248.tar.bz2 libvpx-e899859c48adf4f093fbd4fec74051ac9e108248.zip |
[spatial svc]Implement alt reference frames
All changes are for spatial svc only.
1. Enable encoding hidden frames in each layer and use alt reference idex to reference the hidden frame in each layer
2. Use golden reference idx for spatial reference
3. For those layers that don't have hidden frames (caused by lack of frame buffers), reference a hidden frame in lower layers
4. Add "auto-alt-refs" in svc options
Change-Id: Idf27d1fd2fb5f3ffd9e86d2119235e3dad36c178
Diffstat (limited to 'vp8/vp8_cx_iface.c')
-rw-r--r-- | vp8/vp8_cx_iface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vp8/vp8_cx_iface.c b/vp8/vp8_cx_iface.c index 4f6f9fa5d..4cd8c2e79 100644 --- a/vp8/vp8_cx_iface.c +++ b/vp8/vp8_cx_iface.c @@ -9,6 +9,7 @@ */ +#include "./vpx_config.h" #include "vp8_rtcd.h" #include "vpx/vpx_codec.h" #include "vpx/internal/vpx_codec_internal.h" @@ -1314,6 +1315,9 @@ static vpx_codec_enc_cfg_map_t vp8e_usage_cfg_map[] = "vp8.fpf" /* first pass filename */ #endif VPX_SS_DEFAULT_LAYERS, /* ss_number_layers */ +#ifdef CONFIG_SPATIAL_SVC + {0}, +#endif {0}, /* ss_target_bitrate */ 1, /* ts_number_layers */ {0}, /* ts_target_bitrate */ |