From 99f46d62d95ffbbdc2a5aebc699a316457725682 Mon Sep 17 00:00:00 2001 From: Scott LaVarnway Date: Wed, 11 Aug 2010 11:02:31 -0400 Subject: Moved gf_active code to encoder only The gf_active code is only used by the encoder, so it was moved from common and decoder. Change-Id: Iada15acd5b2b33ff70c34668ca87d4cfd0d05025 --- vp8/decoder/threading.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'vp8/decoder/threading.c') diff --git a/vp8/decoder/threading.c b/vp8/decoder/threading.c index d27374afe..6db23bf0c 100644 --- a/vp8/decoder/threading.c +++ b/vp8/decoder/threading.c @@ -51,7 +51,6 @@ void vp8_setup_decoding_thread_data(VP8D_COMP *pbi, MACROBLOCKD *xd, MB_ROW_DEC mbd->subpixel_predict8x4 = xd->subpixel_predict8x4; mbd->subpixel_predict8x8 = xd->subpixel_predict8x8; mbd->subpixel_predict16x16 = xd->subpixel_predict16x16; - mbd->gf_active_ptr = xd->gf_active_ptr; mbd->mode_info = pc->mi - 1; mbd->mode_info_context = pc->mi + pc->mode_info_stride * (i + 1); @@ -108,7 +107,6 @@ void vp8_setup_loop_filter_thread_data(VP8D_COMP *pbi, MACROBLOCKD *xd, MB_ROW_D //mbd->subpixel_predict8x4 = xd->subpixel_predict8x4; //mbd->subpixel_predict8x8 = xd->subpixel_predict8x8; //mbd->subpixel_predict16x16 = xd->subpixel_predict16x16; - //mbd->gf_active_ptr = xd->gf_active_ptr; mbd->mode_info = pc->mi - 1; mbd->mode_info_context = pc->mi + pc->mode_info_stride * (i + 1); @@ -270,8 +268,6 @@ THREAD_FUNCTION vp8_thread_decoding_proc(void *p_data) ++xd->mode_info_context; /* next mb */ - xd->gf_active_ptr++; // GF useage flag for next MB - xd->above_context[Y1CONTEXT] += 4; xd->above_context[UCONTEXT ] += 2; xd->above_context[VCONTEXT ] += 2; @@ -689,8 +685,6 @@ void vp8_mtdecode_mb_rows(VP8D_COMP *pbi, ++xd->mode_info_context; /* next mb */ - xd->gf_active_ptr++; // GF useage flag for next MB - xd->above_context[Y1CONTEXT] += 4; xd->above_context[UCONTEXT ] += 2; xd->above_context[VCONTEXT ] += 2; -- cgit v1.2.1