shithub: libvpx

Download patch

ref: cee3d2223ab302c00585116e52a70856b7802cf5
parent: 3cdfdb55e4b726c47ecef70fe8b6362438cdae1c
author: Paul Wilkins <paulwilkins@google.com>
date: Wed Nov 16 05:34:47 EST 2011

Header inclusion for Unix build

Explicit inclusion of limits.h to satisfy unix build for definition of INT_MAX.
Some commented out code removed.

Change-Id: I5b5980dfaa9b4d2d12bfd729cfd35bd982106908

--- a/vp8/encoder/encodeframe.c
+++ b/vp8/encoder/encodeframe.c
@@ -1069,14 +1069,6 @@
 
     }
 
-    // Work out the segment probabilites if segmentation is enabled and
-    // the map is due to be updated
-    //if (xd->segmentation_enabled && xd->update_mb_segmentation_map)
-    //{
-    //    // Select the coding strategy for the segment map (temporal or spatial)
-    //    choose_segmap_coding_method( cpi );
-    //}
-
     // 256 rate units to the bit
     cpi->projected_frame_size = totalrate >> 8;   // projected_frame_size in units of BYTES
 
--- a/vp8/encoder/segmentation.c
+++ b/vp8/encoder/segmentation.c
@@ -9,8 +9,9 @@
  */
 
 
-#include "segmentation.h"
+#include "limits.h"
 #include "vpx_mem/vpx_mem.h"
+#include "segmentation.h"
 
 void vp8_update_gf_useage_maps(VP8_COMP *cpi, VP8_COMMON *cm, MACROBLOCK *x)
 {