After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769436 - vaapi: [RFC] remove memory:VASurface caps feature
vaapi: [RFC] remove memory:VASurface caps feature
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-08-02 14:57 UTC by Víctor Manuel Jáquez Leal
Modified: 2018-11-03 15:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
remove memory:VASurface feature (16.22 KB, patch)
2016-08-02 14:58 UTC, Víctor Manuel Jáquez Leal
none Details | Review

Description Víctor Manuel Jáquez Leal 2016-08-02 14:57:51 UTC
This is an idea: what if we get rid of the memory:VASurface caps feature?

The purpose of the caps feature is to restrict the type of caps the element can process. But vaapi element can process as input two types of caps: system memory and GstVaapiVideoMemory. As output, three: system memory, GL texture upload and vaapi memory.

Do we need to annotate the vaapi memory?

I think we do not need it, since vaapi surfaces can be mapped onto images (not completely, but almost).

Opinions?
Comment 1 Víctor Manuel Jáquez Leal 2016-08-02 14:58:36 UTC
Created attachment 332565 [details] [review]
remove memory:VASurface feature
Comment 2 Hyunjun Ko 2016-10-06 09:55:15 UTC
(In reply to Víctor Manuel Jáquez Leal from comment #0)
 
> Do we need to annotate the vaapi memory?
> 
> I think we do not need it, since vaapi surfaces can be mapped onto images
> (not completely, but almost).
> 
I agree with this. 

IMHO, this change makes vaapi elements flexible during negotiation.
and makes source code for negotiation more simple.

Probably, this can fix #772457 and this kind of issues also.
Comment 3 sreerenj 2016-10-07 19:41:31 UTC
In theory, VASurface can be an encrypted (drm protected) too where there is no download possible. How do we support this?  may be just  mark it as non-mappable memory?
But keep in mind that we don't even know the pixel format of these type buffers.
Comment 4 Olivier Crête 2016-10-14 16:01:27 UTC
If it's not mappable and can only be used from other Vaapi elements, would it make sense to make it a different caps, like video/x-vaapi-drm or somethign like that?
Comment 5 GStreamer system administrator 2018-11-03 15:48:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/42.