Skip to content
GitLab
Projects
Groups
Snippets
/
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
6aabba04
Commit
6aabba04
authored
Oct 13, 2017
by
Debargha Mukherjee
Committed by
James Zern
Oct 14, 2017
Browse files
Remove unused allocation for last_frame_db
Change-Id: Ie02e188662119ee2719c79283641b9b74849cfab
parent
2773872f
Changes
2
Hide whitespace changes
Inline
Side-by-side
av1/encoder/encoder.c
View file @
6aabba04
...
...
@@ -561,7 +561,6 @@ static void dealloc_compressor_data(AV1_COMP *cpi) {
aom_free_frame_buffer
(
&
cpi
->
last_frame_uf
);
#if CONFIG_LOOP_RESTORATION
av1_free_restoration_buffers
(
cm
);
aom_free_frame_buffer
(
&
cpi
->
last_frame_db
);
aom_free_frame_buffer
(
&
cpi
->
trial_frame_rst
);
aom_free
(
cpi
->
extra_rstbuf
);
{
...
...
@@ -831,15 +830,6 @@ static void alloc_util_frame_buffers(AV1_COMP *cpi) {
"Failed to allocate last frame buffer"
);
#if CONFIG_LOOP_RESTORATION
if
(
aom_realloc_frame_buffer
(
&
cpi
->
last_frame_db
,
cm
->
width
,
cm
->
height
,
cm
->
subsampling_x
,
cm
->
subsampling_y
,
#if CONFIG_HIGHBITDEPTH
cm
->
use_highbitdepth
,
#endif
AOM_BORDER_IN_PIXELS
,
cm
->
byte_alignment
,
NULL
,
NULL
,
NULL
))
aom_internal_error
(
&
cm
->
error
,
AOM_CODEC_MEM_ERROR
,
"Failed to allocate last frame deblocked buffer"
);
if
(
aom_realloc_frame_buffer
(
&
cpi
->
trial_frame_rst
,
#if CONFIG_FRAME_SUPERRES
...
...
av1/encoder/encoder.h
View file @
6aabba04
...
...
@@ -458,7 +458,6 @@ typedef struct AV1_COMP {
YV12_BUFFER_CONFIG
last_frame_uf
;
#if CONFIG_LOOP_RESTORATION
YV12_BUFFER_CONFIG
last_frame_db
;
YV12_BUFFER_CONFIG
trial_frame_rst
;
uint8_t
*
extra_rstbuf
;
// Extra buffers used in restoration search
RestorationInfo
rst_search
[
MAX_MB_PLANE
];
// Used for encoder side search
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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