]> git.sesse.net Git - x264/blobdiff - x264.h
Improved 2pass bitrate predictor. No real change most of the time, but allows correct...
[x264] / x264.h
diff --git a/x264.h b/x264.h
index ede99ba5861ee8859e9d4bf27e73d5d0ec633204..fa24186a3c9c9956849295daf7128b5746077fc9 100644 (file)
--- a/x264.h
+++ b/x264.h
@@ -26,7 +26,7 @@
 
 #include <stdarg.h>
 
-#define X264_BUILD 0x000d
+#define X264_BUILD 0x0010
 
 /* x264_t:
  *      opaque handler for decoder and encoder */
@@ -108,8 +108,8 @@ typedef struct
 
     /* Bitstream parameters */
     int         i_frame_reference;  /* Maximum number of reference frames */
-    int         i_idrframe; /* every i_idrframe I frame are marked as IDR */
-    int         i_iframe;   /* every i_iframe are intra */
+    int         i_keyint_max;       /* Force an IDR keyframe at this interval */
+    int         i_keyint_min;       /* Scenecuts closer together than this are coded as I, not IDR. */
     int         i_scenecut_threshold; /* how aggressively to insert extra I frames */
     int         i_bframe;   /* how many b-frame between 2 references pictures */
 
@@ -136,6 +136,8 @@ typedef struct
 
         int          i_subpel_refine; /* subpixel motion estimation quality */
 
+        int          i_mv_range; /* maximum length of a mv (in pixels) */
+
         int          b_psnr;    /* Do we compute PSNR stats (save a few % of cpu) */
     } analyse;