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
6be1d933
Commit
6be1d933
authored
May 24, 2010
by
John Koleszar
Committed by
Code Review
May 24, 2010
Browse files
Merge "Fixed an encoder debug/relese mismatch in x86_64-win64-vs8"
parents
db89bc34
c15652bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/onyx_if.c
View file @
6be1d933
...
...
@@ -4738,7 +4738,6 @@ void vp8_check_gf_quality(VP8_COMP *cpi)
#if !(CONFIG_REALTIME_ONLY)
static
void
Pass2Encode
(
VP8_COMP
*
cpi
,
unsigned
long
*
size
,
unsigned
char
*
dest
,
unsigned
int
*
frame_flags
)
{
double
two_pass_min_rate
=
(
double
)(
cpi
->
oxcf
.
target_bandwidth
*
cpi
->
oxcf
.
two_pass_vbrmin_section
/
100
);
if
(
!
cpi
->
common
.
refresh_alt_ref_frame
)
vp8_second_pass
(
cpi
);
...
...
@@ -4747,7 +4746,11 @@ static void Pass2Encode(VP8_COMP *cpi, unsigned long *size, unsigned char *dest,
cpi
->
bits_left
-=
8
*
*
size
;
if
(
!
cpi
->
common
.
refresh_alt_ref_frame
)
{
double
two_pass_min_rate
=
(
double
)(
cpi
->
oxcf
.
target_bandwidth
*
cpi
->
oxcf
.
two_pass_vbrmin_section
/
100
);
cpi
->
bits_left
+=
(
long
long
)(
two_pass_min_rate
/
cpi
->
oxcf
.
frame_rate
);
}
}
#endif
...
...
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