Commit dd0d4264 authored by Zoe Liu's avatar Zoe Liu
Browse files

Remove the incorrect comment

The element of "idx" in the data structure of RefBuffer is a
connection between AV1_COMMON::RefBuffer and
AV1_COMMON::BufferPool::RefCntBuffer.

It is being used currently in many places in both the encoder and the
decoder. "idx" is not only used to track whether a reference buffer is
alive, but also serve as the connection to RefCntBuffer which contains
info that RefBuffer itself cannot access.

Change-Id: I5ccdb9c2afe840d04a025da359a704f5fc216ddd
parent 3ca58dfb
......@@ -561,8 +561,6 @@ typedef struct macroblockd_plane {
((x) + (i) * (1 << (tx_size_wide_log2[0] + tx_size_high_log2[0])))
typedef struct RefBuffer {
// TODO(dkovalev): idx is not really required and should be removed, now it
// is used in av1_onyxd_if.c
int idx;
YV12_BUFFER_CONFIG *buf;
struct scale_factors sf;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment