1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-23 04:24:35 +02:00
FFmpeg/libavcodec
Xu Guangxin 2191f9a6af lavc/hevc_refs: exclude current frame from long term refs
suppose
a. You have 3 frames, 0, 1, 4096.
b. The ltMask is 0xfff and use_msb is 0.
c. The 0, 1 are lt refs for 4096.
d. you are decoding frame 4096, and get the 0 frame.
Since 4096 & ltMask is 0 too, even you want get 0, find_ref_idx may give you 4096.
add_candidate_ref will report an error for this

Tested-by: Fei Wang <fei.w.wang@intel.com>
Signed-off-by: Xu Guangxin <guangxin.xu@intel.com>
2022-07-27 10:54:38 +08:00
..
2022-03-15 09:42:39 -03:00
2022-03-15 09:42:39 -03:00
2022-02-07 00:31:23 +01:00
2022-03-18 19:56:50 +01:00
2022-03-18 19:56:50 +01:00
2022-06-24 15:37:23 +08:00
2022-06-24 15:37:23 +08:00
2022-01-04 13:16:49 +01:00
2022-01-04 13:16:49 +01:00
2022-07-09 20:06:47 +02:00
2022-07-21 19:27:27 +02:00
2022-02-24 12:56:49 +01:00
2021-08-05 19:46:33 +02:00
2022-03-15 09:42:41 -03:00
2022-03-15 09:42:41 -03:00
2022-01-26 15:30:28 +01:00
2021-10-09 11:42:16 +02:00
2022-07-20 16:12:08 +02:00
2022-06-25 09:05:58 +08:00
2022-03-15 09:42:43 -03:00
2022-03-15 09:42:43 -03:00
2022-02-18 20:11:06 +01:00
2022-02-18 20:11:06 +01:00
2022-02-07 00:31:23 +01:00
2022-03-16 14:04:35 +02:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2021-10-10 17:44:41 +02:00
2022-04-10 20:12:23 +02:00
2022-06-25 09:05:58 +08:00
2022-03-15 09:42:45 -03:00
2021-09-12 22:23:35 +02:00