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 98A5C46640 for ; Mon, 29 May 2023 03:11:51 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AEC2768C1EB; Mon, 29 May 2023 06:11:48 +0300 (EEST) Received: from mail.overt.org (mail.overt.org [72.14.183.176]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0824568C07D for ; Mon, 29 May 2023 06:11:42 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=overt.org; s=mail; t=1685329901; bh=P5RcCz+dfSZM9SWMuLgrI0VY+BriUqepx54LJo9SkII=; h=Date:From:To:Subject:In-Reply-To:References:From; b=C0/ChnjnPr638tMoAZ4HWrhDOvf5s6icgOpbDRQGnrIO7pgT5p9H0KNRp3vH9PV/p y9F0mAdasah6XoXLvHdAEVUsfWqe9fDYptQvdnXKrSjDhTPHeyVscqGN52TtX5FE5p xPh7myeWjfmiMpNH7HuMvMBHQA321keZSG0VA03IKHeqYxiColdza+lRvQBhJFXXDM BcWsm2hU7DHRtUDiRXqaL9vhfwb9sWEUnwRsDl0W3zoqAeI5Kw36Haop/Q0AD+1owP 27TGIaLIp6maYWeK1EbSG31FMK7WgJWVQBiGxi0T2DWCzKIEvLKT/NgccXv1p4Xoie PstjjjmYGFEsQ== Received: from authenticated-user (mail.overt.org [72.14.183.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.overt.org (Postfix) with ESMTPSA id EB9986069F for ; Sun, 28 May 2023 22:11:40 -0500 (CDT) Date: Sun, 28 May 2023 20:11:39 -0700 From: Philip Langdale To: ffmpeg-devel@ffmpeg.org Message-ID: <20230528201139.7182a26a@fido7> In-Reply-To: References: MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] vulkan_decode: do not align the image dimensions 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: On Mon, 29 May 2023 04:08:17 +0200 (CEST) Lynne wrote: > According to Dave Airlie: > > > but I think ignoring it should be fine, I can't see any > > other way to get the imaeg extents correct for other usage > > what width/height should be used for the images? > > the final presentable dimensions, or the coded dimensions? > > if you don't want noise I think the presentable dims > > the driver should round up the allocations internally, > > but if you are going to sample from the images then w/h have to be > > the bounds of the image you want > > since otherwise there's no way to stop the sampler from > > going outside the edges > Works fine on nvidia here. I agree with the logic - it doesn't seem reasonable to handle it the other way. --phil _______________________________________________ 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".