From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 706EB4C03F for ; Thu, 1 May 2025 22:28:53 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5972968B76A; Fri, 2 May 2025 01:27:52 +0300 (EEST) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6EEAA6882FD for ; Fri, 2 May 2025 01:27:42 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id BF3E14315A for ; Thu, 1 May 2025 22:27:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1746138461; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=n/SJW8aSGymkIZSMkDSP3W5dYYkZZ94AJIEwDjdWLxE=; b=Q8DcnawDPxynhrct2i2Fomjvas/YeGxX8ZGXYIR2b4TQMDhBo0nswG03zYRMeLxwktsQ1M WZ3hGgNpzm6tsZvLMUdU/AU5SI+LuL99sXp4FOIvtpgJ+KVie731xGH9/gp1CLevWC/wFM 40G35bg65JYn5EXOWfELnOs2RnWn116DsxzaOp8X4kfgLtmzEX1Nnul/Z9gNAsiL2YLRga NGaVE4CX8MevAnaQLeAqyk+Z0eXYHp496YVhUb7jgLcB7FloF/NwHSMl1jG+MHP8jTngcb i5k0o097kSA4axLXTnp8Jne7n7nejh6bnEFwd4YgelcG6xh+66WEwXpkCAZ/UA== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Fri, 2 May 2025 00:27:34 +0200 Message-ID: <20250501222735.2457868-6-michael@niedermayer.cc> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250501222735.2457868-1-michael@niedermayer.cc> References: <20250501222735.2457868-1-michael@niedermayer.cc> MIME-Version: 1.0 X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvjedtjeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpedvgfefudeijeetieejkefgfffhtdeludeuffdvfeelieevjeetvedufeetfeejfeenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 6/7] postproc/tests/blocktest: initialize qp array randomly to for testing X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libpostproc/tests/blocktest.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libpostproc/tests/blocktest.c b/libpostproc/tests/blocktest.c index c91ccd8f5be..d40e00495aa 100644 --- a/libpostproc/tests/blocktest.c +++ b/libpostproc/tests/blocktest.c @@ -60,6 +60,8 @@ static int64_t test(int width, int height, int blocksize, int flags, int pict_ty pp_context *context = pp_get_context(width, height, flags); pp_mode *mode = pp_get_mode_by_name_and_quality("be,de", quality); int64_t ret; +#define QP_STRIDE (352/16) + int8_t qp[QP_STRIDE * 352/16]; if (!in || !out || !context || !mode) { ret = AVERROR(ENOMEM); @@ -80,9 +82,12 @@ static int64_t test(int width, int height, int blocksize, int flags, int pict_ty blocks(in, blocksize, 11); + for(int i= 0; idata[0], in->data[1], in->data[2]}, in->linesize, out->data, out->linesize, - width, height, NULL, 0, + width, height, qp, QP_STRIDE, mode, context, pict_type); ret = chksum(out); -- 2.49.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".