shithub: libvpx

Download patch

ref: 0c7e1a950c7066b338c162fc8d302eaefa6da686
parent: fafd7d9ec1345f8a1f3cb7beb3a98b7e72eca08a
parent: b9fea167f9ea6f3552fb3e7b6d63bce4fac70e7a
author: Dmitry Kovalev <dkovalev@google.com>
date: Tue Feb 4 12:52:16 EST 2014

Merge "Removing DBG_PRNT_SEGMAP."

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -40,8 +40,6 @@
 #include "vp9/encoder/vp9_tokenize.h"
 #include "vp9/encoder/vp9_vaq.h"
 
-#define DBG_PRNT_SEGMAP 0
-
 static INLINE uint8_t *get_sb_index(MACROBLOCK *x, BLOCK_SIZE subsize) {
   switch (subsize) {
     case BLOCK_64X64:
@@ -2192,16 +2190,6 @@
 //  fprintf(stderr, "encode_frame_internal frame %d (%d) type %d\n",
 //           cpi->common.current_video_frame, cpi->common.show_frame,
 //           cm->frame_type);
-
-// debug output
-#if DBG_PRNT_SEGMAP
-  {
-    FILE *statsfile;
-    statsfile = fopen("segmap2.stt", "a");
-    fprintf(statsfile, "\n");
-    fclose(statsfile);
-  }
-#endif
 
   vp9_zero(cm->counts.switchable_interp);
   vp9_zero(cpi->tx_stepdown_count);
--