[Libva] [PATCH][G45][10/10] Move initialization of render_state->interleaved_uv to vaCreateContext()

Xiang, Haihao haihao.xiang at intel.com
Mon Jul 12 00:49:52 PDT 2010


On Mon, 2010-07-12 at 14:22 +0800, Gwenole Beauchesne wrote:
> Hi,
> 
> Le 12 juil. 10 à 07:56, Xiang, Haihao a écrit :
> 
> > On Sun, 2010-07-11 at 23:58 +0800, Gwenole Beauchesne wrote:
> >> 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().
> >>
> > Failed to apply this patch.
> 
> New patch attached. Thanks.

Applied

Thanks
Haihao

> 



More information about the Libva mailing list