From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id 672DD4D3DF
	for <ffmpegdev@gitmailbox.com>; Thu, 17 Apr 2025 23:56:11 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B78B7687DC9;
	Fri, 18 Apr 2025 02:56:01 +0300 (EEST)
Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com
 [209.85.218.49])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F2D90687DD1
 for <ffmpeg-devel@ffmpeg.org>; Fri, 18 Apr 2025 02:55:54 +0300 (EEST)
Received: by mail-ej1-f49.google.com with SMTP id
 a640c23a62f3a-ac3eb3fdd2eso241570166b.0
 for <ffmpeg-devel@ffmpeg.org>; Thu, 17 Apr 2025 16:55:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1744934154; x=1745538954; darn=ffmpeg.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=9DN1Y00vPeF/7j9cXT0tW7VhTIc4RF6lhBzVvRTLbVg=;
 b=PWkrYGgTUavKUGY3cmaJ8v0XvJjI/r252QPW8ZQ33SMa3zj+Dp3q4w0DuMzGHLq+9Z
 Vo9jdxc5ZMOetKvvF72dQBTvr2pusE53sp8LN+3Y9RDfSAzmRtAJeJnNpLgMvlwLuKVQ
 jc8aNTKA08aCqZtcEuWbT9pubswTPnr1Q5nw4NNYxnfvqQGeE3Mq2YAV9YUuTN992y6n
 nicIjfrFzPYepRGp8j4HdwCHShjEBMNXpdk8SCmEMq/rBcuVWfulC0/ThIfTIGtOnVfA
 Nx86ms4JktpLlpCWlosH7M34VNnX/bsZszQHBvSLkxvP/HvkLv5WpiraSvjgXhR/bUhf
 Uklw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1744934154; x=1745538954;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=9DN1Y00vPeF/7j9cXT0tW7VhTIc4RF6lhBzVvRTLbVg=;
 b=qnTIWgAbNL47lMKdNZyXOQ6dEC268FjN7GXa610jDbkg7xm8blDGjkqEoIc8E6Cqfy
 uIdDLGbRCeVWB6C3TuWvZCLpUdMPhn5P6KIOVY0kLmgQTlFN07iAIH1Xc9ZVTvxgDQI+
 DxW/83DQg/F5CgaN/7kf1rWnRyl9AVlSeUvr3RrXiUb6kNOwsmaREtrknosHKjp+8BsH
 /laIINGR3LqskkvINv1py7dfNl/IFn4h5+wqFNGCYy8+L8r0AH3dGnH/hxKX/r1shGkf
 fEy9iP3LhVwwXcapLniIR9zzMkCxbDwmWb3FpTCvAcGwt5o6na8n73RFpqumsA84cHx/
 mcaA==
X-Gm-Message-State: AOJu0YxJpBZuQF4sUEk5pXvcOHT3PjkheDogqAFikH5kLfkboonxh+23
 AHYTE8yXEk4oOEB0zBWHyjFLJmVIE8OJCHvWfOGwWgX+i2Kb68J1UuFvH6JG
X-Gm-Gg: ASbGncsiINcbSBh7g7VEttbwyN2xGBQ9xBdS2PiBge1o3fhkQvuwz2NAnuVX93ppxTD
 aig+ArdAmeIeg6fjftV2+tgQMT/Z6n9CRQLG9EqaiwFnWNL/FUdUUJrc/PAul2QERXpQnWP8ss9
 I59zKdLbbFRg7IgnuYzqjmt/L+F1gVfIM40pu36LIZmuJB3qpMzJKfQpYiRrRdnitI9kRugWOv/
 0KtzsBZSi4X4Lq+25F6V90Pe65q+7tmxqYEXmKaoMCd+ETUyx/Z3+Hg2dKI72WsbxVi77l/ul4k
 bp6lFvoX0/yozs/wFYjP6eEfoT4AIHi8AZtW+2uCnYd0B8+n8zh1P1NgBLKZe+hkb2oK+LbZ5sv
 cmyoS3jQYDZfYcZii803My2Vxwm0tXUubA9nAoKYo6lG6hg==
X-Google-Smtp-Source: AGHT+IHanK4jdk4aN33CGnqf7DKclblUm/5OmgzM/7DoVJo05byWyvUxqT7jPJXWxK2xnzvVJcylMQ==
X-Received: by 2002:a17:907:2ce4:b0:ac2:dc00:b34d with SMTP id
 a640c23a62f3a-acb74e0ed59mr55396966b.53.1744934153578; 
 Thu, 17 Apr 2025 16:55:53 -0700 (PDT)
Received: from localhost.localdomain (adsl-135.91.140.30.tellas.gr.
 [91.140.30.135]) by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-acb6eefcf97sm50763566b.88.2025.04.17.16.55.52
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 17 Apr 2025 16:55:52 -0700 (PDT)
From: IndecisiveTurtle <geoster3d@gmail.com>
X-Google-Original-From: IndecisiveTurtle
 <47210458+raphaelthegreat@users.noreply.github.com>
To: ffmpeg-devel@ffmpeg.org
Date: Fri, 18 Apr 2025 02:55:29 +0300
Message-ID: <20250417235543.227108-2-47210458+raphaelthegreat@users.noreply.github.com>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <20250417235543.227108-1-47210458+raphaelthegreat@users.noreply.github.com>
References: <20250417235543.227108-1-47210458+raphaelthegreat@users.noreply.github.com>
MIME-Version: 1.0
Subject: [FFmpeg-devel] [PATCH v3 2/5] libavcodec/vc2enc: Switch quant to int
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: IndecisiveTurtle <geoster3d@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250417235543.227108-2-47210458+raphaelthegreat@users.noreply.github.com/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

From: IndecisiveTurtle <geoster3d@gmail.com>

Prevents compiler from mistaking it as a string
Also makes passing it to the GPU in a buffer easier
---
 libavcodec/vc2enc_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vc2enc_common.h b/libavcodec/vc2enc_common.h
index eaaf5ac99c..40c9ff85b5 100644
--- a/libavcodec/vc2enc_common.h
+++ b/libavcodec/vc2enc_common.h
@@ -119,7 +119,7 @@ typedef struct VC2EncContext {
     int profile;
 
     /* Quantization matrix */
-    uint8_t quant[MAX_DWT_LEVELS][4];
+    int quant[MAX_DWT_LEVELS][4];
     int custom_quant_matrix;
 
     /* Division LUT */
-- 
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".