Re: [FFmpeg-devel] [PATCH v2 1/5] avcodec/d3d12va_vp9: fix vp9 max_num_refs value

2024-01-04 Thread Xiang, Haihao
On Di, 2024-01-02 at 05:21 +, Xiang, Haihao wrote: > On Do, 2023-12-28 at 11:10 +0800, Tong Wu wrote: > > Previous max_num_refs was based on pp.frame_refs plus 1 and it could > > possibly > > reaches the size limit. Actually it should be the size of pp.ref_frame_map > > plus 1. > > > > Signed-

Re: [FFmpeg-devel] [PATCH v2 1/5] avcodec/d3d12va_vp9: fix vp9 max_num_refs value

2024-01-01 Thread Xiang, Haihao
On Do, 2023-12-28 at 11:10 +0800, Tong Wu wrote: > Previous max_num_refs was based on pp.frame_refs plus 1 and it could possibly > reaches the size limit. Actually it should be the size of pp.ref_frame_map > plus 1. > > Signed-off-by: Tong Wu > --- >  libavcodec/d3d12va_vp9.c | 2 +- >  1 file cha

[FFmpeg-devel] [PATCH v2 1/5] avcodec/d3d12va_vp9: fix vp9 max_num_refs value

2023-12-27 Thread Tong Wu
Previous max_num_refs was based on pp.frame_refs plus 1 and it could possibly reaches the size limit. Actually it should be the size of pp.ref_frame_map plus 1. Signed-off-by: Tong Wu --- libavcodec/d3d12va_vp9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/d3d1