Commit 9180cf1
committed
VulkanVideoParser: preserve DPB slots for key frames with partial refresh
For AV1 key frames with show_frame=0 and refresh_frame_flags != 0xFF,
preserve DPB slots that are not being refreshed. This allows subsequent
inter frames to correctly reference existing decoded pictures that were
not overwritten by the hidden key frame.
Previously, all DPB slots could be invalidated on key frames, breaking
references for inter frames following a key frame with partial
refresh flags and show_frame=0.1 parent 9d588d9 commit 9180cf1
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1848 | 1848 | | |
1849 | 1849 | | |
1850 | 1850 | | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
1851 | 1868 | | |
1852 | 1869 | | |
1853 | 1870 | | |
| |||
0 commit comments