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 ESMTP id 8FCF244CD0 for ; Thu, 16 Mar 2023 14:45:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 56C9F68BF1C; Thu, 16 Mar 2023 16:45:09 +0200 (EET) Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4903468BBA2 for ; Thu, 16 Mar 2023 16:45:03 +0200 (EET) Received: by mail-ot1-f53.google.com with SMTP id f19-20020a9d5f13000000b00693ce5a2f3eso1088091oti.8 for ; Thu, 16 Mar 2023 07:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678977901; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=udTmCuIKEwy8Wdhew8h/pZhgTVd3BW157BpdOWum2bA=; b=ZpZGJrSfIwvZf8+7tu4FYw2Q27YJzh92kZ+7oP4u/bT2QwT17497+VKF/OCQKrtK7u VZeAGeBoNadD0b4A/OF250GNlT0/3pN70y039As4FrR0LIMc3F71Ogr/mf2mnqvPMFZh OJEXB7ooPENE9Ji6cmxQ/clseV5k97yNobryP9iYPCEBRyPWLw9HqYxhpd9CaZc+hnAw w3E4sJgBIkSXSsDrAxe5pp/klWLomyx4PxXc+l3P57D+75n3/ENhvnD14BZtsou6tJmV npSM9+ouSBSWecID50UfVPLTdunrEFzqKpqy1QrPdVsDYULMBNF4iVJvwhFa0kK40sJC YLig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678977901; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=udTmCuIKEwy8Wdhew8h/pZhgTVd3BW157BpdOWum2bA=; b=51tcJP540KvkzCRdqNRWkTr4d5402XrcEAQhhL30PmcFTInep2j/6q3nkLqr9UlyK1 HSRrUN9pBmlfh2ElKpC6BUhZY9/hi2BFantWDgpMSVmc97/m/PEQGirw1m+tMu8leFya aevHSL4j+NeC/7JqFjaAM4MkcGpN1YSZOJ7JiNKyEVd4vL2TQBKdCBY1dgWtd9fLXss0 aQc0mIusG/6YO/58GPMafX9r+/8vVG2zKVeFqPPKvHiP4jrK7ZXV6Gqq4EzIVbHLDrpd ANx4AiRsjqRMJCFLTsvmDAlDn/UjiWWGKhVq6BzSENhPxoY381Wr9oanRatAN2r0rZBZ RgJw== X-Gm-Message-State: AO0yUKX6eommcJY/Qc4g7BI4VsZhTsu2zXTAmv701n4sL2bxzunc1b47 AReQXWEpjSrtl3yOiCl/sVQIoK57fgQ= X-Google-Smtp-Source: AK7set/Yi4IyBvXEkJmE6DLQKRUq++29JTEOUjS7HFxA+RLaH9cFFEL7EOpecKQySCoWzi8Mz2fcpQ== X-Received: by 2002:a9d:1ac:0:b0:698:ee0a:d42c with SMTP id e41-20020a9d01ac000000b00698ee0ad42cmr4031812ote.5.1678977901147; Thu, 16 Mar 2023 07:45:01 -0700 (PDT) Received: from localhost.localdomain (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id n5-20020a4a8485000000b005252d376caesm3387888oog.22.2023.03.16.07.44.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:45:00 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Thu, 16 Mar 2023 11:44:16 -0300 Message-Id: <20230316144417.3634-1-jamrial@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_untile: swap the chroma shift values used for plane offsets 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: Fixes ticket #10265 Signed-off-by: James Almer --- libavfilter/vf_untile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_untile.c b/libavfilter/vf_untile.c index 5d7709d68c..c8dafd1e60 100644 --- a/libavfilter/vf_untile.c +++ b/libavfilter/vf_untile.c @@ -134,8 +134,8 @@ static int activate(AVFilterContext *ctx) if (!(s->desc->flags & AV_PIX_FMT_FLAG_PAL)) { for (i = 1; i < 3; i ++) { if (out->data[i]) { - out->data[i] += (y >> s->desc->log2_chroma_w) * out->linesize[i]; - out->data[i] += (x >> s->desc->log2_chroma_h) * s->max_step[i]; + out->data[i] += (y >> s->desc->log2_chroma_h) * out->linesize[i]; + out->data[i] += (x >> s->desc->log2_chroma_w) * s->max_step[i]; } } } -- 2.39.2 _______________________________________________ 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".