Re: [FFmpeg-devel] [PATCH] av1dec: handle dimension changes via get_format

2023-06-21 Thread James Almer
On 6/21/2023 6:42 PM, Dave Airlie wrote: On Thu, 22 Jun 2023 at 07:36, James Almer wrote: On 6/21/2023 6:15 PM, Dave Airlie wrote: On Thu, 22 Jun 2023 at 02:36, James Almer wrote: On 6/20/2023 8:36 PM, airl...@gmail.com wrote: From: Dave Airlie av1-1-b8-03-sizeup.ivf on vulkan causes

Re: [FFmpeg-devel] [PATCH] av1dec: handle dimension changes via get_format

2023-06-21 Thread Dave Airlie
On Thu, 22 Jun 2023 at 07:36, James Almer wrote: > > On 6/21/2023 6:15 PM, Dave Airlie wrote: > > On Thu, 22 Jun 2023 at 02:36, James Almer wrote: > >> > >> On 6/20/2023 8:36 PM, airl...@gmail.com wrote: > >>> From: Dave Airlie > >>> > >>> av1-1-b8-03-sizeup.ivf on vulkan causes gpu hangs as non

Re: [FFmpeg-devel] [PATCH] av1dec: handle dimension changes via get_format

2023-06-21 Thread James Almer
On 6/21/2023 6:15 PM, Dave Airlie wrote: On Thu, 22 Jun 2023 at 02:36, James Almer wrote: On 6/20/2023 8:36 PM, airl...@gmail.com wrote: From: Dave Airlie av1-1-b8-03-sizeup.ivf on vulkan causes gpu hangs as none of the images get resized when dimensions change, this detects the dim change

Re: [FFmpeg-devel] [PATCH] av1dec: handle dimension changes via get_format

2023-06-21 Thread Dave Airlie
On Thu, 22 Jun 2023 at 02:36, James Almer wrote: > > On 6/20/2023 8:36 PM, airl...@gmail.com wrote: > > From: Dave Airlie > > > > av1-1-b8-03-sizeup.ivf on vulkan causes gpu hangs as none of the > > images get resized when dimensions change, this detects the dim > > change and calls the get_forma

Re: [FFmpeg-devel] [PATCH] av1dec: handle dimension changes via get_format

2023-06-21 Thread James Almer
On 6/20/2023 8:36 PM, airl...@gmail.com wrote: From: Dave Airlie av1-1-b8-03-sizeup.ivf on vulkan causes gpu hangs as none of the images get resized when dimensions change, this detects the dim change and calls the get_format to reinit the context. --- libavcodec/av1dec.c | 12

Re: [FFmpeg-devel] [PATCH] av1dec: handle dimension changes via get_format

2023-06-21 Thread Leo Izen
On 6/20/23 19:36, airl...@gmail.com wrote: From: Dave Airlie av1-1-b8-03-sizeup.ivf on vulkan causes gpu hangs as none of the images get resized when dimensions change, this detects the dim change and calls the get_format to reinit the context. --- libavcodec/av1dec.c | 12 1 fi