Seungha Yang
4448cb64c8
nvh264dec,nvh265dec: Don't realloc bitstream buffer per slice
...
Allocated memory size has not been updated which results in
realloc per slice. Fixing it and also release bitstream buffer
on ::close(), not finalize.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2379 >
2022-05-06 00:08:50 +01:00
Seungha Yang
18918cdece
nvdecoder: Fix for HEVC 4:4:4 format decoding
...
Map chroma_format_idc == 3 (which means 4:4:4 subsampling) correctly,
also pass coded bitdepth for decoder initialization instead of
inferring it from output format since they can be different.
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/949
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1660 >
2022-02-08 05:04:17 +00:00
Seungha Yang
e322745763
codecs: h264decoder: 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/gstreamer/-/merge_requests/1019 >
2021-10-04 20:56:46 +00:00
Seungha Yang
da7f4e0a69
nvcodec: nvh264sldec: Add support for interlaced stream
...
Implement missing interlaced stream support
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1026 >
2021-10-04 08:04:00 +00:00
Seungha Yang
ce8965b75b
nvcodec: nvh264sldec: Consider additional render delay DPB pictures
...
At least additional 4 pictures are required
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1026 >
2021-10-04 08:04:00 +00:00
Thibault Saunier
019971a3c7
Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir
2021-09-24 16:14:36 -03:00