GNOME Bugzilla – Bug 797063
h265parse: Add split-field interlacing to h265parse & interlace elements
Last modified: 2018-11-03 14:30:50 UTC
These patches add split-field (alternate) interlacing support to h265parse and interlace elements.
These patches are not yet ready to be merged as the caps lack the needed feature, which will be added soon. The point of submitting them already was to already get opinions/suggestions on the main changes.
Also I'm not entirely sure if the (short-cut) approach I took for interlace is what we would want. Suggestions welcome.
Created attachment 373525 [details] [review]
h265parse: Handle interlaced video
For interlaced video:
* set the interlace mode in the src caps
* double the height from SPS in the caps.
* set field latency, instead of frame latency.
Created attachment 373526 [details] [review]
h265parse: Derive src fps from vui_time_scale & vui_num_units_in_tick
Created attachment 373527 [details] [review]
h265parse: Set duration on buffers
Based on the framerate.
Created attachment 373528 [details] [review]
interlace: add support for NV12_10LE32, NV16 and NV16_10LE32 formats
The interlacing code uses the GST_VIDEO_FRAME_PLANE API and is generic
enough to work with those planar formats as well.
Created attachment 373529 [details] [review]
interlace: Add support for 'alternate' format
In this format, each buffer contains only 1 of the 2 fields of the video
in alternating form.
-- 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/gst-plugins-bad/issues/778.