shithub: libvpx

Download patch

ref: 2b8ae5a0f7b226355c5960785d3b80f6da435d89
parent: b2b5836a16491ec096e31254e729b38ab7ec1e66
parent: f3ed9f5523ed62c83a557cddabfd3cea98e74fda
author: Paul Wilkins <[email protected]>
date: Fri Jul 19 06:15:26 EDT 2013

Merge "Alignment of THR_MODES to vp9_mode_order[]"

--- a/vp9/encoder/vp9_onyx_int.h
+++ b/vp9/encoder/vp9_onyx_int.h
@@ -141,12 +141,14 @@
   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,