Bug 92022

Summary: st/va: add initial support for Video Post Processing and Export/Import of VaSurface
Product: Mesa Reporter: Julien Isorce <julien.isorce>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: enhancement    
Priority: medium CC: ckoenig.leichtzumerken, frederic.romagne, gb.devel, vjaquez
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Julien Isorce 2015-09-16 12:43:40 UTC
Just let know I did a first attempt to add VPP and VaAcquireBufferHandle(dmabuf) to st/va:

https://github.com/CapOM/mesa/commits/wip_export_import_and_vpp

I'll send patches to mesa-dev mailing list once it is ready. If you have any remark let me know.
Comment 1 Julien Isorce 2015-09-16 18:00:36 UTC
I splitted patches:
https://github.com/CapOM/mesa/commits/wip_export_import_and_vpp

From newer to older:
st/va: implement dmabuf export
st/va: implement VaDeriveImage
st/va: implement dmabuf import for VaCreateSurfaces2
st/va: add initial Video Post Processing support
st/va: implement VaCreateSurfaces2 and VaQuerySurfaceAttributes
st/va: in VaPutImage only destroy previous buffer if pipe->create_video_buffer succeed
st/va: properly defines VAImageFormat formats and improve VaCreateImage
nvc0: fix crash when nv50_miptree_from_handle
Comment 2 Ilia Mirkin 2015-09-16 18:05:59 UTC
(In reply to Julien Isorce from comment #0)
> Just let know I did a first attempt to add VPP and
> VaAcquireBufferHandle(dmabuf) to st/va:
> 
> https://github.com/CapOM/mesa/commits/wip_export_import_and_vpp
> 
> I'll send patches to mesa-dev mailing list once it is ready. If you have any
> remark let me know.

The proper way to do all this is by sending emails, not filing bugs.
Comment 3 Julien Isorce 2015-09-16 21:15:58 UTC
(In reply to Ilia Mirkin from comment #2)
> The proper way to do all this is by sending emails, not filing bugs.

All right. I need to clean up them a bit more first and I'll send them.
Comment 4 Julien Isorce 2015-11-02 18:07:59 UTC
All the patches related to the title have now landed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.