• Home
  • Raw
  • Download

Lines Matching refs:v4l2object

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
111 g_return_val_if_fail (GST_V4L2_IS_OPEN (v4l2object), NULL); in gst_v4l2_tuner_get_channel()
113 if (v4l2object->get_in_out_func (v4l2object, &channel)) { in gst_v4l2_tuner_get_channel()
115 for (item = v4l2object->channels; item != NULL; item = item->next) { in gst_v4l2_tuner_get_channel()
126 gst_v4l2_tuner_contains_norm (GstV4l2Object * v4l2object, in gst_v4l2_tuner_contains_norm() argument
131 for (item = v4l2object->norms; item != NULL; item = item->next) in gst_v4l2_tuner_contains_norm()
139 gst_v4l2_tuner_list_norms (GstV4l2Object * v4l2object) in gst_v4l2_tuner_list_norms() argument
141 return v4l2object->norms; in gst_v4l2_tuner_list_norms()
145 gst_v4l2_tuner_set_norm_and_notify (GstV4l2Object * v4l2object, in gst_v4l2_tuner_set_norm_and_notify() argument
148 if (gst_v4l2_tuner_set_norm (v4l2object, norm)) { in gst_v4l2_tuner_set_norm_and_notify()
150 g_object_notify (G_OBJECT (v4l2object->element), "norm"); in gst_v4l2_tuner_set_norm_and_notify()
156 gst_v4l2_tuner_set_norm (GstV4l2Object * v4l2object, GstTunerNorm * norm) in gst_v4l2_tuner_set_norm() argument
161 g_return_val_if_fail (GST_V4L2_IS_OPEN (v4l2object), FALSE); in gst_v4l2_tuner_set_norm()
162 g_return_val_if_fail (gst_v4l2_tuner_contains_norm (v4l2object, v4l2norm), in gst_v4l2_tuner_set_norm()
165 if (gst_v4l2_set_norm (v4l2object, v4l2norm->index)) { in gst_v4l2_tuner_set_norm()
166 gst_tuner_norm_changed (GST_TUNER (v4l2object->element), norm); in gst_v4l2_tuner_set_norm()
167 if (v4l2object->update_fps_func) in gst_v4l2_tuner_set_norm()
168 v4l2object->update_fps_func (v4l2object); in gst_v4l2_tuner_set_norm()
177 gst_v4l2_tuner_get_norm (GstV4l2Object * v4l2object) in gst_v4l2_tuner_get_norm() argument
182 g_return_val_if_fail (GST_V4L2_IS_OPEN (v4l2object), NULL); in gst_v4l2_tuner_get_norm()
184 if (!gst_v4l2_get_norm (v4l2object, &norm)) in gst_v4l2_tuner_get_norm()
187 return gst_v4l2_tuner_get_norm_by_std_id (v4l2object, norm); in gst_v4l2_tuner_get_norm()
191 gst_v4l2_tuner_get_norm_by_std_id (GstV4l2Object * v4l2object, v4l2_std_id norm) in gst_v4l2_tuner_get_norm_by_std_id() argument
195 for (item = v4l2object->norms; item != NULL; item = item->next) { in gst_v4l2_tuner_get_norm_by_std_id()
204 gst_v4l2_tuner_get_std_id_by_norm (GstV4l2Object * v4l2object, in gst_v4l2_tuner_get_std_id_by_norm() argument
209 for (item = v4l2object->norms; item != NULL; item = item->next) { in gst_v4l2_tuner_get_std_id_by_norm()
218 gst_v4l2_tuner_set_frequency_and_notify (GstV4l2Object * v4l2object, in gst_v4l2_tuner_set_frequency_and_notify() argument
221 if (gst_v4l2_tuner_set_frequency (v4l2object, channel, frequency)) { in gst_v4l2_tuner_set_frequency_and_notify()
223 g_object_notify (G_OBJECT (v4l2object->element), "frequency"); in gst_v4l2_tuner_set_frequency_and_notify()
229 gst_v4l2_tuner_set_frequency (GstV4l2Object * v4l2object, in gst_v4l2_tuner_set_frequency() argument
236 g_return_val_if_fail (GST_V4L2_IS_OPEN (v4l2object), FALSE); in gst_v4l2_tuner_set_frequency()
239 g_return_val_if_fail (gst_v4l2_tuner_contains_channel (v4l2object, in gst_v4l2_tuner_set_frequency()
242 if (v4l2object->get_in_out_func (v4l2object, &chan)) { in gst_v4l2_tuner_set_frequency()
245 if (gst_v4l2_set_frequency (v4l2object, v4l2channel->tuner, frequency)) { in gst_v4l2_tuner_set_frequency()
246 gst_tuner_frequency_changed (GST_TUNER (v4l2object->element), channel, in gst_v4l2_tuner_set_frequency()
257 gst_v4l2_tuner_get_frequency (GstV4l2Object * v4l2object, in gst_v4l2_tuner_get_frequency() argument
265 g_return_val_if_fail (GST_V4L2_IS_OPEN (v4l2object), 0); in gst_v4l2_tuner_get_frequency()
268 g_return_val_if_fail (gst_v4l2_tuner_contains_channel (v4l2object, in gst_v4l2_tuner_get_frequency()
271 if (v4l2object->get_in_out_func (v4l2object, &chan)) { in gst_v4l2_tuner_get_frequency()
274 gst_v4l2_get_frequency (v4l2object, v4l2channel->tuner, &frequency); in gst_v4l2_tuner_get_frequency()
282 gst_v4l2_tuner_signal_strength (GstV4l2Object * v4l2object, in gst_v4l2_tuner_signal_strength() argument
290 g_return_val_if_fail (GST_V4L2_IS_OPEN (v4l2object), 0); in gst_v4l2_tuner_signal_strength()
293 g_return_val_if_fail (gst_v4l2_tuner_contains_channel (v4l2object, in gst_v4l2_tuner_signal_strength()
296 if (v4l2object->get_in_out_func (v4l2object, &chan)) { in gst_v4l2_tuner_signal_strength()
299 gst_v4l2_signal_strength (v4l2object, v4l2channel->tuner, &signal); in gst_v4l2_tuner_signal_strength()