From patchwork Sat Jan 12 22:28:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 11716 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 58F8344D5C3 for ; Sun, 13 Jan 2019 00:29:19 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 84C0168A78E; Sun, 13 Jan 2019 00:29:07 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-qmta-pe02-3.mx.upcmail.net (vie01a-qmta-pe02-3.mx.upcmail.net [62.179.121.183]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9899C680CB7 for ; Sun, 13 Jan 2019 00:28:59 +0200 (EET) Received: from [172.31.218.45] (helo=vie01a-dmta-pe05-3.mx.upcmail.net) by vie01a-pqmta-pe02.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1giRmC-0000LR-Cv for ffmpeg-devel@ffmpeg.org; Sat, 12 Jan 2019 23:29:12 +0100 Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe05.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1giRm7-0001Su-0O for ffmpeg-devel@ffmpeg.org; Sat, 12 Jan 2019 23:29:07 +0100 Received: from localhost ([213.47.41.20]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id iRl9gV4D52WSsiRl9gOjk5; Sat, 12 Jan 2019 23:28:07 +0100 X-Env-Mailfrom: michael@niedermayer.cc X-Env-Rcptto: ffmpeg-devel@ffmpeg.org X-SourceIP: 213.47.41.20 X-CNFS-Analysis: v=2.3 cv=E7kcWpVl c=1 sm=1 tr=0 a=I1eytVlZLDX1BM2VTtTtSw==:117 a=I1eytVlZLDX1BM2VTtTtSw==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=GEAsPZ9sns4A:10 a=ZZnuYtJkoWoA:10 a=FJXYqUl_Q1L7c6JCGp8A:9 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sat, 12 Jan 2019 23:28:02 +0100 Message-Id: <20190112222803.11581-3-michael@niedermayer.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190112222803.11581-1-michael@niedermayer.cc> References: <20190112222803.11581-1-michael@niedermayer.cc> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfGyqYRT7r1+EzK0C6G8t8bP7esU9YPb26TINJc8PFpkaXRwg7v3SIyTobjnD/15G8qIxzSKJIszDVZf2Qu7RER8Q9lN3vy/kBFuXFBcOaB6volhb6RqY WT06YBugjBRTCUbeec0min0oylFKj5f14EsnWwYz3X3tpiUEmqLJSlx/ Subject: [FFmpeg-devel] [PATCH 3/4] avcodec/prosumer: Reduce lut size X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Michael Niedermayer --- libavcodec/prosumer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/prosumer.c b/libavcodec/prosumer.c index 3fa9986a38..9143bb1bf4 100644 --- a/libavcodec/prosumer.c +++ b/libavcodec/prosumer.c @@ -38,7 +38,7 @@ typedef struct ProSumerContext { unsigned stride; unsigned size; - uint32_t lut[0x10000]; + uint32_t lut[0x2000]; uint8_t *initial_line; uint8_t *decbuffer; } ProSumerContext;