]> granicus.if.org Git - libvpx/commitdiff
Alignment of THR_MODES to vp9_mode_order[]
authorPaul Wilkins <paulwilkins@google.com>
Thu, 18 Jul 2013 15:41:44 +0000 (16:41 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Fri, 19 Jul 2013 10:33:39 +0000 (11:33 +0100)
Change-Id: I4032dd0442043543954dcb3724df974b7cc7e515

vp9/encoder/vp9_onyx_int.h

index 19b1e3af5484f65000bd2098694c73e6bde191df..cb8748027660be22a56c8ed69c934d78be7626c0 100644 (file)
@@ -141,13 +141,15 @@ typedef struct {
   MBGRAPH_MB_STATS *mb_stats;
 } MBGRAPH_FRAME_STATS;
 
+// This enumerator type needs to be kept aligned with the mode order in
+// const MODE_DEFINITION vp9_mode_order[MAX_MODES] used in the rd code.
 typedef enum {
-  THR_ZEROMV,
-  THR_DC,
-
   THR_NEARESTMV,
   THR_NEARMV,
 
+  THR_ZEROMV,
+  THR_DC,
+
   THR_ZEROG,
   THR_NEARESTG,