Home
last modified time | relevance | path

Searched refs:dest_val (Results 1 – 25 of 35) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-info.c443 GstFormat src_fmt, gint64 src_val, GstFormat dest_fmt, gint64 * dest_val) in gst_audio_info_convert() argument
453 *dest_val = src_val; in gst_audio_info_convert()
471 *dest_val = GST_FRAMES_TO_CLOCK_TIME (src_val / bpf, rate); in gst_audio_info_convert()
474 *dest_val = src_val / bpf; in gst_audio_info_convert()
484 *dest_val = GST_FRAMES_TO_CLOCK_TIME (src_val, rate); in gst_audio_info_convert()
487 *dest_val = src_val * bpf; in gst_audio_info_convert()
497 *dest_val = GST_CLOCK_TIME_TO_FRAMES (src_val, rate); in gst_audio_info_convert()
500 *dest_val = GST_CLOCK_TIME_TO_FRAMES (src_val, rate); in gst_audio_info_convert()
501 *dest_val *= bpf; in gst_audio_info_convert()
514 GST_DEBUG ("ret=%d result %" G_GINT64_FORMAT, res, res ? *dest_val : -1); in gst_audio_info_convert()
Dgstaudiocdsrc.c468 gint64 src_val, GstFormat dest_format, gint64 * dest_val) in gst_audio_cd_src_convert() argument
477 *dest_val = src_val; in gst_audio_cd_src_convert()
499 *dest_val = src_val; in gst_audio_cd_src_convert()
515 *dest_val = src_val << 2; /* 4 bytes per sample */ in gst_audio_cd_src_convert()
519 *dest_val = gst_util_uint64_scale_int (src_val, GST_SECOND, 44100); in gst_audio_cd_src_convert()
526 *dest_val = sector; in gst_audio_cd_src_convert()
530 *dest_val = gst_audio_cd_src_get_track_from_sector (src, sector); in gst_audio_cd_src_convert()
550 *dest_val = sample_offset << 2; /* 4 bytes per sample */ in gst_audio_cd_src_convert()
554 *dest_val = sample_offset; in gst_audio_cd_src_convert()
561 *dest_val = sector; in gst_audio_cd_src_convert()
[all …]
Daudio-info.h133 GstFormat dest_fmt, gint64 * dest_val);
Dgstaudioencoder.c1770 gint64 src_val, dest_val; in gst_audio_encoder_sink_query_default() local
1772 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_audio_encoder_sink_query_default()
1775 src_fmt, src_val, dest_fmt, &dest_val); in gst_audio_encoder_sink_query_default()
1779 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_audio_encoder_sink_query_default()
1991 gint64 src_val, dest_val; in gst_audio_encoder_src_query_default() local
1993 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_audio_encoder_src_query_default()
1997 &dest_fmt, &dest_val); in gst_audio_encoder_src_query_default()
2001 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_audio_encoder_src_query_default()
Dgstaudiobasesink.c391 gint64 src_val, dest_val; in gst_audio_base_sink_query_pad() local
399 src_val, dest_fmt, &dest_val); in gst_audio_base_sink_query_pad()
401 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_audio_base_sink_query_pad()
484 gint64 src_val, dest_val; in gst_audio_base_sink_query() local
492 src_val, dest_fmt, &dest_val); in gst_audio_base_sink_query()
494 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_audio_base_sink_query()
/third_party/gstreamer/gstplugins_good/gst/videocrop/
Dgstvideocrop.c584 gint delta, GValue * dest_val, GstPadDirection direction, gboolean dynamic) in gst_video_crop_transform_dimension_value() argument
595 g_value_init (dest_val, G_TYPE_INT); in gst_video_crop_transform_dimension_value()
596 g_value_set_int (dest_val, ival); in gst_video_crop_transform_dimension_value()
598 g_value_init (dest_val, GST_TYPE_INT_RANGE); in gst_video_crop_transform_dimension_value()
599 gst_value_set_int_range (dest_val, ival, G_MAXINT); in gst_video_crop_transform_dimension_value()
603 g_value_init (dest_val, G_TYPE_INT); in gst_video_crop_transform_dimension_value()
604 g_value_set_int (dest_val, ival); in gst_video_crop_transform_dimension_value()
606 g_value_init (dest_val, GST_TYPE_INT_RANGE); in gst_video_crop_transform_dimension_value()
607 gst_value_set_int_range (dest_val, 1, ival); in gst_video_crop_transform_dimension_value()
611 g_value_init (dest_val, G_TYPE_INT); in gst_video_crop_transform_dimension_value()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/frei0r/
Dgstfrei0rsrc.c183 gint64 src_val, dest_val; in gst_frei0r_src_query() local
185 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_frei0r_src_query()
187 dest_val = src_val; in gst_frei0r_src_query()
197 dest_val = gst_util_uint64_scale (src_val, in gst_frei0r_src_query()
200 dest_val = 0; in gst_frei0r_src_query()
212 dest_val = gst_util_uint64_scale (src_val, in gst_frei0r_src_query()
215 dest_val = 0; in gst_frei0r_src_query()
226 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_frei0r_src_query()
/third_party/gstreamer/gstplugins_bad/ext/flite/
Dgstflitetestsrc.c299 gint64 src_val, dest_val;
301 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val);
303 dest_val = src_val;
312 dest_val =
324 dest_val =
336 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val);
/third_party/gstreamer/gstplugins_bad/ext/kate/
Dgstkateutil.c591 GstFormat * dest_fmt, gint64 * dest_val) in gst_kate_decoder_base_convert() argument
596 *dest_val = src_val; in gst_kate_decoder_base_convert()
614 *dest_val = gst_kate_util_granule_time (&decoder->k, src_val); in gst_kate_decoder_base_convert()
642 gint64 src_val, dest_val; in gst_kate_decoder_base_sink_query() local
644 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_kate_decoder_base_sink_query()
646 src_val, &dest_fmt, &dest_val)) { in gst_kate_decoder_base_sink_query()
649 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_kate_decoder_base_sink_query()
Dgstkateparse.c560 gint64 src_val, dest_val; in gst_kate_parse_src_query()
562 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_kate_parse_src_query()
565 &dest_val))) in gst_kate_parse_src_query()
567 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_kate_parse_src_query()
Dgstkateenc.c1146 GstFormat * dest_fmt, gint64 * dest_val) in gst_kate_enc_convert() argument
1152 *dest_val = src_val; in gst_kate_enc_convert()
1174 *dest_val = gst_kate_enc_granule_time (&ke->k, src_val); in gst_kate_enc_convert()
1206 gint64 src_val, dest_val; in gst_kate_enc_source_query() local
1208 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_kate_enc_source_query()
1209 if (!gst_kate_enc_convert (pad, src_fmt, src_val, &dest_fmt, &dest_val)) { in gst_kate_enc_source_query()
1212 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_kate_enc_source_query()
Dgstkateutil.h107 GstFormat * dest_fmt, gint64 * dest_val);
/third_party/mesa3d/src/compiler/spirv/
Dvtn_alu.c541 vtn_alu_op_mediump_16bit(struct vtn_builder *b, SpvOp opcode, struct vtn_value *dest_val) in vtn_alu_op_mediump_16bit() argument
543 if (!b->options->mediump_16bit_alu || !vtn_value_is_relaxed_precision(b, dest_val)) in vtn_alu_op_mediump_16bit()
597 struct vtn_value *dest_val = vtn_untyped_value(b, w[2]); in vtn_handle_alu() local
600 vtn_handle_no_contraction(b, dest_val); in vtn_handle_alu()
601 bool mediump_16bit = vtn_alu_op_mediump_16bit(b, opcode, dest_val); in vtn_handle_alu()
852 vtn_foreach_decoration(b, dest_val, handle_conversion_opts, &opts); in vtn_handle_alu()
989 vtn_foreach_decoration(b, dest_val, handle_no_wrap, alu); in vtn_handle_alu()
1008 struct vtn_value *dest_val = vtn_untyped_value(b, w[2]); in vtn_handle_integer_dot() local
1012 vtn_handle_no_contraction(b, dest_val); in vtn_handle_integer_dot()
Dvtn_variables.c2481 struct vtn_value *dest_val = vtn_pointer_value(b, w[1]); in vtn_handle_variables() local
2483 struct vtn_pointer *dest = vtn_value_to_pointer(b, dest_val); in vtn_handle_variables()
2486 vtn_assert_types_equal(b, opcode, dest_val->type->deref, in vtn_handle_variables()
2513 struct vtn_value *dest_val = vtn_pointer_value(b, w[1]); in vtn_handle_variables() local
2516 struct vtn_pointer *dest = vtn_value_to_pointer(b, dest_val); in vtn_handle_variables()
2565 struct vtn_value *dest_val = vtn_pointer_value(b, w[1]); in vtn_handle_variables() local
2566 struct vtn_pointer *dest = vtn_value_to_pointer(b, dest_val); in vtn_handle_variables()
2592 vtn_assert_types_equal(b, opcode, dest_val->type->deref, src_val->type); in vtn_handle_variables()
/third_party/gstreamer/gstplugins_bad/ext/ladspa/
Dgstladspasource.c132 gint64 src_val, dest_val; in gst_ladspa_source_type_query() local
134 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_ladspa_source_type_query()
137 &dest_val)) { in gst_ladspa_source_type_query()
142 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_ladspa_source_type_query()
/third_party/gstreamer/gstplugins_base/ext/vorbis/
Dgstvorbisparse.c654 gint64 src_val, dest_val; in vorbis_parse_src_query() local
656 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in vorbis_parse_src_query()
659 &dest_val))) in vorbis_parse_src_query()
661 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in vorbis_parse_src_query()
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dgstlv2source.c316 gint64 src_val, dest_val; in gst_lv2_source_query() local
318 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_lv2_source_query()
321 &dest_val)) { in gst_lv2_source_query()
326 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_lv2_source_query()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglbasesrc.c293 gint64 src_val, dest_val; in gst_gl_base_src_query() local
295 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_gl_base_src_query()
298 &dest_val); in gst_gl_base_src_query()
299 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_gl_base_src_query()
/third_party/gstreamer/gstplugins_base/ext/theora/
Dgsttheoraparse.c873 gint64 src_val, dest_val; in theora_parse_src_query() local
875 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in theora_parse_src_query()
878 &dest_val))) in theora_parse_src_query()
881 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in theora_parse_src_query()
/third_party/gstreamer/gstplugins_good/ext/dv/
Dgstdvdemux.c632 gint64 src_val, dest_val; in gst_dvdemux_src_query() local
634 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_dvdemux_src_query()
637 dest_fmt, &dest_val))) in gst_dvdemux_src_query()
639 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_dvdemux_src_query()
720 gint64 src_val, dest_val; in gst_dvdemux_sink_query() local
722 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_dvdemux_sink_query()
725 &dest_val))) in gst_dvdemux_sink_query()
727 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_dvdemux_sink_query()
/third_party/gstreamer/gstplugins_base/ext/ogg/
Dgstogmparse.c499 gint64 src_val, dest_val; in gst_ogm_parse_sink_query() local
502 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_ogm_parse_sink_query()
504 &dest_fmt, &dest_val))) { in gst_ogm_parse_sink_query()
505 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_ogm_parse_sink_query()
/third_party/gstreamer/gstreamer/gst/
Dgstutils.c2548 gint64 src_val, GstFormat dest_format, gint64 * dest_val) in gst_element_query_convert() argument
2555 g_return_val_if_fail (dest_val != NULL, FALSE); in gst_element_query_convert()
2558 *dest_val = src_val; in gst_element_query_convert()
2566 gst_query_parse_convert (query, NULL, NULL, NULL, dest_val); in gst_element_query_convert()
3014 GstFormat dest_format, gint64 * dest_val) in gst_pad_query_convert() argument
3021 g_return_val_if_fail (dest_val != NULL, FALSE); in gst_pad_query_convert()
3024 *dest_val = src_val; in gst_pad_query_convert()
3030 gst_query_parse_convert (query, NULL, NULL, NULL, dest_val); in gst_pad_query_convert()
3052 GstFormat dest_format, gint64 * dest_val) in gst_pad_peer_query_convert() argument
3060 g_return_val_if_fail (dest_val != NULL, FALSE); in gst_pad_peer_query_convert()
[all …]
Dgstutils.h1061 GstFormat dest_format, gint64 *dest_val);
1087 GstFormat dest_format, gint64 *dest_val);
1109 GstFormat dest_format, gint64 *dest_val);
/third_party/gstreamer/gstplugins_base/gst/videotestsrc/
Dgstvideotestsrc.c998 gint64 src_val, dest_val; in gst_video_test_src_query() local
1001 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_video_test_src_query()
1004 &dest_val); in gst_video_test_src_query()
1005 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_video_test_src_query()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideoencoder.c946 gint64 src_val, dest_val; in gst_video_encoder_sink_query_default() local
950 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_video_encoder_sink_query_default()
954 src_fmt, src_val, &dest_fmt, &dest_val); in gst_video_encoder_sink_query_default()
960 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_video_encoder_sink_query_default()
1431 gint64 src_val, dest_val; in gst_video_encoder_src_query_default() local
1433 gst_query_parse_convert (query, &src_fmt, &src_val, &dest_fmt, &dest_val); in gst_video_encoder_src_query_default()
1437 src_val, &dest_fmt, &dest_val); in gst_video_encoder_src_query_default()
1441 gst_query_set_convert (query, src_fmt, src_val, dest_fmt, dest_val); in gst_video_encoder_src_query_default()

12