Commit 83bd16aa authored by Jingning Han's avatar Jingning Han

Refactor REFS_PER_FRAME definition

Define it as a function of reference frame types to provide
scalability for multiple reference frames.

Change-Id: I77b856c96916f352bc31004b9266b3f24e19bd0f
parent 49f6ff11
......@@ -32,7 +32,7 @@
extern "C" {
#endif
#define REFS_PER_FRAME 3
#define REFS_PER_FRAME (ALTREF_FRAME - LAST_FRAME + 1)
#define REF_FRAMES_LOG2 3
#define REF_FRAMES (1 << REF_FRAMES_LOG2)
......
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