mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
d7b4691c3b
Original commit message from CVS: * check/gst-libs/controller.c: (GST_START_TEST), (gst_controller_suite): more tests * docs/gst/tmpl/gstutils.sgml: * docs/libs/gstreamer-libs-sections.txt: * docs/libs/tmpl/gstdataprotocol.sgml: include path fixes * examples/controller/audio-example.c: (main): controller example works now * gst/gstclock.h: doc fixes * tools/gst-inspect.c: (print_element_properties_info): show param spec flags
200 lines
2.8 KiB
Text
200 lines
2.8 KiB
Text
<!-- ##### SECTION Title ##### -->
|
|
gstdataprotocol
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
implements GStreamer Data Protocol to serialize buffers, caps and events.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
This helper library provides serialization of GstBuffer, GstCaps and
|
|
GstEvent structures.
|
|
</para>
|
|
|
|
<para>
|
|
This serialization can be useful when GStreamer needs to interface with
|
|
the outside world to transport data between different GStreamer pipelines.
|
|
The connections with the outside world generally don't have mechanisms
|
|
to transport properties of these structures.
|
|
</para>
|
|
<para>
|
|
For example, transporting buffers across named pipes doesn't keep the
|
|
buffer size. Network elements that transport GStreamer data across
|
|
network connections also need a protocol to do this.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#GstBuffer, #GstCaps, #GstEvent
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### ENUM GstDPHeaderFlag ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@GST_DP_HEADER_FLAG_NONE:
|
|
@GST_DP_HEADER_FLAG_CRC_HEADER:
|
|
@GST_DP_HEADER_FLAG_CRC_PAYLOAD:
|
|
@GST_DP_HEADER_FLAG_CRC:
|
|
|
|
<!-- ##### ENUM GstDPPayloadType ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@GST_DP_PAYLOAD_NONE:
|
|
@GST_DP_PAYLOAD_BUFFER:
|
|
@GST_DP_PAYLOAD_CAPS:
|
|
@GST_DP_PAYLOAD_EVENT_NONE:
|
|
|
|
<!-- ##### MACRO GST_DP_HEADER_LENGTH ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_DP_VERSION_MAJOR ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_DP_VERSION_MINOR ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_init ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_header_payload_length ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@header:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_header_payload_type ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@header:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_header_from_buffer ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@buffer:
|
|
@flags:
|
|
@length:
|
|
@header:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_packet_from_caps ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@caps:
|
|
@flags:
|
|
@length:
|
|
@header:
|
|
@payload:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_packet_from_event ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@event:
|
|
@flags:
|
|
@length:
|
|
@header:
|
|
@payload:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_buffer_from_header ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@header_length:
|
|
@header:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_caps_from_packet ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@header_length:
|
|
@header:
|
|
@payload:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_event_from_packet ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@header_length:
|
|
@header:
|
|
@payload:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_validate_header ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@header_length:
|
|
@header:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_validate_payload ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@header_length:
|
|
@header:
|
|
@payload:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dp_validate_packet ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@header_length:
|
|
@header:
|
|
@payload:
|
|
@Returns:
|
|
|
|
|