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 BDF6646F75 for ; Tue, 24 Oct 2023 23:39:09 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 97BAF68CA4B; Wed, 25 Oct 2023 02:39:06 +0300 (EEST) Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0F3D168C54D for ; Wed, 25 Oct 2023 02:38:59 +0300 (EEST) Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w4.tutanota.de (Postfix) with ESMTP id 88EC010602F3 for ; Tue, 24 Oct 2023 23:38:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1698190739; s=s1; d=lynne.ee; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=UCFE/xyh8ZwZ6ImC4W6juhkSFkBF+lQ1EX1NSIcQ3oA=; b=PirFxpU+vlDruEps2Xv3TLp8fRPPSKQFoKKhK8tagWgZT4xcVBsCZtqolXFmVDGg v80jojyuGqFhcfy8EP0BBYwlSOjBP7qATU0yy5Z/p/qbUi04lTRGNT6e3t/xhVFcWaJ Aajegi9rB/CiRbPwNfNrUZzM3tJGzj5MYWZYa//idsXurXThW/6oJhaf810+h9wie3K UYCI79hLIkh/mPALaG7A7fJgF70m+Q99XL/I17NdG/+P7enxXEKYwaaQf7XtetHjPDP FVobSMX9Np5eLpWhFGw7r0VmHsXwpPU1UjjIEZ9aM2so+5XYsqKZgED4DlSfcfZ39Ha Xc6nKjGMhA== Date: Wed, 25 Oct 2023 01:38:59 +0200 (CEST) From: Lynne To: FFmpeg development discussions and patches Message-ID: In-Reply-To: <169817429108.11195.14435342091438046647@lain.khirnov.net> References: <169817429108.11195.14435342091438046647@lain.khirnov.net> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] vulkan_decode: use coded_width/height instead of the non-coded width and h 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: Oct 24, 2023, 21:05 by anton@khirnov.net: > Quoting Lynne (2023-10-24 06:37:03) > >> Fixes several samples. >> >> There may be issues with cropping, but so far, I have not found any >> in my samples set. >> > > Frames ctx dimensions should be the allocated ones, cropping does not > enter into this. > Correct, that's what I meant to say. The sample in question is https://streams.videolan.org/issues/19938/20000_20180305-15.04.59.ts Which is coded as 1920x1080, meant to be rendered at 1440x1080 with cropping, or 1680x1080 before cropping. Currently, the created DPB is 1440x1080, which results in the image being decoded incorrectly, as the decoder overwrites output memory. This commit fixes this. Added this to the commit description locally. _______________________________________________ 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".