nouveau: rework reference frame handling

Graphics / Mesa 3D Graphics Library / Mesa - Maarten Lankhorst [canonical.com] - 11 September 2014 22:18 UTC

Fixes a regression from "nouveau/vdec: small fixes to h264 handling"

New picking order for frames: 1. Vidbuf pointer matches. 2. Take the first kicked ref. 3. If that fails, take a ref that has a different last_used.

a41aad8 nouveau: rework reference frame handling
src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c | 39 +++++++++++++++++++-
src/gallium/drivers/nouveau/nv50/nv98_video_vp.c | 1 -
src/gallium/drivers/nouveau/nvc0/nvc0_video_vp.c | 1 -
3 files changed, 37 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share