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
Guillaume Martres
aom-rav1e
Commits
eacaabc5
Commit
eacaabc5
authored
Jun 29, 2011
by
Paul Wilkins
Committed by
Code Review
Jun 29, 2011
Browse files
Merge "Change to arf boost calculation."
parents
05239f0c
11694aab
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/firstpass.c
View file @
eacaabc5
This diff is collapsed.
Click to expand it.
vp8/encoder/onyx_if.c
View file @
eacaabc5
...
...
@@ -2012,7 +2012,8 @@ VP8_PTR vp8_create_compressor(VP8_CONFIG *oxcf)
size_t
packet_sz
=
sizeof
(
FIRSTPASS_STATS
);
int
packets
=
oxcf
->
two_pass_stats_in
.
sz
/
packet_sz
;
cpi
->
twopass
.
stats_in
=
oxcf
->
two_pass_stats_in
.
buf
;
cpi
->
twopass
.
stats_in_start
=
oxcf
->
two_pass_stats_in
.
buf
;
cpi
->
twopass
.
stats_in
=
cpi
->
twopass
.
stats_in_start
;
cpi
->
twopass
.
stats_in_end
=
(
void
*
)((
char
*
)
cpi
->
twopass
.
stats_in
+
(
packets
-
1
)
*
packet_sz
);
vp8_init_second_pass
(
cpi
);
...
...
vp8/encoder/onyx_int.h
View file @
eacaabc5
...
...
@@ -525,7 +525,7 @@ typedef struct VP8_COMP
unsigned
int
this_iiratio
;
FIRSTPASS_STATS
*
total_stats
;
FIRSTPASS_STATS
*
this_frame_stats
;
FIRSTPASS_STATS
*
stats_in
,
*
stats_in_end
;
FIRSTPASS_STATS
*
stats_in
,
*
stats_in_end
,
*
stats_in_start
;
int
first_pass_done
;
long
long
bits_left
;
long
long
clip_bits_total
;
...
...
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