vp9_lookahead_push(): remove unused parameters

Change-Id: Ia319bd924401677b5c30b0f46d1ab2be6a1f446e
This commit is contained in:
Yaowu Xu 2014-03-01 20:59:19 -08:00 committed by Gerrit Code Review
parent 501fce7270
commit dac3d0cebd
3 changed files with 4 additions and 6 deletions

View File

@ -88,8 +88,7 @@ struct lookahead_ctx * vp9_lookahead_init(unsigned int width,
#define USE_PARTIAL_COPY 0 #define USE_PARTIAL_COPY 0
int vp9_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src, int vp9_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src,
int64_t ts_start, int64_t ts_end, unsigned int flags, int64_t ts_start, int64_t ts_end, unsigned int flags) {
unsigned char *active_map) {
struct lookahead_entry *buf; struct lookahead_entry *buf;
#if USE_PARTIAL_COPY #if USE_PARTIAL_COPY
int row, col, active_end; int row, col, active_end;

View File

@ -63,8 +63,7 @@ void vp9_lookahead_destroy(struct lookahead_ctx *ctx);
* \param[in] active_map Map that specifies which macroblock is active * \param[in] active_map Map that specifies which macroblock is active
*/ */
int vp9_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src, int vp9_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src,
int64_t ts_start, int64_t ts_end, unsigned int flags, int64_t ts_start, int64_t ts_end, unsigned int flags);
unsigned char *active_map);
/**\brief Get the next source buffer to encode /**\brief Get the next source buffer to encode

View 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); check_initial_width(cpi, subsampling_x, subsampling_y);
vpx_usec_timer_start(&timer); vpx_usec_timer_start(&timer);
if (vp9_lookahead_push(cpi->lookahead, sd, time_stamp, end_time, frame_flags, if (vp9_lookahead_push(cpi->lookahead,
cpi->active_map_enabled ? cpi->active_map : NULL)) sd, time_stamp, end_time, frame_flags))
res = -1; res = -1;
vpx_usec_timer_mark(&timer); vpx_usec_timer_mark(&timer);
cpi->time_receive_data += vpx_usec_timer_elapsed(&timer); cpi->time_receive_data += vpx_usec_timer_elapsed(&timer);