Re: [FFmpeg-devel] [PATCH 2/2] lavc/hevc_refs: Fix the logic of find_ref_idx()

2020-05-27 Thread Fu, Linjie
> From: ffmpeg-devel On Behalf Of Fu, > Linjie > Sent: Thursday, May 21, 2020 14:38 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: Xu, Guangxin > Subject: Re: [FFmpeg-devel] [PATCH 2/2] lavc/hevc_refs: Fix the logic of > find_ref_idx() >

Re: [FFmpeg-devel] [PATCH 2/2] lavc/hevc_refs: Fix the logic of find_ref_idx()

2020-05-20 Thread Fu, Linjie
> From: ffmpeg-devel On Behalf Of Fu, > Linjie > Sent: Monday, May 18, 2020 15:17 > To: ffmpeg-devel@ffmpeg.org > Cc: Xu, Guangxin > Subject: Re: [FFmpeg-devel] [PATCH 2/2] lavc/hevc_refs: Fix the logic of > find_ref_idx() > > > From: Fu, Linjie > > Sent

Re: [FFmpeg-devel] [PATCH 2/2] lavc/hevc_refs: Fix the logic of find_ref_idx()

2020-05-18 Thread Fu, Linjie
> From: Fu, Linjie > Sent: Tuesday, May 12, 2020 21:44 > To: ffmpeg-devel@ffmpeg.org > Cc: Xu, Guangxin ; Fu, Linjie > Subject: [PATCH 2/2] lavc/hevc_refs: Fix the logic of find_ref_idx() > > From: Xu Guangxin > > Currently find_ref_idx() would trigger 2 scans in DPB to find the > requested PO

[FFmpeg-devel] [PATCH 2/2] lavc/hevc_refs: Fix the logic of find_ref_idx()

2020-05-12 Thread Linjie Fu
From: Xu Guangxin Currently find_ref_idx() would trigger 2 scans in DPB to find the requested POC: 1. Firstly, ignore MSB of ref->poc and search for the requested POC; 2. Secondly, compare the entire ref->poc with requested POC; For long term reference, we are able to only check LSB if MSB is no