[Libva] [PATCH][G45][10/10] Move initialization of render_state->interleaved_uv to vaCreateContext()
Gwenole Beauchesne
gbeauchesne at splitted-desktop.com
Sun Jul 11 08:58:48 PDT 2010
Hi,
This patches move initialization of render_state->interleaved_uv
earlier, e.g. in vaCreateContext(). This is necessary for vaGetImage()
to work when VA surface is not initialized yet (no BO).
Note that both media_state & render_state should not live in
driver_data because otherwise you can't decode MPEG-2 & H.264 at the
same time in the same process. Someone should move both into
object_context_p. Fixing this require more changes like link a VA
surface to a VA context when the VA surface is attached to a specific
context through vaCreateContext().
Regards,
Gwenole.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-G45-Move-initialization-of-render_state-interleaved_.patch
Type: application/octet-stream
Size: 2516 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libva/attachments/20100711/dc445838/attachment.obj>
-------------- next part --------------
More information about the Libva
mailing list