diff options
author | Boyuan Zhang <[email protected]> | 2017-12-15 11:17:32 -0500 |
---|---|---|
committer | Leo Liu <[email protected]> | 2017-12-15 16:04:31 -0500 |
commit | f2bfd1cbb7e72945ca192845a1ad28426c7aea89 (patch) | |
tree | 25d2a939ecbcd87b7e3198e6213c9fa067b4e484 /src/gallium/drivers/radeon/Makefile.sources | |
parent | d9727f31a82e0d064bd0588b8a1d2323379eac0b (diff) |
radeon/vcn: add and manage render picture list
Create a list in decoder to store all render picture buffer pointers that
currently being used in reference picture lists.
During get message buffer call, check each pointer in render_pic_list[]
within given pic->ref[] list, remove pointer that no longer being used by
pic->ref[]. Then add current render surface pointer to the render_pic_list[]
and assign the associated index to result.curr_idx.
As a result, result.curr_idx will have the correct index to represent the
current render picture, instead of the previous increamenting values.
Signed-off-by: Boyuan Zhang <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/Makefile.sources')
0 files changed, 0 insertions, 0 deletions