]> git.sesse.net Git - x264/blobdiff - encoder/me.h
Use the correct default B-ref placement with B-pyramid
[x264] / encoder / me.h
index 06e355b9cd902cf73f9e64af07a49e9352d73056..ce041aa66a50af9bb1b701be385067103fd8efea 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * me.h: motion estimation
  *****************************************************************************
- * Copyright (C) 2003-2011 x264 project
+ * Copyright (C) 2003-2016 x264 project
  *
  * Authors: Loren Merritt <lorenm@u.washington.edu>
  *          Laurent Aimar <fenrir@via.ecp.fr>
@@ -41,11 +41,11 @@ typedef struct
     int      i_ref;
     const x264_weight_t *weight;
 
-    pixel *p_fref[6];
+    pixel *p_fref[12];
     pixel *p_fref_w;
     pixel *p_fenc[3];
     uint16_t *integral;
-    int      i_stride[2];
+    int      i_stride[3];
 
     ALIGNED_4( int16_t mvp[2] );
 
@@ -55,7 +55,8 @@ typedef struct
     ALIGNED_4( int16_t mv[2] );
 } ALIGNED_16( x264_me_t );
 
-typedef struct {
+typedef struct
+{
     int sad;
     int16_t mv[2];
 } mvsad_t;