summaryrefslogtreecommitdiff
path: root/vp8/encoder/onyx_if.c
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/encoder/onyx_if.c')
-rw-r--r--vp8/encoder/onyx_if.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c
index ea6e45d83..ca6570e68 100644
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -40,7 +40,7 @@
#include "bitstream.h"
#include "ratectrl.h"
-#if CONFIG_NEW_MVREF
+#if CONFIG_NEWBESTREFMV
#include "vp8/common/mvref_common.h"
#endif
@@ -3874,25 +3874,10 @@ static void encode_frame_to_data_rate
// in this frame.
update_base_skip_probs(cpi);
-
-#if CONFIG_NEW_MVREF
-#if 0 && CONFIG_INTERNAL_STATS
+#if 0 //CONFIG_NEW_MVREF && CONFIG_INTERNAL_STATS
{
FILE *f = fopen("mv_ref_dist.stt", "a");
unsigned int i;
- //fprintf(f, "%10d %10d %10d %10d %10d %10d %10d %10d %10d %10d\n",
- /*fprintf(f, "%10d %10d %10d %10d %10d %10d %10d %10d %10d %10d",
- cpi->common.current_video_frame,
- cpi->mv_ref_sum_distance[1][0],
- cpi->mv_ref_sum_distance[1][1],
- cpi->mv_ref_sum_distance[1][2],
- cpi->mv_ref_sum_distance[2][0],
- cpi->mv_ref_sum_distance[2][1],
- cpi->mv_ref_sum_distance[2][2],
- cpi->mv_ref_sum_distance[3][0],
- cpi->mv_ref_sum_distance[3][1],
- cpi->mv_ref_sum_distance[3][2] );*/
-
for (i = 0; i < MAX_MV_REFS; ++i) {
fprintf(f, "%10d", cpi->best_ref_index_counts[i] );
}
@@ -3901,8 +3886,6 @@ static void encode_frame_to_data_rate
fclose(f);
}
#endif
-#endif
-
#if 0// 1 && CONFIG_INTERNAL_STATS
{