Bug 90654

Summary: libva mirror/videoflip
Product: libva Reporter: w.vanhauwaert
Component: intelAssignee: haihao <haihao.xiang>
Status: RESOLVED WONTFIX QA Contact: Sean V Kelley <seanvk>
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: force flipping horizontally for testing
force flipping vertically for testing

Description w.vanhauwaert 2015-05-26 07:15:28 UTC
I'm using gstreamer on a Intel E3800 baytrail platform.
The vaapisink has a rotate-property, but no mirror/videoflip. gst-vaapi makes use of this libva. Now I wonder if the absence of such properties is some hardware-bottleneck or just not implemented yet? I can use the normal videoflip-method, but as this is done in software, my cpu can't handle it properly (for 4 streams). I need it because I want to display a stream from a camera, which needs to be mirrored.
Comment 1 Víctor Jáquez 2015-05-26 15:34:03 UTC
The original bug report was https://bugs.freedesktop.org/show_bug.cgi?id=90654 (gstreamer-vaapi)
Comment 2 haihao 2015-06-25 01:46:52 UTC
Created attachment 116702 [details] [review]
force flipping horizontally for testing
Comment 3 haihao 2015-06-25 01:47:34 UTC
Created attachment 116703 [details] [review]
force flipping vertically for testing
Comment 4 haihao 2015-06-25 01:52:37 UTC
Are the above two scratch patches satisfy your requirement ? If yes, we will add the support for flipping in libva.
Comment 5 haihao 2015-11-24 04:37:21 UTC
Do you still require this feature? If not, I would like to close it.
Comment 6 w.vanhauwaert 2015-11-24 10:25:10 UTC
Yes, I still need it.
Though, I'm having another bug reported for my platform, which has also influences on this implementation. So I do it all in software for the moment (rotation/mirroring). But as I looked at your scratch patch, I think it will behave as requested, although not tested yet.
The bug I mentioned is 754820
Comment 7 haihao 2016-12-07 04:33:39 UTC
We won't add support for this enhancement.

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.