From patchwork Mon Dec 11 01:35:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgQsWTc2No?= X-Patchwork-Id: 45034 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:1225:b0:181:818d:5e7f with SMTP id v37csp2651824pzf; Sun, 10 Dec 2023 17:45:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFedi9yd5TjVK3pPIoSGueutZ49/9HIZy1DEK72vqmwz0HW4rRaALYzGt8AficusPpXV1uU X-Received: by 2002:a17:907:c207:b0:a18:96e3:ae2a with SMTP id ti7-20020a170907c20700b00a1896e3ae2amr3704944ejc.5.1702259152968; Sun, 10 Dec 2023 17:45:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702259152; cv=none; d=google.com; s=arc-20160816; b=i1GKBQQwA6B6v/fQUdXj6uRenFNSWoCd79IdpWzR3IbsLNJs8VdeG6BACIY53A182p UMxmS5Ya2rfVU5H/ih9xxf/bRyU8OPGZnCF9KAoPEtqCOhmgp2vq3Ek2s+POztu/v4ul eKrfV8HtsrMw740yB3K6howIV6OjE+5D3mVJoC80tW7a3+/D0uGhz7g+XCFbH7FviT8J RrCnfYRUdwfj3Fm/BYBoq51rDU+5TtFNxmuyL+p/p160SZAzpI7vGyAQnLsfBOfR7373 TntiHI49mzss07qRjZCKKB+1qf+xBOkM7EI3BgTJXkelRPbNgmcJ483H4hcbcRvDENf6 ZKNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=iRUrdHcH4fUxHu6NnJOpGtqBJAyHe7x8fn4YCQ6Z3mY=; fh=Jgo3TCyoG8OdFLqA8BuM7Wbf1w27210JU6p+E8x39/M=; b=s/vvJeb+ldiP4X8jksWCrfPvbIC3I14Vx7Emw/hbzT6iCCp+0AIWwFHcVACsuBM0sJ 97tlgaMiGQYT3J6WhQ7HovCMpTWN8Hvk7Bfh7dhKYQ+DiSmSXv0tH/8MMGOXsRienKH/ /hsDTRwPQEl1fHJuFT3/UniY/TW/nYfpcTcXsiNi3ntJWHpLSbcbTwzxYhBe2cHl4mFd V3XGcNtdvFN7Ylg89+CyJCUGatLrsVaQqUaOubDyxgx/y9r9CjNgthySB2JHZEo/I5W4 NOXHTxKpKL7zjKTeQrrJZajRBVoc/1JGOmiXu63kKuNEU4/9ZTdBRQeNsnHVlTvFEqKy jjCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@pkh.me header.s=selector1 header.b=p9zLbTbI; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=pkh.me Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id gy6-20020a170906f24600b00a1d84c554e8si2938157ejb.844.2023.12.10.17.45.52; Sun, 10 Dec 2023 17:45:52 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@pkh.me header.s=selector1 header.b=p9zLbTbI; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=pkh.me Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3061868D1A4; Mon, 11 Dec 2023 03:44:59 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from ssq0.pkh.me (laubervilliers-656-1-228-164.w92-154.abo.wanadoo.fr [92.154.28.164]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 99B5F68D153 for ; Mon, 11 Dec 2023 03:44:55 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pkh.me; s=selector1; t=1702259076; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UY9g6cT9CpR8bzFe98rg3lN0rhL05FiJnGh+fbKOu7Q=; b=p9zLbTbIDKLHI0qxsJJaSe7b2MxXTvp/0JaDGIsN3PH0VFLSUO0BxfivpPUIgrPVMYD5f6 S+SXUbfwOwEADYnnRMWBbVxsYuMHUbEAcnrS6BdRiUCVBOTqiCOqCgH7Eo2LzNM/b+in0M 49n9CjYnNB+F0UQchWgc6+nNeWUSr+c= Received: from localhost (ssq0.pkh.me [local]) by ssq0.pkh.me (OpenSMTPD) with ESMTPA id 24e338b4; Mon, 11 Dec 2023 01:44:36 +0000 (UTC) From: =?utf-8?b?Q2zDqW1lbnQgQsWTc2No?= To: ffmpeg-devel@ffmpeg.org Date: Mon, 11 Dec 2023 02:35:10 +0100 Message-ID: <20231211014429.1841681-10-u@pkh.me> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231211014429.1841681-1-u@pkh.me> References: <20231211014429.1841681-1-u@pkh.me> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 09/35] avcodec/proresenc_kostya: fix chroma quantisation matrix in frame header 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 Cc: =?utf-8?b?Q2zDqW1lbnQgQsWTc2No?= Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: UnrACkBKx8kB --- libavcodec/proresenc_kostya.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c index 2d45f9a685..103051830a 100644 --- a/libavcodec/proresenc_kostya.c +++ b/libavcodec/proresenc_kostya.c @@ -1019,7 +1019,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, bytestream_put_byte(&buf, ctx->quant_mat[i]); // chroma quantisation matrix for (i = 0; i < 64; i++) - bytestream_put_byte(&buf, ctx->quant_mat[i]); + bytestream_put_byte(&buf, ctx->quant_chroma_mat[i]); } else { bytestream_put_byte (&buf, 0x00); // matrix flags - default matrices are used }