Home
last modified time | relevance | path

Searched refs:g_value_get_int (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/third_party/gstreamer/gstplugins_bad/ext/mpeg2enc/
Dgstmpeg2encoptions.cc682 bitrate = g_value_get_int (value) * 1000; in setProperty()
690 nonvid_bitrate = g_value_get_int (value); in setProperty()
693 quant = g_value_get_int (value); in setProperty()
700 still_size = g_value_get_int (value) * 1024; in setProperty()
703 searchrad = g_value_get_int (value); in setProperty()
706 me44_red = g_value_get_int (value); in setProperty()
709 me22_red = g_value_get_int (value); in setProperty()
712 unit_coeff_elim = g_value_get_int (value); in setProperty()
715 min_GOP_size = g_value_get_int (value); in setProperty()
718 max_GOP_size = g_value_get_int (value); in setProperty()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/mplex/
Dgstmplexjob.cc220 data_rate = ((g_value_get_int (value) * 1000 / 8 + 49) / 50) * 50; in setProperty()
232 max_segment_size = g_value_get_int (value); in setProperty()
235 packets_per_pack = g_value_get_int (value); in setProperty()
238 sector_size = g_value_get_int (value); in setProperty()
241 bufsize = g_value_get_int (value); in setProperty()
/third_party/glib/gobject/tests/
Dvalue.c19 g_assert_cmpint (g_value_get_int (&value), ==, 0); in test_value_basic()
22 g_assert_cmpint (g_value_get_int (&value), ==, 10); in test_value_basic()
27 g_assert_cmpint (g_value_get_int (&value), ==, 0); in test_value_basic()
218 return g_value_get_int (aa) - g_value_get_int (bb); in cmpint()
241 g_assert_cmpint (g_value_get_int (p), ==, 5); in test_valuearray_basic()
254 g_assert_cmpint (g_value_get_int (&a->values[i]), <=, g_value_get_int (&a->values[i+1])); in test_valuearray_basic()
258 g_assert_cmpint (g_value_get_int (&a->values[i]), ==, g_value_get_int (&a2->values[i])); in test_valuearray_basic()
Difaceproperties.c181 g_assert (g_value_get_int (&value1) == 42); in DEFINE_IFACE()
186 g_assert (g_value_get_int (&value1) == 0xFFFF); in DEFINE_IFACE()
215 base_object->val1 = g_value_get_int (value); in base_object_set_property()
219 base_object->val2 = g_value_get_int (value); in base_object_set_property()
338 base_object->val3 = g_value_get_int (value); in DEFINE_TYPE_FULL()
342 base_object->val4 = g_value_get_int (value); in DEFINE_TYPE_FULL()
Dproperties.c113 test_object_set_foo (tobj, g_value_get_int (value)); in test_object_set_property()
376 g_assert_cmpint (g_value_get_int (&values_out[0]), ==, 42); in properties_testv_with_no_properties()
413 g_assert_cmpint (g_value_get_int (&values_out[0]), ==, 100); in properties_testv_with_valid_properties()
428 g_assert_cmpint (g_value_get_int (&values_out[0]), ==, 100); in properties_testv_with_valid_properties()
523 g_assert_cmpint (g_value_get_int (&values_out_initialized[0]), ==, 42); in properties_testv_getv()
531 g_assert_cmpint (g_value_get_int (&values_out_uninitialized[0]), ==, 42); in properties_testv_getv()
572 g_assert_cmpint (g_value_get_int (&(test_props[0].value)), ==, 42); in properties_get_property()
/third_party/gstreamer/gstplugins_bad/ext/spandsp/
Dgsttonegeneratesrc.c305 src->samples_per_buffer = g_value_get_int (value); in gst_tone_generate_src_set_property()
311 src->freq = g_value_get_int (value); in gst_tone_generate_src_set_property()
317 src->volume = g_value_get_int (value); in gst_tone_generate_src_set_property()
323 src->freq2 = g_value_get_int (value); in gst_tone_generate_src_set_property()
329 src->volume2 = g_value_get_int (value); in gst_tone_generate_src_set_property()
335 src->on_time = g_value_get_int (value); in gst_tone_generate_src_set_property()
341 src->on_time2 = g_value_get_int (value); in gst_tone_generate_src_set_property()
347 src->off_time = g_value_get_int (value); in gst_tone_generate_src_set_property()
353 src->off_time2 = g_value_get_int (value); in gst_tone_generate_src_set_property()
/third_party/gstreamer/gstreamer/tests/examples/controller/
Dcontrol-sources.c89 self->val_int = g_value_get_int (value); in gst_test_obj_set_property()
244 i1 = g_value_get_int (&v1[t]); in test_interpolation()
245 i2 = g_value_get_int (&v2[t]); in test_interpolation()
246 i3 = g_value_get_int (&v3[t]); in test_interpolation()
342 i1 = g_value_get_int (&v1[t]); in test_lfo()
343 i2 = g_value_get_int (&v2[t]); in test_lfo()
344 i3 = g_value_get_int (&v3[t]); in test_lfo()
345 i4 = g_value_get_int (&v4[t]); in test_lfo()
346 i5 = g_value_get_int (&v5[t]); in test_lfo()
424 i1 = g_value_get_int (&v1[t]); in test_chained_lfo()
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgsttextoverlay.cpp257 filter->xpos = g_value_get_int (value); in gst_opencv_text_overlay_set_property()
260 filter->ypos = g_value_get_int (value); in gst_opencv_text_overlay_set_property()
263 filter->thickness = g_value_get_int (value); in gst_opencv_text_overlay_set_property()
267 filter->colorR = g_value_get_int (value); in gst_opencv_text_overlay_set_property()
270 filter->colorG = g_value_get_int (value); in gst_opencv_text_overlay_set_property()
273 filter->colorB = g_value_get_int (value); in gst_opencv_text_overlay_set_property()
Dgstcvsmooth.cpp299 gint prop = g_value_get_int (value); in gst_cv_smooth_set_property()
310 gint prop = g_value_get_int (value); in gst_cv_smooth_set_property()
327 filter->positionx = g_value_get_int (value); in gst_cv_smooth_set_property()
330 filter->positiony = g_value_get_int (value); in gst_cv_smooth_set_property()
333 filter->width = g_value_get_int (value); in gst_cv_smooth_set_property()
336 filter->height = g_value_get_int (value); in gst_cv_smooth_set_property()
Dgstcvsobel.cpp209 filter->x_order = g_value_get_int (value); in gst_cv_sobel_set_property()
212 filter->y_order = g_value_get_int (value); in gst_cv_sobel_set_property()
215 gint as = g_value_get_int (value); in gst_cv_sobel_set_property()
220 filter->aperture_size = g_value_get_int (value); in gst_cv_sobel_set_property()
Dgstedgedetect.cpp203 filter->threshold1 = g_value_get_int (value); in gst_edge_detect_set_property()
206 filter->threshold2 = g_value_get_int (value); in gst_edge_detect_set_property()
209 filter->aperture = g_value_get_int (value); in gst_edge_detect_set_property()
/third_party/gstreamer/gstplugins_good/ext/vpx/
Dgstvpxenc.c926 if (g_value_get_int (value) == 0) { in gst_vpx_enc_set_property()
930 gst_vpx_enc->cfg.rc_target_bitrate = g_value_get_int (value) / 1000; in gst_vpx_enc_set_property()
936 gst_vpx_enc->cfg.rc_min_quantizer = g_value_get_int (value); in gst_vpx_enc_set_property()
940 gst_vpx_enc->cfg.rc_max_quantizer = g_value_get_int (value); in gst_vpx_enc_set_property()
944 gst_vpx_enc->cfg.rc_dropframe_thresh = g_value_get_int (value); in gst_vpx_enc_set_property()
952 gst_vpx_enc->cfg.rc_resize_up_thresh = g_value_get_int (value); in gst_vpx_enc_set_property()
956 gst_vpx_enc->cfg.rc_resize_down_thresh = g_value_get_int (value); in gst_vpx_enc_set_property()
960 gst_vpx_enc->cfg.rc_undershoot_pct = g_value_get_int (value); in gst_vpx_enc_set_property()
964 gst_vpx_enc->cfg.rc_overshoot_pct = g_value_get_int (value); in gst_vpx_enc_set_property()
968 gst_vpx_enc->cfg.rc_buf_sz = g_value_get_int (value); in gst_vpx_enc_set_property()
[all …]
/third_party/gstreamer/gstplugins_good/sys/rpicamsrc/
Dgstrpicamsrc.c862 src->capture_config.cameraNum = g_value_get_int (value); in gst_rpi_cam_src_set_property()
865 src->capture_config.bitrate = g_value_get_int (value); in gst_rpi_cam_src_set_property()
869 src->capture_config.jpegQuality = g_value_get_int (value); in gst_rpi_cam_src_set_property()
873 src->capture_config.intraperiod = g_value_get_int (value); in gst_rpi_cam_src_set_property()
891 src->capture_config.preview_parameters.opacity = g_value_get_int (value); in gst_rpi_cam_src_set_property()
896 g_value_get_int (value); in gst_rpi_cam_src_set_property()
901 g_value_get_int (value); in gst_rpi_cam_src_set_property()
906 g_value_get_int (value); in gst_rpi_cam_src_set_property()
911 g_value_get_int (value); in gst_rpi_cam_src_set_property()
915 src->capture_config.camera_parameters.sharpness = g_value_get_int (value); in gst_rpi_cam_src_set_property()
[all …]
/third_party/gstreamer/gstplugins_good/ext/aalib/
Dgstaatv.c736 aa_defparams.width = g_value_get_int (value); in gst_aatv_set_property()
743 aa_defparams.height = g_value_get_int (value); in gst_aatv_set_property()
760 aatv->ascii_parms.bright = g_value_get_int (value); in gst_aatv_set_property()
764 aatv->ascii_parms.contrast = g_value_get_int (value); in gst_aatv_set_property()
830 aatv->ascii_parms.randomval = g_value_get_int (value); in gst_aatv_set_property()
834 if (g_value_get_int (value) <= aatv->rain_delay_max) in gst_aatv_set_property()
835 aatv->rain_delay_min = g_value_get_int (value); in gst_aatv_set_property()
839 if (g_value_get_int (value) >= aatv->rain_delay_min) in gst_aatv_set_property()
840 aatv->rain_delay_max = g_value_get_int (value); in gst_aatv_set_property()
844 if (g_value_get_int (value) <= aatv->rain_length_max) in gst_aatv_set_property()
[all …]
Dgstaasink.c421 aasink->ascii_surf.width = g_value_get_int (value); in gst_aasink_set_property()
424 aasink->ascii_surf.height = g_value_get_int (value); in gst_aasink_set_property()
435 aasink->ascii_parms.bright = g_value_get_int (value); in gst_aasink_set_property()
439 aasink->ascii_parms.contrast = g_value_get_int (value); in gst_aasink_set_property()
451 aasink->ascii_parms.randomval = g_value_get_int (value); in gst_aasink_set_property()
/third_party/gstreamer/gstplugins_bad/gst/videosignal/
Dgstsimplevideomark.c199 simplevideomark->pattern_width = g_value_get_int (value); in gst_video_mark_set_property()
202 simplevideomark->pattern_height = g_value_get_int (value); in gst_video_mark_set_property()
205 simplevideomark->pattern_count = g_value_get_int (value); in gst_video_mark_set_property()
208 simplevideomark->pattern_data_count = g_value_get_int (value); in gst_video_mark_set_property()
217 simplevideomark->left_offset = g_value_get_int (value); in gst_video_mark_set_property()
220 simplevideomark->bottom_offset = g_value_get_int (value); in gst_video_mark_set_property()
Dgstsimplevideomarkdetect.c229 simplevideomarkdetect->pattern_width = g_value_get_int (value); in gst_video_detect_set_property()
232 simplevideomarkdetect->pattern_height = g_value_get_int (value); in gst_video_detect_set_property()
235 simplevideomarkdetect->pattern_count = g_value_get_int (value); in gst_video_detect_set_property()
238 simplevideomarkdetect->pattern_data_count = g_value_get_int (value); in gst_video_detect_set_property()
247 simplevideomarkdetect->left_offset = g_value_get_int (value); in gst_video_detect_set_property()
250 simplevideomarkdetect->bottom_offset = g_value_get_int (value); in gst_video_detect_set_property()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Drawvideoparse.c246 fail_unless_equals_uint64 (plane_offsets[i], g_value_get_int (gvalue)); in setup_rawvideoparse()
250 fail_unless_equals_uint64 (plane_strides[i], g_value_get_int (gvalue)); in setup_rawvideoparse()
502 g_value_get_int (gvalue)); in GST_START_TEST()
507 g_value_get_int (gvalue)); in GST_START_TEST()
536 g_value_get_int (gvalue)); in GST_START_TEST()
540 fail_unless_equals_uint64 (TEST_WIDTH * 2, g_value_get_int (gvalue)); in GST_START_TEST()
568 g_value_get_int (gvalue)); in GST_START_TEST()
572 fail_unless_equals_uint64 (TEST_WIDTH, g_value_get_int (gvalue)); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/gst/videotestsrc/
Dgstvideotestsrc.c633 src->k0 = g_value_get_int (value); in gst_video_test_src_set_property()
636 src->kx = g_value_get_int (value); in gst_video_test_src_set_property()
639 src->ky = g_value_get_int (value); in gst_video_test_src_set_property()
642 src->kt = g_value_get_int (value); in gst_video_test_src_set_property()
645 src->kxt = g_value_get_int (value); in gst_video_test_src_set_property()
648 src->kyt = g_value_get_int (value); in gst_video_test_src_set_property()
651 src->kxy = g_value_get_int (value); in gst_video_test_src_set_property()
654 src->kx2 = g_value_get_int (value); in gst_video_test_src_set_property()
657 src->ky2 = g_value_get_int (value); in gst_video_test_src_set_property()
660 src->kt2 = g_value_get_int (value); in gst_video_test_src_set_property()
[all …]
/third_party/gstreamer/gstplugins_good/gst/effectv/
Dgstrev.c172 filter->vgrabtime = g_value_get_int (value); in gst_revtv_set_property()
175 filter->linespace = g_value_get_int (value); in gst_revtv_set_property()
178 filter->vscale = g_value_get_int (value); in gst_revtv_set_property()
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Dgstgdiscreencapsrc.c201 if (g_value_get_int (value) >= GetSystemMetrics (SM_CMONITORS)) { in gst_gdiscreencapsrc_set_property()
205 src->monitor = g_value_get_int (value); in gst_gdiscreencapsrc_set_property()
211 src->capture_x = g_value_get_int (value); in gst_gdiscreencapsrc_set_property()
214 src->capture_y = g_value_get_int (value); in gst_gdiscreencapsrc_set_property()
217 src->capture_w = g_value_get_int (value); in gst_gdiscreencapsrc_set_property()
220 src->capture_h = g_value_get_int (value); in gst_gdiscreencapsrc_set_property()
Dgstdxgiscreencapsrc.c236 src->monitor = g_value_get_int (value); in gst_dxgi_screen_cap_src_set_property()
246 src->capture_x = g_value_get_int (value); in gst_dxgi_screen_cap_src_set_property()
249 src->capture_y = g_value_get_int (value); in gst_dxgi_screen_cap_src_set_property()
252 src->capture_w = g_value_get_int (value); in gst_dxgi_screen_cap_src_set_property()
255 src->capture_h = g_value_get_int (value); in gst_dxgi_screen_cap_src_set_property()
/third_party/gstreamer/gstreamer/tests/check/libs/
Dcontroller.c146 self->val_int = g_value_get_int (value); in gst_test_obj_set_property()
644 fail_unless_equals_int (g_value_get_int (&g_values[0]), 0); in GST_START_TEST()
645 fail_unless_equals_int (g_value_get_int (&g_values[1]), 50); in GST_START_TEST()
646 fail_unless_equals_int (g_value_get_int (&g_values[2]), 100); in GST_START_TEST()
709 fail_unless_equals_int (g_value_get_int (&g_values[0]), 0); in GST_START_TEST()
710 fail_unless_equals_int (g_value_get_int (&g_values[1]), 50); in GST_START_TEST()
711 fail_unless_equals_int (g_value_get_int (&g_values[2]), 100); in GST_START_TEST()
1606 g_value_get_int (val1)); in GST_START_TEST()
1608 g_value_get_int (val2)); in GST_START_TEST()
1616 g_value_get_int (&gval1)); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/rsvg/
Dgstrsvgoverlay.c216 overlay->x_offset = g_value_get_int (value); in gst_rsvg_overlay_set_property()
221 overlay->y_offset = g_value_get_int (value); in gst_rsvg_overlay_set_property()
237 overlay->width = g_value_get_int (value); in gst_rsvg_overlay_set_property()
242 overlay->height = g_value_get_int (value); in gst_rsvg_overlay_set_property()
/third_party/gstreamer/gstplugins_good/ext/jpeg/
Dgstsmokeenc.c438 smokeenc->min_quality = g_value_get_int (value); in gst_smokeenc_set_property()
441 smokeenc->max_quality = g_value_get_int (value); in gst_smokeenc_set_property()
444 smokeenc->threshold = g_value_get_int (value); in gst_smokeenc_set_property()
447 smokeenc->keyframe = g_value_get_int (value); in gst_smokeenc_set_property()

12345678910>>...14