Document the indexes of the scaled_ref_idx array.
The indexes of the scaled_ref_idx array and the corresponding ref_frame
names have an offset of 1.
Change-Id: I2175e3c1e4074cc0d21b21f7c958e1eb25b385b6
diff --git a/av1/encoder/encoder.h b/av1/encoder/encoder.h
index 81c66e0..467a3d2 100644
--- a/av1/encoder/encoder.h
+++ b/av1/encoder/encoder.h
@@ -592,6 +592,9 @@
int cur_poc; // DebugInfo
unsigned int row_mt;
+ // The first REF_FRAMES - 1 elements of the scaled_ref_idx array are used
+ // for LAST_FRAME..ALTREF_FRAME. The last element of the array is not used.
+ // The array index for ref_frame is ref_frame - 1.
int scaled_ref_idx[REF_FRAMES];
int ref_fb_idx[REF_FRAMES];
int refresh_fb_idx; // ref frame buffer index to refresh