Seungha Yang
aaeb76f09c
codecs: vp8decoder: Use GstFlowReturn everywhere
...
boolean return value is not sufficient for representing the reason
of error in most cases. For instance, any errors around new_sequence()
would mean negotiation error, not just *ERROR*.
And some subclasses will allocate buffer/memory/surface on new_picture()
but it could be failed because of expected error, likely flushing
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2528 >
2021-09-20 13:03:44 +00:00
Seungha Yang
791f1da7b8
nvcodec: nvsldec: Refactor graphics api resource handling
...
* Move GL context object to GstNVDecoder object, and remove
duplicated handling of each codec decoder element
* Don't create GL context too early. We can create it only if
we need to negotiate with downstream gl element.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2089 >
2021-03-29 15:10:54 +00:00
Seungha Yang
977c3276d4
nvcodec: Fix various typo
...
Not sure where the DECOCER came from
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1803 >
2020-11-12 13:10:13 +00:00
Seungha Yang
71564f471d
nvcodec: nvdecoder: Move to refcount based GstNvDecoderFrame
...
This refcount based way would be helpful for sharing nvdec frame among
multiple codec pictures and later zero-copy use case.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1738 >
2020-11-10 14:39:40 +00:00
Seungha Yang
36ed24ac05
nvcodec: Add VP8 stateless decoder element
...
Like other nvcodec stateless decoders, the rank of this new nvvp8sldec
element will be secondary for now.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1738 >
2020-11-10 14:39:40 +00:00