48 #ifndef __VDO_CHANNEL_H__ 49 #define __VDO_CHANNEL_H__ 55 #include <glib-object.h> 61 #define VDO_TYPE_CHANNEL (vdo_channel_get_type()) 62 G_DECLARE_FINAL_TYPE(
VdoChannel, vdo_channel, VDO, CHANNEL, GObject)
184 const gchar *profile,
237 gboolean vdo_channel_set_stream_profile(
VdoChannel *
self,
239 const gchar *profile,
258 gboolean vdo_channel_set_crop_dptz(
VdoChannel *
self,
261 guint width, guint height,
274 vdo_channel_apply_alpha_blending(
VdoChannel *
self,
306 VdoMap *info, GError **error);
315 gboolean vdo_channel_destroy(
VdoChannel *
self, GError **error);
guint vdo_channel_get_id(VdoChannel *self)
VdoFormat
Video formats.
Definition: vdo-types.h:43
A class representing a dictionary mapping keys to values.
Vdo common type definitions.
VdoMap * vdo_channel_get_info(VdoChannel *self, GError **error)
Get the info for this channel.
VdoResolutionSet * vdo_channel_get_resolutions(VdoChannel *self, VdoMap *filter, GError **error)
Fetch all valid resolutions for a channel with specified stream format.
gboolean vdo_channel_set_framerate(VdoChannel *self, gdouble framerate, GError **error)
Update the framerate for the specified channel.
A class representing a dictionary mapping keys to values.
VdoMap * vdo_channel_get_stream_profile(VdoChannel *self, const gchar *profile, VdoFormat format, GError **error)
Query stream profile for the specified name, format and channel.
GList * vdo_channel_get_filtered(VdoMap *filter, GError **error)
Gets all existing channels matching a filter.
VdoChannel * vdo_channel_get(guint channel_nbr, GError **error)
Get an existing channel.
GList * vdo_channel_get_all(GError **error)
Gets all existing channels.
VdoMap * vdo_channel_get_settings(VdoChannel *self, GError **error)
Get the settings for this channel.
A set of resolutions.
Definition: vdo-types.h:436
gboolean vdo_channel_set_settings(VdoChannel *self, VdoMap *settings, GError **error)
Update the settings for this channel.