summaryrefslogtreecommitdiff
path: root/vpx
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2022-01-11 08:47:52 -0800
committerJerome Jiang <jianj@google.com>2022-01-11 08:49:12 -0800
commit51415c4076578d3cbc32fcd0d683161c3e887814 (patch)
tree5fe9b9dbca0e3ca6067b846fe0d90f17625b7083 /vpx
parent6982214de5cc62f1f4dc733f1bcc3ffbd74780b0 (diff)
downloadlibvpx-51415c4076578d3cbc32fcd0d683161c3e887814.tar.gz
Revert "Set unused reference frames to first ref"
This reverts commit e7f33a53cf404bbb3688af9b13375b5c090daae4. Change-Id: I54e807220885cb78af6f3c6e48b3eb2c9f1e70b4
Diffstat (limited to 'vpx')
-rw-r--r--vpx/vp8cx.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h
index b3c50a9b6..47c38d3b5 100644
--- a/vpx/vp8cx.h
+++ b/vpx/vp8cx.h
@@ -897,16 +897,13 @@ typedef struct vpx_svc_ref_frame_config {
int alt_fb_idx[VPX_SS_MAX_LAYERS]; /**< Altref buffer index. */
int update_buffer_slot[VPX_SS_MAX_LAYERS]; /**< Update reference frames. */
// TODO(jianj): Remove update_last/golden/alt_ref, these are deprecated.
- int update_last[VPX_SS_MAX_LAYERS]; /**< Update last. */
- int update_golden[VPX_SS_MAX_LAYERS]; /**< Update golden. */
- int update_alt_ref[VPX_SS_MAX_LAYERS]; /**< Update altref. */
- int reference_last[VPX_SS_MAX_LAYERS];
- /**< Last as reference. Use first referenced index if FALSE. */
- int reference_golden[VPX_SS_MAX_LAYERS];
- /**< Golden as reference. Use first referenced index if FALSE. */
- int reference_alt_ref[VPX_SS_MAX_LAYERS];
- /**< Altref as reference. Use first referenced index if FALSE. */
- int64_t duration[VPX_SS_MAX_LAYERS]; /**< Duration per spatial layer. */
+ int update_last[VPX_SS_MAX_LAYERS]; /**< Update last. */
+ int update_golden[VPX_SS_MAX_LAYERS]; /**< Update golden. */
+ int update_alt_ref[VPX_SS_MAX_LAYERS]; /**< Update altref. */
+ int reference_last[VPX_SS_MAX_LAYERS]; /**< Last as reference. */
+ int reference_golden[VPX_SS_MAX_LAYERS]; /**< Golden as reference. */
+ int reference_alt_ref[VPX_SS_MAX_LAYERS]; /**< Altref as reference. */
+ int64_t duration[VPX_SS_MAX_LAYERS]; /**< Duration per spatial layer. */
} vpx_svc_ref_frame_config_t;
/*!\brief VP9 svc frame dropping mode.