summaryrefslogtreecommitdiff
path: root/vp8/encoder/onyx_int.h
diff options
context:
space:
mode:
authorAdrian Grange <agrange@google.com>2011-03-10 11:32:48 -0800
committerAdrian Grange <agrange@google.com>2011-03-10 11:32:48 -0800
commited40ff9e2dfb261db4ab1dd5d5f984a2b59cf936 (patch)
tree49b73df905f59e33b8e3091a689014461662fe07 /vp8/encoder/onyx_int.h
parenta0306ea660b2a35d09645e6d3e98d786614a874d (diff)
downloadlibvpx-ed40ff9e2dfb261db4ab1dd5d5f984a2b59cf936.tar
libvpx-ed40ff9e2dfb261db4ab1dd5d5f984a2b59cf936.tar.gz
libvpx-ed40ff9e2dfb261db4ab1dd5d5f984a2b59cf936.tar.bz2
libvpx-ed40ff9e2dfb261db4ab1dd5d5f984a2b59cf936.zip
Removed firstpass motion map
The firstpass motion map consists of an 8-bit flag for each MB indicating how strongly the firstpass code believes it should be filtered during the second pass ARNR filtering. For long or large format material the motion map can become extremely large and hamper the operation of the encoding process. This change removes the motion map altogether, leaving the second pass to rely on the magnitude of the motion compensated error to determine the filter weight to use for the MB during ARNR filtering. Tests on the derf set indicate that the effect of this change is neutral, with some small wins and losses. The motion map has therefore been removed based on a cost/benefit evaluation. Change-Id: I53e07d236f5ce09a6f0c54e7c4ffbb490fb870f6
Diffstat (limited to 'vp8/encoder/onyx_int.h')
-rw-r--r--vp8/encoder/onyx_int.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h
index 6d0cbd9fc..0547d57c1 100644
--- a/vp8/encoder/onyx_int.h
+++ b/vp8/encoder/onyx_int.h
@@ -496,11 +496,6 @@ typedef struct
struct vpx_codec_pkt_list *output_pkt_list;
int first_pass_done;
-#if !(CONFIG_REALTIME_ONLY)
- unsigned char *fp_motion_map;
- unsigned char *fp_motion_map_stats, *fp_motion_map_stats_save;
-#endif
-
#if 0
// Experimental code for lagged and one pass
ONEPASS_FRAMESTATS one_pass_frame_stats[MAX_LAG_BUFFERS];
@@ -642,8 +637,6 @@ typedef struct
YV12_BUFFER_CONFIG *frames[MAX_LAG_BUFFERS];
int fixed_divide[512];
#endif
- // Flag to indicate temporal filter method
- int use_weighted_temporal_filter;
#if CONFIG_PSNR
int count;