summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud/hud_private.h
diff options
context:
space:
mode:
authorJulien Isorce <[email protected]>2015-11-26 08:29:54 +0000
committerJulien Isorce <[email protected]>2015-12-01 08:21:20 +0000
commitb4fb6d76161d86c67697cf28a221d7913b8d084d (patch)
treeaea77ec502b933e140d9b85450ef34c8be3ccf94 /src/gallium/auxiliary/hud/hud_private.h
parent750393ff7d6162372f368f5ed726b23f4cae49a0 (diff)
st/va: delay decoder creation until max_references is known
In general max_references cannot be based on num_render_targets. This patch allows to allocate buffers with an accurate size. I.e. no more than necessary. For other codecs it is a fixed value 2. This is similar behaviour as vaapi/vdpau-driver. For now HEVC case defaults to num_render_targets as before. But it could also benefits this change by setting a more accurate max_references number in handlePictureParameterBuffer. Signed-off-by: Julien Isorce <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_private.h')
0 files changed, 0 insertions, 0 deletions