Re: [FFmpeg-devel] [PATCH v2] avcodec/hw_base_encode: restrict size of next_prev

2024-12-22 Thread Lynne via ffmpeg-devel
On 22/12/2024 17:24, Lynne via ffmpeg-devel wrote: On 22/12/2024 05:25, Benjamin Cheng via ffmpeg-devel wrote: Some drivers are more strict about the size of the reference lists given (i.e. VAOn12 [1]). The next_prev list is used to handle multiple "L0" references in AV1 encode. Restrict the siz

Re: [FFmpeg-devel] [PATCH v2] avcodec/hw_base_encode: restrict size of next_prev

2024-12-22 Thread Lynne via ffmpeg-devel
On 22/12/2024 05:25, Benjamin Cheng via ffmpeg-devel wrote: Some drivers are more strict about the size of the reference lists given (i.e. VAOn12 [1]). The next_prev list is used to handle multiple "L0" references in AV1 encode. Restrict the size of next_prev based on the value of ref_l0 when the

[FFmpeg-devel] [PATCH v2] avcodec/hw_base_encode: restrict size of next_prev

2024-12-21 Thread Benjamin Cheng via ffmpeg-devel
Some drivers are more strict about the size of the reference lists given (i.e. VAOn12 [1]). The next_prev list is used to handle multiple "L0" references in AV1 encode. Restrict the size of next_prev based on the value of ref_l0 when the GOP structure is initialized. [1] https://github.com/intel/c