Summary: | MADI on at least IVB and SNB assumes that reference surface is NV12, even when it's not (e.g. when feeding YUY2 surfaces from software to VPP) | ||
---|---|---|---|
Product: | libva | Reporter: | Simon Farnsworth <simon> |
Component: | intel | Assignee: | PengChen <peng.c.chen> |
Status: | NEEDINFO --- | QA Contact: | Sean V Kelley <seanvk> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Hacky patch that fixes the deinterlacing bug
Patch against staging to reject non-NV12 surfaces |
Description
Simon Farnsworth
2014-05-28 16:43:30 UTC
Created attachment 100041 [details] [review] Hacky patch that fixes the deinterlacing bug This patch isn't suitable for applying to the source tree as-is. It puts in a special case for MADI, where the colour space conversion is applied to the reference frame, too. Applying this "fixes" my issue with deinterlacing YUY2 surfaces, implying that it's about colour space of the reference frame. It would be better to fix this issue in gstreamer-vaapi, could you file a bug in gsteamer bugzilla to track the issue ? (In reply to comment #2) > It would be better to fix this issue in gstreamer-vaapi, could you file a > bug in gsteamer bugzilla to track the issue ? I'll file a bug there, too. At a minimum, though, intel-driver needs to reject the reference surface if it's in the wrong format, just as it refuses to work without a reference surface. I'll cook up a quick patch to show what I mean. Created attachment 100098 [details] [review] Patch against staging to reject non-NV12 surfaces This patch (against the staging branch) simply has intel-driver reject non-NV12 references on SNB and IVB, returning the same error code (different warning message) as it would if you asked for MADI without providing a reference surface. I haven't gone deep enough into MCDI and MADI on HSW/BDW to work out whether they need a similar patch. https://bugzilla.gnome.org/show_bug.cgi?id=730925 filed for gstreamer-vaapi. the patch Patch against staging to reject non-NV12 surfaces has been sent to Libva <libva-bounces@lists.freedesktop.org>. and assign to you. the patch Patch against staging to reject non-NV12 surfaces has been sent to Libva <libva-bounces@lists.freedesktop.org>. and assign to you. I can't find the patch in my archive of the list. Could someone give me a pointer to it? Sorry for slow response. do you still experience this issue? (In reply to haihao from comment #9) > Sorry for slow response. do you still experience this issue? I've left ONELAN, and no longer have access to this hardware. You should be able to reproduce with the details in comment #0 if it's still an issue on IVB or SNB. |
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.