diff options
author | Ruijing Dong <ruijing.dong@amd.com> | 2022-01-24 12:42:58 -0500 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-01-26 15:28:55 +0000 |
commit | cf16368977cc82245aeb372f10710d9a8e213148 (patch) | |
tree | eba8b3ea6079095b5fc9eec18306da83456b4102 /src/gallium/drivers/radeon | |
parent | 8747715aecea73fa932d11a30188aae2b353cdb4 (diff) |
frontend/va: Keep surface buf addr before reallocation
The reference buffer address is used as the indication in h264 DPB
Tier2, when reference buffer was reallocated, h264 DPB would lose
track of that reference picture. Adding a pointer obsolete_buf in
vlVaSurface data structure for tracking this released buffer, also
in h264_picture_desc adding a private field, which contains
past_ref[16] for tracking previously released buffer vs current
buffer for reference frames.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5868
Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14646>
Diffstat (limited to 'src/gallium/drivers/radeon')
0 files changed, 0 insertions, 0 deletions