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
160ee911
Commit
160ee911
authored
Jun 02, 2014
by
Tim Kopp
Committed by
Gerrit Code Review
Jun 02, 2014
Browse files
Merge "Fixed OUTPUT_YUV_SRC behavior for VP8"
parents
f13c9956
f204a9a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/onyx_if.c
View file @
160ee911
...
...
@@ -2611,9 +2611,8 @@ int vp8_update_entropy(VP8_COMP *cpi, int update)
#if OUTPUT_YUV_SRC
void
vp8_write_yuv_frame
(
const
char
*
nam
e
,
YV12_BUFFER_CONFIG
*
s
)
void
vp8_write_yuv_frame
(
FILE
*
yuv_fil
e
,
YV12_BUFFER_CONFIG
*
s
)
{
FILE
*
yuv_file
=
fopen
(
name
,
"ab"
);
unsigned
char
*
src
=
s
->
y_buffer
;
int
h
=
s
->
y_height
;
...
...
@@ -2643,12 +2642,9 @@ void vp8_write_yuv_frame(const char *name, YV12_BUFFER_CONFIG *s)
src
+=
s
->
uv_stride
;
}
while
(
--
h
);
fclose
(
yuv_file
);
}
#endif
static
void
scale_and_extend_source
(
YV12_BUFFER_CONFIG
*
sd
,
VP8_COMP
*
cpi
)
{
VP8_COMMON
*
cm
=
&
cpi
->
common
;
...
...
@@ -3895,7 +3891,7 @@ static void encode_frame_to_data_rate
#endif
#ifdef OUTPUT_YUV_SRC
vp8_write_yuv_frame
(
cpi
->
Source
);
vp8_write_yuv_frame
(
yuv_file
,
cpi
->
Source
);
#endif
do
...
...
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