Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
a9288e29
Commit
a9288e29
authored
Mar 03, 2014
by
Yaowu Xu
Committed by
Gerrit Code Review
Mar 03, 2014
Browse files
Merge "vp9_lookahead_push(): remove unused parameters"
parents
32705df4
dac3d0ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_lookahead.c
View file @
a9288e29
...
...
@@ -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
;
...
...
vp9/encoder/vp9_lookahead.h
View file @
a9288e29
...
...
@@ -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
...
...
vp9/encoder/vp9_onyx_if.c
View file @
a9288e29
...
...
@@ -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
->
ac
ti
v
e_
map_enabled
?
cpi
->
active_map
:
NULL
))
if
(
vp9_lookahead_push
(
cpi
->
lookahead
,
sd
,
ti
m
e_
stamp
,
end_time
,
frame_flags
))
res
=
-
1
;
vpx_usec_timer_mark
(
&
timer
);
cpi
->
time_receive_data
+=
vpx_usec_timer_elapsed
(
&
timer
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment