Add default implementation for vaQuerySurfaceAttributes().
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 27 May 2013 18:39:29 +0000 (20:39 +0200)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 5 Jun 2013 01:38:35 +0000 (09:38 +0800)
commit285b384c60a326936f40f52a69b6b2e3f3189929
tree408800903d9302df8e1ac0bc2eec1dcba9efb72c
parent8dccd7a279cdc9667c01a99257e89d652ee5194c
Add default implementation for vaQuerySurfaceAttributes().

Add an initial implementation for vaQuerySurfaceAttributes() in terms
of vaGetSurfaceAttributes(). This is an inefficient approach because
it dynamically allocates the whole set of surface attributes we guessed
are available.

This code is to be removed once the VA drivers are updated.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
va/va.c