Home
last modified time | relevance | path

Searched refs:src_value (Results 1 – 25 of 56) sorted by relevance

123

/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideoutilsprivate.c154 GstFormat src_format, gint64 src_value, in __gst_video_rawvideo_convert() argument
164 if (src_format == *dest_format || src_value == 0 || src_value == -1) { in __gst_video_rawvideo_convert()
165 *dest_value = src_value; in __gst_video_rawvideo_convert()
176 *dest_value = gst_util_uint64_scale_int (src_value, 1, vidsize); in __gst_video_rawvideo_convert()
181 *dest_value = src_value * vidsize; in __gst_video_rawvideo_convert()
186 *dest_value = gst_util_uint64_scale (src_value, GST_SECOND * fps_d, fps_n); in __gst_video_rawvideo_convert()
191 *dest_value = gst_util_uint64_scale (src_value, fps_n, GST_SECOND * fps_d); in __gst_video_rawvideo_convert()
196 *dest_value = gst_util_uint64_scale (src_value, in __gst_video_rawvideo_convert()
202 *dest_value = gst_util_uint64_scale (src_value, in __gst_video_rawvideo_convert()
212 GstFormat src_format, gint64 src_value, GstFormat * dest_format, in __gst_video_encoded_video_convert() argument
[all …]
Dgstvideoutilsprivate.h41 GstFormat src_format, gint64 src_value,
46 gint64 src_value, GstFormat * dest_format,
Dvideo-info.c1249 GstFormat src_format, gint64 src_value, in gst_video_info_convert() argument
1266 src_value, gst_format_get_name (src_format), in gst_video_info_convert()
1270 *dest_value = src_value; in gst_video_info_convert()
1275 if (src_value == -1) { in gst_video_info_convert()
1284 *dest_value = gst_util_uint64_scale (src_value, 1, size); in gst_video_info_convert()
1295 *dest_value = gst_util_uint64_scale (src_value, size, 1); in gst_video_info_convert()
1303 *dest_value = gst_util_uint64_scale (src_value, in gst_video_info_convert()
1316 *dest_value = gst_util_uint64_scale (src_value, in gst_video_info_convert()
1329 *dest_value = gst_util_uint64_scale (src_value, in gst_video_info_convert()
1342 *dest_value = gst_util_uint64_scale (src_value, in gst_video_info_convert()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dnnacl_common.c24 float ShortToFloat32(uint16_t src_value) { in ShortToFloat32() argument
29 o.u = (src_value & 0x7fff) << 13; in ShortToFloat32()
40 o.u |= (src_value & 0x8000) << 16; in ShortToFloat32()
44 uint16_t Float32ToShort(float src_value) { in Float32ToShort() argument
46 src_value_bits.f = src_value; in Float32ToShort()
Dnnacl_common.h54 float ShortToFloat32(uint16_t src_value);
55 uint16_t Float32ToShort(float src_value);
/third_party/glib/gobject/
Dgboxed.c71 value_copy (GValue *src_value) in value_copy() argument
75 if (G_VALUE_TYPE (src_value)) in value_copy()
77 g_value_init (dest_value, G_VALUE_TYPE (src_value)); in value_copy()
78 g_value_copy (src_value, dest_value); in value_copy()
218 boxed_proxy_value_copy (const GValue *src_value, in boxed_proxy_value_copy() argument
221 if (src_value->data[0].v_pointer) in boxed_proxy_value_copy()
222 …dest_value->data[0].v_pointer = _g_type_boxed_copy (G_VALUE_TYPE (src_value), src_value->data[0].v… in boxed_proxy_value_copy()
224 dest_value->data[0].v_pointer = src_value->data[0].v_pointer; in boxed_proxy_value_copy()
359 GValue src_value, dest_value; in g_boxed_copy() local
372 value_meminit (&src_value, boxed_type); in g_boxed_copy()
[all …]
Dgvalue.c199 g_value_copy (const GValue *src_value, in g_value_copy() argument
202 g_return_if_fail (src_value); in g_value_copy()
204 g_return_if_fail (g_value_type_compatible (G_VALUE_TYPE (src_value), G_VALUE_TYPE (dest_value))); in g_value_copy()
206 if (src_value != dest_value) in g_value_copy()
219 value_table->value_copy (src_value, dest_value); in g_value_copy()
611 g_value_transform (const GValue *src_value, in g_value_transform() argument
616 g_return_val_if_fail (src_value, FALSE); in g_value_transform()
620 if (g_value_type_compatible (G_VALUE_TYPE (src_value), dest_type)) in g_value_transform()
622 g_value_copy (src_value, dest_value); in g_value_transform()
628 GValueTransform transform = transform_func_lookup (G_VALUE_TYPE (src_value), dest_type); in g_value_transform()
[all …]
Dgvaluetransform.c30 value_transform_memcpy_data0 (const GValue *src_value, in value_transform_memcpy_data0() argument
33 memcpy (&dest_value->data[0], &src_value->data[0], sizeof (src_value->data[0])); in value_transform_memcpy_data0()
49 value_transform_##func_name (const GValue *src_value, \
52 ctype c_value = src_value->data[0].from_member; \
133 value_transform_##func_name (const GValue *src_value, \
136 dest_value->data[0].v_int = src_value->data[0].from_member != 0; \
150 value_transform_##func_name (const GValue *src_value, \
154 src_value->data[0].from_member); \
169 value_transform_bool_string (const GValue *src_value, in value_transform_bool_string() argument
173 src_value->data[0].v_int ? in value_transform_bool_string()
[all …]
Dgvaluetypes.c45 value_copy_long0 (const GValue *src_value, in value_copy_long0() argument
48 dest_value->data[0].v_long = src_value->data[0].v_long; in value_copy_long0()
140 value_copy_int64 (const GValue *src_value, in value_copy_int64() argument
143 dest_value->data[0].v_int64 = src_value->data[0].v_int64; in value_copy_int64()
179 value_copy_float (const GValue *src_value, in value_copy_float() argument
182 dest_value->data[0].v_float = src_value->data[0].v_float; in value_copy_float()
218 value_copy_double (const GValue *src_value, in value_copy_double() argument
221 dest_value->data[0].v_double = src_value->data[0].v_double; in value_copy_double()
264 value_copy_string (const GValue *src_value, in value_copy_string() argument
267 if (src_value->data[1].v_uint & G_VALUE_INTERNED_STRING) in value_copy_string()
[all …]
Dgvalue.h94 typedef void (*GValueTransform) (const GValue *src_value,
133 void g_value_copy (const GValue *src_value,
162 gboolean g_value_transform (const GValue *src_value,
Dgparam.c70 static void value_param_copy_value (const GValue *src_value,
72 static void value_param_transform_value (const GValue *src_value,
729 const GValue *src_value, in g_param_value_convert() argument
736 g_return_val_if_fail (G_IS_VALUE (src_value), FALSE); in g_param_value_convert()
743 if (g_value_transform (src_value, &tmp_value) && in g_param_value_convert()
811 value_param_copy_value (const GValue *src_value, in value_param_copy_value() argument
814 if (src_value->data[0].v_pointer) in value_param_copy_value()
815 dest_value->data[0].v_pointer = g_param_spec_ref (src_value->data[0].v_pointer); in value_param_copy_value()
821 value_param_transform_value (const GValue *src_value, in value_param_transform_value() argument
824 if (src_value->data[0].v_pointer && in value_param_transform_value()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudioutilsprivate.c168 gint64 src_value, GstFormat * dest_format, gint64 * dest_value) in __gst_audio_encoded_audio_convert() argument
175 if (G_UNLIKELY (src_format == *dest_format || src_value == 0 || in __gst_audio_encoded_audio_convert()
176 src_value == -1)) { in __gst_audio_encoded_audio_convert()
178 *dest_value = src_value; in __gst_audio_encoded_audio_convert()
193 *dest_value = gst_util_uint64_scale (src_value, in __gst_audio_encoded_audio_convert()
204 *dest_value = gst_util_uint64_scale (src_value, bytes, in __gst_audio_encoded_audio_convert()
/third_party/gstreamer/gstplugins_good/ext/dv/
Dgstdvdemux.c147 GstFormat src_format, gint64 src_value, GstFormat dest_format,
150 GstFormat src_format, gint64 src_value, GstFormat dest_format,
382 GstFormat src_format, gint64 src_value, GstFormat dest_format, in gst_dvdemux_src_convert() argument
387 if (dest_format == src_format || src_value == -1) { in gst_dvdemux_src_convert()
388 *dest_value = src_value; in gst_dvdemux_src_convert()
400 src_value, src_format, dest_format); in gst_dvdemux_src_convert()
407 *dest_value = src_value / dvdemux->frame_len; in gst_dvdemux_src_convert()
409 *dest_value = src_value / (2 * dvdemux->channels); in gst_dvdemux_src_convert()
413 *dest_value = gst_util_uint64_scale (src_value, in gst_dvdemux_src_convert()
417 *dest_value = gst_util_uint64_scale_int (src_value, GST_SECOND, in gst_dvdemux_src_convert()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/soundtouch/
Dgstpitch.cc471 GstFormat src_format, gint64 src_value, in gst_pitch_convert() argument
489 if (src_format == *dst_format || src_value == -1) { in gst_pitch_convert()
490 *dst_value = src_value; in gst_pitch_convert()
499 gst_util_uint64_scale_int (src_value, GST_SECOND, in gst_pitch_convert()
503 *dst_value = gst_util_uint64_scale_int (src_value, 1, sample_size); in gst_pitch_convert()
514 gst_util_uint64_scale_int (src_value, samplerate * sample_size, in gst_pitch_convert()
519 gst_util_uint64_scale_int (src_value, samplerate, GST_SECOND); in gst_pitch_convert()
529 *dst_value = gst_util_uint64_scale_int (src_value, sample_size, 1); in gst_pitch_convert()
533 gst_util_uint64_scale_int (src_value, GST_SECOND, samplerate); in gst_pitch_convert()
617 gint64 src_value, dst_value; in gst_pitch_src_query() local
[all …]
/third_party/gstreamer/gstplugins_base/gst/rawparse/
Dgstrawbaseparse.c137 GstFormat src_format, gint64 src_value, GstFormat dest_format,
675 gint64 src_value, GstFormat dest_format, gint64 * dest_value) in gst_raw_base_parse_convert() argument
700 *dest_value = src_value; in gst_raw_base_parse_convert()
716 || units_d == 0) ? src_value : gst_util_uint64_scale (src_value, in gst_raw_base_parse_convert()
723 || units_d == 0) ? src_value : gst_util_uint64_scale (src_value, in gst_raw_base_parse_convert()
729 gst_base_parse_convert_default (parse, src_format, src_value, in gst_raw_base_parse_convert()
736 src_value, GST_TIME_ARGS (*dest_value)); in gst_raw_base_parse_convert()
/third_party/gstreamer/gstreamer/gst/
Dgstvalue.c387 gst_value_transform_any_list_string (const GValue * src_value, in gst_value_transform_any_list_string() argument
397 array = src_value->data[0].v_pointer; in gst_value_transform_any_list_string()
454 _gst_value_transform_g_value_array_string (const GValue * src_value, in _gst_value_transform_g_value_array_string() argument
464 array = src_value->data[0].v_pointer; in _gst_value_transform_g_value_array_string()
541 gst_value_copy_list_or_array (const GValue * src_value, GValue * dest_value) in gst_value_copy_list_or_array() argument
544 copy_gst_value_list (VALUE_LIST_ARRAY (src_value)); in gst_value_copy_list_or_array()
1069 gst_value_transform_list_string (const GValue * src_value, GValue * dest_value) in gst_value_transform_list_string() argument
1071 gst_value_transform_any_list_string (src_value, dest_value, "{ ", " }"); in gst_value_transform_list_string()
1075 gst_value_transform_array_string (const GValue * src_value, GValue * dest_value) in gst_value_transform_array_string() argument
1077 gst_value_transform_any_list_string (src_value, dest_value, "< ", " >"); in gst_value_transform_array_string()
[all …]
Dgstcapsfeatures.c83 gst_caps_features_transform_to_string (const GValue * src_value,
873 gst_caps_features_transform_to_string (const GValue * src_value, in gst_caps_features_transform_to_string() argument
876 g_return_if_fail (src_value != NULL); in gst_caps_features_transform_to_string()
880 gst_caps_features_to_string (src_value->data[0].v_pointer); in gst_caps_features_transform_to_string()
/third_party/gstreamer/gstplugins_base/ext/vorbis/
Dgstvorbisparse.c93 gint64 src_value, GstFormat * dest_format, gint64 * dest_value);
530 GstFormat src_format, gint64 src_value, in vorbis_parse_convert() argument
546 *dest_value = src_value; in vorbis_parse_convert()
561 scale * gst_util_uint64_scale_int (src_value, parse->vi.rate, in vorbis_parse_convert()
571 *dest_value = src_value * sizeof (float) * parse->vi.channels; in vorbis_parse_convert()
575 gst_util_uint64_scale_int (src_value, GST_SECOND, parse->vi.rate); in vorbis_parse_convert()
584 *dest_value = src_value / (sizeof (float) * parse->vi.channels); in vorbis_parse_convert()
587 *dest_value = gst_util_uint64_scale_int (src_value, GST_SECOND, in vorbis_parse_convert()
/third_party/gstreamer/gstreamer/libs/gst/controller/
Dgstdirectcontrolbinding.h59 …rectControlBindingConvertValue) (GstDirectControlBinding *self, gdouble src_value, gpointer dest_v…
69 …ectControlBindingConvertGValue) (GstDirectControlBinding *self, gdouble src_value, GValue *dest_va…
/third_party/gstreamer/gstplugins_bad/gst/speed/
Dgstspeed.c182 gst_speed_convert (GstSpeed * filter, GstFormat src_format, gint64 src_value, in gst_speed_convert() argument
189 *dest_value = src_value; in gst_speed_convert()
201 *dest_value = src_value / GST_AUDIO_INFO_BPF (&filter->info); in gst_speed_convert()
213 *dest_value = src_value * GST_SECOND / byterate; in gst_speed_convert()
223 *dest_value = src_value * GST_AUDIO_INFO_BPF (&filter->info); in gst_speed_convert()
231 src_value * GST_SECOND / GST_AUDIO_INFO_RATE (&filter->info); in gst_speed_convert()
244 src_value * scale * GST_AUDIO_INFO_RATE (&filter->info) / in gst_speed_convert()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture_state.c276 #define EMIT_STATE(state_name, src_value) \ argument
277 etna_coalsence_emit(stream, &coalesce, VIVS_##state_name, src_value)
279 #define EMIT_STATE_FIXP(state_name, src_value) \ argument
280 etna_coalsence_emit_fixp(stream, &coalesce, VIVS_##state_name, src_value)
282 #define EMIT_STATE_RELOC(state_name, src_value) \ argument
283 etna_coalsence_emit_reloc(stream, &coalesce, VIVS_##state_name, src_value)
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dactivation_fp32.c168 MS_FLOAT32X8 src_value = MS_LD256_F32(src + index); in Swish() local
170 MS_FLOAT32X8 result = MS_MUL256_F32(src_value, sigmoid_value); in Swish()
177 MS_FLOAT32X4 src_value = MS_LDQ_F32(src + index); in Swish() local
179 MS_FLOAT32X4 result = MS_MULQ_F32(src_value, sigmoid_value); in Swish()
/third_party/gstreamer/gstplugins_good/gst/imagefreeze/
Dgstimagefreeze.c409 GstFormat src_format, gint64 src_value, in gst_image_freeze_convert() argument
415 *dest_value = src_value; in gst_image_freeze_convert()
419 if (src_value == -1) { in gst_image_freeze_convert()
433 gst_util_uint64_scale (src_value, GST_SECOND * self->fps_d, in gst_image_freeze_convert()
448 gst_util_uint64_scale (src_value, self->fps_n, in gst_image_freeze_convert()
477 gint64 src_value, dest_value; in gst_image_freeze_src_query() local
479 gst_query_parse_convert (query, &src_format, &src_value, &dest_format, in gst_image_freeze_src_query()
482 gst_image_freeze_convert (self, src_format, src_value, &dest_format, in gst_image_freeze_src_query()
485 gst_query_set_convert (query, src_format, src_value, dest_format, in gst_image_freeze_src_query()
/third_party/gstreamer/gstplugins_base/ext/theora/
Dgsttheoraparse.c737 GstFormat src_format, gint64 src_value, in theora_parse_src_convert() argument
745 *dest_value = src_value; in theora_parse_src_convert()
759 *dest_value = gst_util_uint64_scale_int (src_value, 2, in theora_parse_src_convert()
773 *dest_value = scale * gst_util_uint64_scale (src_value, in theora_parse_src_convert()
786 *dest_value = gst_util_uint64_scale (src_value, in theora_parse_src_convert()
791 *dest_value = gst_util_uint64_scale_int (src_value, in theora_parse_src_convert()
/third_party/gstreamer/gstplugins_bad/ext/kate/
Dgstkateparse.c101 GstFormat src_format, gint64 src_value,
455 GstFormat src_format, gint64 src_value,
470 *dest_value = src_value;
488 *dest_value = kate_granule_time (&parse->ki, src_value) * GST_SECOND;

123