ref: 0a58f462b80847b0a2db7dbbfc39f551ce96fb49
parent: ccf6710dc2edc32583d94e3afb1da7bb30092dc2
author: James Zern <[email protected]>
date: Mon Jul 22 09:42:11 EDT 2013
VP9_COMMON: remove unused temp_scale_frame Change-Id: I696a0dca1d02d365e283029d1d077710bd5680e0
--- a/vp9/common/vp9_alloccommon.c
+++ b/vp9/common/vp9_alloccommon.c
@@ -53,7 +53,6 @@
for (i = 0; i < NUM_YV12_BUFFERS; i++)
vp9_free_frame_buffer(&oci->yv12_fb[i]);
- vp9_free_frame_buffer(&oci->temp_scale_frame);
vp9_free_frame_buffer(&oci->post_proc_buffer);
vpx_free(oci->mip);
@@ -120,10 +119,6 @@
oci->ref_frame_map[i] = i;
oci->fb_idx_ref_cnt[i] = 1;
}
-
- if (vp9_alloc_frame_buffer(&oci->temp_scale_frame, width, 16, ss_x, ss_y,
- VP9BORDERINPIXELS) < 0)
- goto fail;
if (vp9_alloc_frame_buffer(&oci->post_proc_buffer, width, height, ss_x, ss_y,
VP9BORDERINPIXELS) < 0)
--- a/vp9/common/vp9_onyxc_int.h
+++ b/vp9/common/vp9_onyxc_int.h
@@ -130,10 +130,7 @@
struct scale_factors active_ref_scale[ALLOWED_REFS_PER_FRAME];
int new_fb_idx;
-
YV12_BUFFER_CONFIG post_proc_buffer;
- YV12_BUFFER_CONFIG temp_scale_frame;
-
FRAME_TYPE last_frame_type; /* Save last frame's frame type for motion search. */
FRAME_TYPE frame_type;