/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | v4l2_calls.c | 60 gst_v4l2_get_capabilities (GstV4l2Object * v4l2object) in gst_v4l2_get_capabilities() argument 64 e = v4l2object->element; in gst_v4l2_get_capabilities() 68 if (!GST_V4L2_IS_OPEN (v4l2object)) in gst_v4l2_get_capabilities() 71 if (v4l2object->ioctl (v4l2object->video_fd, VIDIOC_QUERYCAP, in gst_v4l2_get_capabilities() 72 &v4l2object->vcap) < 0) in gst_v4l2_get_capabilities() 75 if (v4l2object->vcap.capabilities & V4L2_CAP_DEVICE_CAPS) in gst_v4l2_get_capabilities() 76 v4l2object->device_caps = v4l2object->vcap.device_caps; in gst_v4l2_get_capabilities() 78 v4l2object->device_caps = v4l2object->vcap.capabilities; in gst_v4l2_get_capabilities() 80 GST_LOG_OBJECT (e, "driver: '%s'", v4l2object->vcap.driver); in gst_v4l2_get_capabilities() 81 GST_LOG_OBJECT (e, "card: '%s'", v4l2object->vcap.card); in gst_v4l2_get_capabilities() [all …]
|
D | gstv4l2tuner.c | 65 gst_v4l2_tuner_contains_channel (GstV4l2Object * v4l2object, in gst_v4l2_tuner_contains_channel() argument 70 for (item = v4l2object->channels; item != NULL; item = item->next) in gst_v4l2_tuner_contains_channel() 78 gst_v4l2_tuner_list_channels (GstV4l2Object * v4l2object) in gst_v4l2_tuner_list_channels() argument 80 return v4l2object->channels; in gst_v4l2_tuner_list_channels() 84 gst_v4l2_tuner_set_channel (GstV4l2Object * v4l2object, in gst_v4l2_tuner_set_channel() argument 90 g_return_val_if_fail (GST_V4L2_IS_OPEN (v4l2object), FALSE); in gst_v4l2_tuner_set_channel() 91 g_return_val_if_fail (gst_v4l2_tuner_contains_channel (v4l2object, in gst_v4l2_tuner_set_channel() 94 if (v4l2object->set_in_out_func (v4l2object, v4l2channel->index)) { in gst_v4l2_tuner_set_channel() 95 gst_tuner_channel_changed (GST_TUNER (v4l2object->element), channel); in gst_v4l2_tuner_set_channel() 105 gst_v4l2_tuner_get_channel (GstV4l2Object * v4l2object) in gst_v4l2_tuner_get_channel() argument [all …]
|
D | gstv4l2object.c | 200 static GSList *gst_v4l2_object_get_format_list (GstV4l2Object * v4l2object); 493 GstV4l2Object *v4l2object; in gst_v4l2_object_new() local 498 v4l2object = g_new0 (GstV4l2Object, 1); in gst_v4l2_object_new() 500 v4l2object->type = type; in gst_v4l2_object_new() 501 v4l2object->formats = NULL; in gst_v4l2_object_new() 503 v4l2object->element = element; in gst_v4l2_object_new() 504 v4l2object->dbg_obj = debug_object; in gst_v4l2_object_new() 505 v4l2object->get_in_out_func = get_in_out_func; in gst_v4l2_object_new() 506 v4l2object->set_in_out_func = set_in_out_func; in gst_v4l2_object_new() 507 v4l2object->update_fps_func = update_fps_func; in gst_v4l2_object_new() [all …]
|
D | gstv4l2radio.c | 78 GstV4l2Object *v4l2object; in gst_v4l2radio_fill_channel_list() local 81 v4l2object = radio->v4l2object; in gst_v4l2radio_fill_channel_list() 84 GST_V4L2_CHECK_OPEN (v4l2object); in gst_v4l2radio_fill_channel_list() 90 res = v4l2object->ioctl (v4l2object->video_fd, VIDIOC_QUERYCAP, &vc); in gst_v4l2radio_fill_channel_list() 95 v4l2object->device_caps = vc.device_caps; in gst_v4l2radio_fill_channel_list() 97 v4l2object->device_caps = vc.capabilities; in gst_v4l2radio_fill_channel_list() 99 if (!(v4l2object->device_caps & V4L2_CAP_TUNER)) in gst_v4l2radio_fill_channel_list() 106 res = v4l2object->ioctl (v4l2object->video_fd, VIDIOC_G_TUNER, &vtun); in gst_v4l2radio_fill_channel_list() 132 v4l2object->channels = in gst_v4l2radio_fill_channel_list() 133 g_list_prepend (v4l2object->channels, (gpointer) channel); in gst_v4l2radio_fill_channel_list() [all …]
|
D | gstv4l2object.h | 71 typedef gboolean (*GstV4l2GetInOutFunction) (GstV4l2Object * v4l2object, guint32 * input); 72 typedef gboolean (*GstV4l2SetInOutFunction) (GstV4l2Object * v4l2object, guint32 input); 73 typedef gboolean (*GstV4l2UpdateFpsFunction) (GstV4l2Object * v4l2object); 98 #define GST_V4L2_CHECK_OPEN(v4l2object) \ argument 99 if (!GST_V4L2_IS_OPEN(v4l2object)) \ 101 GST_ELEMENT_ERROR (v4l2object->element, RESOURCE, SETTINGS, \ 107 #define GST_V4L2_CHECK_NOT_OPEN(v4l2object) \ argument 108 if (GST_V4L2_IS_OPEN(v4l2object)) \ 110 GST_ELEMENT_ERROR (v4l2object->element, RESOURCE, SETTINGS, \ 116 #define GST_V4L2_CHECK_NOT_ACTIVE(v4l2object) \ argument [all …]
|
D | gstv4l2vidorient.c | 45 gst_v4l2_video_orientation_get_hflip (GstV4l2Object * v4l2object, in gst_v4l2_video_orientation_get_hflip() argument 49 return gst_v4l2_get_attribute (v4l2object, V4L2_CID_HFLIP, flip); in gst_v4l2_video_orientation_get_hflip() 53 gst_v4l2_video_orientation_get_vflip (GstV4l2Object * v4l2object, in gst_v4l2_video_orientation_get_vflip() argument 56 return gst_v4l2_get_attribute (v4l2object, V4L2_CID_VFLIP, flip); in gst_v4l2_video_orientation_get_vflip() 61 gst_v4l2_video_orientation_get_hcenter (GstV4l2Object * v4l2object, in gst_v4l2_video_orientation_get_hcenter() argument 64 return gst_v4l2_get_attribute (v4l2object, V4L2_CID_PAN_RESET, center); in gst_v4l2_video_orientation_get_hcenter() 69 gst_v4l2_video_orientation_get_vcenter (GstV4l2Object * v4l2object, in gst_v4l2_video_orientation_get_vcenter() argument 72 return gst_v4l2_get_attribute (v4l2object, V4L2_CID_TILT_RESET, center); in gst_v4l2_video_orientation_get_vcenter() 76 gst_v4l2_video_orientation_set_hflip (GstV4l2Object * v4l2object, gboolean flip) in gst_v4l2_video_orientation_set_hflip() argument 78 return gst_v4l2_set_attribute (v4l2object, V4L2_CID_HFLIP, flip); in gst_v4l2_video_orientation_set_hflip() [all …]
|
D | gstv4l2tuner.h | 86 const GList* gst_v4l2_tuner_list_channels (GstV4l2Object * v4l2object); 87 GstTunerChannel* gst_v4l2_tuner_get_channel (GstV4l2Object * v4l2object); 88 gboolean gst_v4l2_tuner_set_channel (GstV4l2Object * v4l2object, 91 const GList* gst_v4l2_tuner_list_norms (GstV4l2Object * v4l2object); 92 void gst_v4l2_tuner_set_norm_and_notify (GstV4l2Object * v4l2object, 94 GstTunerNorm* gst_v4l2_tuner_get_norm (GstV4l2Object * v4l2object); 95 gboolean gst_v4l2_tuner_set_norm (GstV4l2Object * v4l2object, 97 GstTunerNorm* gst_v4l2_tuner_get_norm_by_std_id (GstV4l2Object * v4l2object, 99 v4l2_std_id gst_v4l2_tuner_get_std_id_by_norm (GstV4l2Object * v4l2object, 103 void gst_v4l2_tuner_set_frequency_and_notify (GstV4l2Object * v4l2object, [all …]
|
D | gstv4l2vidorient.h | 35 gboolean gst_v4l2_video_orientation_get_hflip (GstV4l2Object *v4l2object, gboolean *flip); 36 gboolean gst_v4l2_video_orientation_get_vflip (GstV4l2Object *v4l2object, gboolean *flip); 37 gboolean gst_v4l2_video_orientation_get_hcenter (GstV4l2Object *v4l2object, gint *center); 38 gboolean gst_v4l2_video_orientation_get_vcenter (GstV4l2Object *v4l2object, gint *center); 40 gboolean gst_v4l2_video_orientation_set_hflip (GstV4l2Object *v4l2object, gboolean flip); 41 gboolean gst_v4l2_video_orientation_set_vflip (GstV4l2Object *v4l2object, gboolean flip); 42 gboolean gst_v4l2_video_orientation_set_hcenter (GstV4l2Object *v4l2object, gint center); 43 gboolean gst_v4l2_video_orientation_set_vcenter (GstV4l2Object *v4l2object, gint center); 51 return gst_v4l2_video_orientation_get_hflip (this->v4l2object, flip); \ 58 return gst_v4l2_video_orientation_get_vflip (this->v4l2object, flip); \ [all …]
|
D | gstv4l2colorbalance.c | 49 gst_v4l2_color_balance_contains_channel (GstV4l2Object * v4l2object, in gst_v4l2_color_balance_contains_channel() argument 54 for (item = v4l2object->colors; item != NULL; item = item->next) in gst_v4l2_color_balance_contains_channel() 62 gst_v4l2_color_balance_list_channels (GstV4l2Object * v4l2object) in gst_v4l2_color_balance_list_channels() argument 64 return v4l2object->colors; in gst_v4l2_color_balance_list_channels() 68 gst_v4l2_color_balance_set_value (GstV4l2Object * v4l2object, in gst_v4l2_color_balance_set_value() argument 76 g_return_if_fail (GST_V4L2_IS_OPEN (v4l2object)); in gst_v4l2_color_balance_set_value() 77 g_return_if_fail (gst_v4l2_color_balance_contains_channel (v4l2object, in gst_v4l2_color_balance_set_value() 80 gst_v4l2_set_attribute (v4l2object, v4l2channel->id, value); in gst_v4l2_color_balance_set_value() 84 gst_v4l2_color_balance_get_value (GstV4l2Object * v4l2object, in gst_v4l2_color_balance_get_value() argument 92 g_return_val_if_fail (GST_V4L2_IS_OPEN (v4l2object), 0); in gst_v4l2_color_balance_get_value() [all …]
|
D | gstv4l2sink.c | 206 v4l2sink->v4l2object = gst_v4l2_object_new (GST_ELEMENT (v4l2sink), in gst_v4l2sink_init() 225 gst_v4l2_object_destroy (v4l2sink->v4l2object); in gst_v4l2sink_finalize() 249 if (GST_V4L2_IS_OPEN (v4l2sink->v4l2object)) { in gst_v4l2sink_sync_overlay_fields() 251 GstV4l2Object *obj = v4l2sink->v4l2object; in gst_v4l2sink_sync_overlay_fields() 296 if (GST_V4L2_IS_OPEN (v4l2sink->v4l2object)) { in gst_v4l2sink_sync_crop_fields() 298 GstV4l2Object *obj = v4l2sink->v4l2object; in gst_v4l2sink_sync_crop_fields() 346 if (!gst_v4l2_object_set_property_helper (v4l2sink->v4l2object, in gst_v4l2sink_set_property() 403 if (!gst_v4l2_object_get_property_helper (v4l2sink->v4l2object, in gst_v4l2sink_get_property() 451 if (!gst_v4l2_object_open (v4l2sink->v4l2object, &error)) { in gst_v4l2sink_change_state() 464 if (!gst_v4l2_object_stop (v4l2sink->v4l2object)) in gst_v4l2sink_change_state() [all …]
|
D | gstv4l2colorbalance.h | 59 const GList * gst_v4l2_color_balance_list_channels (GstV4l2Object * v4l2object); 61 void gst_v4l2_color_balance_set_value (GstV4l2Object * v4l2object, 65 gint gst_v4l2_color_balance_get_value (GstV4l2Object * v4l2object, 74 return gst_v4l2_color_balance_list_channels(this->v4l2object); \ 83 gst_v4l2_color_balance_set_value(this->v4l2object, channel, value); \ 91 return gst_v4l2_color_balance_get_value(this->v4l2object, channel); \
|
D | gstv4l2src.c | 209 v4l2src->v4l2object = gst_v4l2_object_new (GST_ELEMENT (v4l2src), in gst_v4l2src_init() 214 v4l2src->v4l2object->skip_try_fmt_probes = TRUE; in gst_v4l2src_init() 224 gst_v4l2_object_destroy (v4l2src->v4l2object); in gst_v4l2src_finalize() 236 if (!gst_v4l2_object_set_property_helper (v4l2src->v4l2object, in gst_v4l2src_set_property() 252 if (!gst_v4l2_object_get_property_helper (v4l2src->v4l2object, in gst_v4l2src_get_property() 382 obj = v4l2src->v4l2object; in gst_v4l2src_set_format() 389 v4l2src->v4l2object->video_fd, caps); in gst_v4l2src_set_format() 399 GstV4l2Object *obj = v4l2src->v4l2object; in gst_v4l2src_fixate() 497 GstV4l2Object *obj = v4l2src->v4l2object; in gst_v4l2src_query_preferred_dv_timings() 544 if (!gst_v4l2_get_input (v4l2src->v4l2object, &in.index)) in gst_v4l2src_query_preferred_size() [all …]
|
D | gstv4l2videoenc.c | 232 gst_v4l2_encoder_cmd (GstV4l2Object * v4l2object, guint cmd, guint flags) in gst_v4l2_encoder_cmd() argument 236 GST_DEBUG_OBJECT (v4l2object->element, in gst_v4l2_encoder_cmd() 239 if (!GST_V4L2_IS_OPEN (v4l2object)) in gst_v4l2_encoder_cmd() 244 if (v4l2object->ioctl (v4l2object->video_fd, VIDIOC_ENCODER_CMD, &ecmd) < 0) in gst_v4l2_encoder_cmd() 251 GST_INFO_OBJECT (v4l2object->element, in gst_v4l2_encoder_cmd() 253 cmd, flags, v4l2object->videodev, g_strerror (errno)); in gst_v4l2_encoder_cmd() 255 GST_ERROR_OBJECT (v4l2object->element, in gst_v4l2_encoder_cmd() 257 cmd, flags, v4l2object->videodev, g_strerror (errno)); in gst_v4l2_encoder_cmd() 425 GstV4l2Object *v4l2object = GST_V4L2_VIDEO_ENC (ctx->self)->v4l2output; in negotiate_profile_and_level() local 448 if (v4l2object->ioctl (v4l2object->video_fd, VIDIOC_S_CTRL, &control) < 0) { in negotiate_profile_and_level() [all …]
|
D | gstv4l2videodec.c | 379 gst_v4l2_decoder_cmd (GstV4l2Object * v4l2object, guint cmd, guint flags) in gst_v4l2_decoder_cmd() argument 383 GST_DEBUG_OBJECT (v4l2object->element, in gst_v4l2_decoder_cmd() 386 if (!GST_V4L2_IS_OPEN (v4l2object)) in gst_v4l2_decoder_cmd() 391 if (v4l2object->ioctl (v4l2object->video_fd, VIDIOC_DECODER_CMD, &dcmd) < 0) in gst_v4l2_decoder_cmd() 398 GST_INFO_OBJECT (v4l2object->element, in gst_v4l2_decoder_cmd() 400 cmd, flags, v4l2object->videodev, g_strerror (errno)); in gst_v4l2_decoder_cmd() 402 GST_ERROR_OBJECT (v4l2object->element, in gst_v4l2_decoder_cmd() 404 cmd, flags, v4l2object->videodev, g_strerror (errno)); in gst_v4l2_decoder_cmd()
|
D | gstv4l2radio.h | 53 GstV4l2Object * v4l2object; member
|
D | gstv4l2sink.h | 53 GstV4l2Object * v4l2object; member
|
D | gstv4l2src.h | 56 GstV4l2Object * v4l2object; member
|
D | gstv4l2allocator.c | 626 gst_v4l2_allocator_new (GstObject * parent, GstV4l2Object * v4l2object) in gst_v4l2_allocator_new() argument 641 allocator->obj = v4l2object; in gst_v4l2_allocator_new()
|
/third_party/gstreamer/gstplugins_good/ |
D | ChangeLog | 311 v4l2object: rename crop function to reflect its usage 515 v4l2object: Avoid crash on early failure 3406 If the duration of the v4l2object is invalid, use default 25fps instead. 3690 v4l2object: Add interlace-mode back to caps for camera 3806 The v4l2object is not a GstObject. Logging has to go through its dbg_obj 4054 v4l2object: Use default colorimetry if that in caps is unknown 4055 Some streams have unknown colorimetry in caps, but v4l2object sets 4059 the default value set by v4l2object. 5468 v4l2object: Avoid colorimetry mismatch for streams with invalid colorimetry 5470 is unparsable or invalid. Then v4l2object uses this gst colorimetry to do [all …]
|