Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
libvpx
Commits
55f6ef9e
Commit
55f6ef9e
authored
Aug 08, 2014
by
Dmitry Kovalev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing unised OUTPUT_YUV_SRC define.
Change-Id: Ia88eebf10c8620dadaa66722543db291e44fe104
parent
6e5149b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
42 deletions
+0
-42
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_encoder.c
+0
-42
No files found.
vp9/encoder/vp9_encoder.c
View file @
55f6ef9e
...
...
@@ -65,9 +65,6 @@ void vp9_coef_tree_initialize();
#ifdef OUTPUT_YUV_DENOISED
FILE
*
yuv_denoised_file
=
NULL
;
#endif
#ifdef OUTPUT_YUV_SRC
FILE
*
yuv_file
;
#endif
#ifdef OUTPUT_YUV_REC
FILE
*
yuv_rec_file
;
#endif
...
...
@@ -854,9 +851,6 @@ VP9_COMP *vp9_create_compressor(VP9EncoderConfig *oxcf) {
yuv_denoised_file
=
fopen
(
"denoised.yuv"
,
"ab"
);
#endif
#endif
#ifdef OUTPUT_YUV_SRC
yuv_file
=
fopen
(
"bd.yuv"
,
"ab"
);
#endif
#ifdef OUTPUT_YUV_REC
yuv_rec_file
=
fopen
(
"rec.yuv"
,
"wb"
);
#endif
...
...
@@ -1132,9 +1126,6 @@ void vp9_remove_compressor(VP9_COMP *cpi) {
fclose
(
yuv_denoised_file
);
#endif
#endif
#ifdef OUTPUT_YUV_SRC
fclose
(
yuv_file
);
#endif
#ifdef OUTPUT_YUV_REC
fclose
(
yuv_rec_file
);
#endif
...
...
@@ -1302,35 +1293,6 @@ int vp9_update_entropy(VP9_COMP * cpi, int update) {
return
0
;
}
#if defined(OUTPUT_YUV_SRC)
void
vp9_write_yuv_frame
(
YV12_BUFFER_CONFIG
*
s
,
FILE
*
f
)
{
uint8_t
*
src
=
s
->
y_buffer
;
int
h
=
s
->
y_height
;
do
{
fwrite
(
src
,
s
->
y_width
,
1
,
f
);
src
+=
s
->
y_stride
;
}
while
(
--
h
);
src
=
s
->
u_buffer
;
h
=
s
->
uv_height
;
do
{
fwrite
(
src
,
s
->
uv_width
,
1
,
f
);
src
+=
s
->
uv_stride
;
}
while
(
--
h
);
src
=
s
->
v_buffer
;
h
=
s
->
uv_height
;
do
{
fwrite
(
src
,
s
->
uv_width
,
1
,
f
);
src
+=
s
->
uv_stride
;
}
while
(
--
h
);
}
#endif
#if CONFIG_VP9_TEMPORAL_DENOISING
#if defined(OUTPUT_YUV_DENOISED)
// The denoiser buffer is allocated as a YUV 440 buffer. This function writes it
...
...
@@ -2194,10 +2156,6 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi,
}
#endif
#ifdef OUTPUT_YUV_SRC
vp9_write_yuv_frame
(
cpi
->
Source
,
yuv_file
);
#endif
set_speed_features
(
cpi
);
// Decide q and q bounds.
...
...
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