]> granicus.if.org Git - libvpx/commitdiff
vp9_lookahead_push(): remove unused parameters
authorYaowu Xu <yaowu@google.com>
Sun, 2 Mar 2014 04:59:19 +0000 (20:59 -0800)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Sun, 2 Mar 2014 22:34:59 +0000 (14:34 -0800)
Change-Id: Ia319bd924401677b5c30b0f46d1ab2be6a1f446e

vp9/encoder/vp9_lookahead.c
vp9/encoder/vp9_lookahead.h
vp9/encoder/vp9_onyx_if.c

index 4b642e2b68dfab6b3a3558763c714b6d9b76fdc0..a88d5ecf89294f6737b57c5f13bbdcacf3e8e301 100644 (file)
@@ -88,8 +88,7 @@ struct lookahead_ctx * vp9_lookahead_init(unsigned int width,
 #define USE_PARTIAL_COPY 0
 
 int vp9_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG   *src,
-                       int64_t ts_start, int64_t ts_end, unsigned int flags,
-                       unsigned char *active_map) {
+                       int64_t ts_start, int64_t ts_end, unsigned int flags) {
   struct lookahead_entry *buf;
 #if USE_PARTIAL_COPY
   int row, col, active_end;
index 1c00c462d2485f3a5d9db2003b04f86b091b5360..ff63c0d0d753cc4dec59d814c33ef1f59c3ff148 100644 (file)
@@ -63,8 +63,7 @@ void vp9_lookahead_destroy(struct lookahead_ctx *ctx);
  * \param[in] active_map  Map that specifies which macroblock is active
  */
 int vp9_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src,
-                       int64_t ts_start, int64_t ts_end, unsigned int flags,
-                       unsigned char *active_map);
+                       int64_t ts_start, int64_t ts_end, unsigned int flags);
 
 
 /**\brief Get the next source buffer to encode
index 09effecf485cb60d08d39a111c48158a44a01395..d7bac6f0bcd7b0d7646272cedc920987c4341efb 100644 (file)
@@ -3459,8 +3459,8 @@ int vp9_receive_raw_frame(VP9_PTR ptr, unsigned int frame_flags,
 
   check_initial_width(cpi, subsampling_x, subsampling_y);
   vpx_usec_timer_start(&timer);
-  if (vp9_lookahead_push(cpi->lookahead, sd, time_stamp, end_time, frame_flags,
-                         cpi->active_map_enabled ? cpi->active_map : NULL))
+  if (vp9_lookahead_push(cpi->lookahead,
+                         sd, time_stamp, end_time, frame_flags))
     res = -1;
   vpx_usec_timer_mark(&timer);
   cpi->time_receive_data += vpx_usec_timer_elapsed(&timer);