From 0a58f462b80847b0a2db7dbbfc39f551ce96fb49 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 22 Jul 2013 13:42:11 -0700 Subject: [PATCH] VP9_COMMON: remove unused temp_scale_frame Change-Id: I696a0dca1d02d365e283029d1d077710bd5680e0 --- vp9/common/vp9_alloccommon.c | 5 ----- vp9/common/vp9_onyxc_int.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/vp9/common/vp9_alloccommon.c b/vp9/common/vp9_alloccommon.c index 0a4f921c2..554a31730 100644 --- a/vp9/common/vp9_alloccommon.c +++ b/vp9/common/vp9_alloccommon.c @@ -53,7 +53,6 @@ void vp9_free_frame_buffers(VP9_COMMON *oci) { 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); @@ -121,10 +120,6 @@ int vp9_alloc_frame_buffers(VP9_COMMON *oci, int width, int height) { 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) goto fail; diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h index 2efdf8fa3..8b76ac711 100644 --- a/vp9/common/vp9_onyxc_int.h +++ b/vp9/common/vp9_onyxc_int.h @@ -130,10 +130,7 @@ typedef struct VP9Common { 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;