summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_onyx_if.c
diff options
context:
space:
mode:
authorDmitry Kovalev <dkovalev@google.com>2014-04-09 20:18:07 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-04-09 20:18:07 -0700
commitf10c173b40f20c201961a56fb82a7b609eeb15c1 (patch)
treedaff0301e3533e5b4c6a5d325395ee731a89b8f0 /vp9/encoder/vp9_onyx_if.c
parent41ea9ef955158c3c8b52be560e30d3f8eeb49bce (diff)
parentb60d23f3084c1b5a0db0f41f74c9399115f450ab (diff)
downloadlibvpx-f10c173b40f20c201961a56fb82a7b609eeb15c1.tar
libvpx-f10c173b40f20c201961a56fb82a7b609eeb15c1.tar.gz
libvpx-f10c173b40f20c201961a56fb82a7b609eeb15c1.tar.bz2
libvpx-f10c173b40f20c201961a56fb82a7b609eeb15c1.zip
Merge "Removing unused code from vp9_onyx_if.c."
Diffstat (limited to 'vp9/encoder/vp9_onyx_if.c')
-rw-r--r--vp9/encoder/vp9_onyx_if.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c
index 2529c2ecf..91025e419 100644
--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -81,8 +81,6 @@ FILE *kf_list;
FILE *keyfile;
#endif
-void vp9_init_quantizer(VP9_COMP *cpi);
-
static INLINE void Scale2Ratio(VPX_SCALING mode, int *hr, int *hs) {
switch (mode) {
case NORMAL:
@@ -367,27 +365,6 @@ static void configure_static_seg_features(VP9_COMP *cpi) {
}
}
-// DEBUG: Print out the segment id of each MB in the current frame.
-static void print_seg_map(VP9_COMP *cpi) {
- VP9_COMMON *cm = &cpi->common;
- int row, col;
- int map_index = 0;
- FILE *statsfile = fopen("segmap.stt", "a");
-
- fprintf(statsfile, "%10d\n", cm->current_video_frame);
-
- for (row = 0; row < cpi->common.mi_rows; row++) {
- for (col = 0; col < cpi->common.mi_cols; col++) {
- fprintf(statsfile, "%10d", cpi->segmentation_map[map_index]);
- map_index++;
- }
- fprintf(statsfile, "\n");
- }
- fprintf(statsfile, "\n");
-
- fclose(statsfile);
-}
-
static void update_reference_segmentation_map(VP9_COMP *cpi) {
VP9_COMMON *const cm = &cpi->common;
MODE_INFO **mi_8x8_ptr = cm->mi_grid_visible;