/third_party/gstreamer/gstplugins_base/gst/audiomixer/ |
D | gstaudiomixer.c | 294 GstMapInfo outmap; in gst_audiomixer_aggregate_one_buffer() local 311 gst_buffer_map (outbuf, &outmap, GST_MAP_READWRITE); in gst_audiomixer_aggregate_one_buffer() 320 audiomixer_orc_add_u8 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 325 audiomixer_orc_add_s8 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 330 audiomixer_orc_add_u16 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 335 audiomixer_orc_add_s16 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 340 audiomixer_orc_add_u32 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 345 audiomixer_orc_add_s32 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 350 audiomixer_orc_add_f32 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() 355 audiomixer_orc_add_f64 ((gpointer) (outmap.data + out_offset * bpf), in gst_audiomixer_aggregate_one_buffer() [all …]
|
D | gstaudiointerleave.c | 820 GstMapInfo outmap; in gst_audio_interleave_aggregate_one_buffer() local 834 gst_buffer_map (outbuf, &outmap, GST_MAP_READWRITE); in gst_audio_interleave_aggregate_one_buffer() 846 outdata = outmap.data + (out_offset * out_bpf) + (out_width * channel); in gst_audio_interleave_aggregate_one_buffer() 854 gst_buffer_unmap (outbuf, &outmap); in gst_audio_interleave_aggregate_one_buffer()
|
/third_party/gstreamer/gstplugins_base/gst/adder/ |
D | gstadder.c | 1098 GstMapInfo outmap = { NULL }; in gst_adder_collected() local 1268 gst_buffer_map (outbuf, &outmap, GST_MAP_READWRITE); in gst_adder_collected() 1273 adder_orc_volume_u8 ((gpointer) outmap.data, pad->volume_i8, in gst_adder_collected() 1274 outmap.size / bps); in gst_adder_collected() 1277 adder_orc_volume_s8 ((gpointer) outmap.data, pad->volume_i8, in gst_adder_collected() 1278 outmap.size / bps); in gst_adder_collected() 1281 adder_orc_volume_u16 ((gpointer) outmap.data, pad->volume_i16, in gst_adder_collected() 1282 outmap.size / bps); in gst_adder_collected() 1285 adder_orc_volume_s16 ((gpointer) outmap.data, pad->volume_i16, in gst_adder_collected() 1286 outmap.size / bps); in gst_adder_collected() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/aes/ |
D | gstaesenc.c | 359 GstMapInfo outmap; in gst_aes_enc_sink_event() local 368 if (!gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE)) { in gst_aes_enc_sink_event() 374 if (1 != EVP_CipherFinal_ex (filter->evp_ctx, outmap.data, &len)) { in gst_aes_enc_sink_event() 376 gst_buffer_unmap (outbuf, &outmap); in gst_aes_enc_sink_event() 382 gst_buffer_unmap (outbuf, &outmap); in gst_aes_enc_sink_event() 387 gst_buffer_unmap (outbuf, &outmap); in gst_aes_enc_sink_event() 433 GstMapInfo inmap, outmap; in gst_aes_enc_transform() local 445 if (!gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE)) { in gst_aes_enc_transform() 457 ciphertext = outmap.data; in gst_aes_enc_transform() 499 gst_buffer_unmap (outbuf, &outmap); in gst_aes_enc_transform()
|
D | gstaesdec.c | 362 GstMapInfo outmap; in gst_aes_dec_sink_event() local 371 if (!gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE)) { in gst_aes_dec_sink_event() 377 if (1 != EVP_CipherFinal_ex (filter->evp_ctx, outmap.data, &len)) { in gst_aes_dec_sink_event() 379 gst_buffer_unmap (outbuf, &outmap); in gst_aes_dec_sink_event() 385 gst_buffer_unmap (outbuf, &outmap); in gst_aes_dec_sink_event() 390 gst_buffer_unmap (outbuf, &outmap); in gst_aes_dec_sink_event() 436 GstMapInfo inmap, outmap; in gst_aes_dec_transform() local 448 if (!gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE)) { in gst_aes_dec_transform() 479 plaintext = outmap.data; in gst_aes_dec_transform() 512 gst_buffer_unmap (outbuf, &outmap); in gst_aes_dec_transform()
|
/third_party/gstreamer/gstplugins_good/gst/law/ |
D | mulaw-decode.c | 121 GstMapInfo inmap, outmap; in gst_mulawdec_handle_frame() local 142 if (!gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE)) { in gst_mulawdec_handle_frame() 147 linear_data = (gint16 *) outmap.data; in gst_mulawdec_handle_frame() 151 gst_buffer_unmap (outbuf, &outmap); in gst_mulawdec_handle_frame()
|
D | alaw-decode.c | 167 GstMapInfo inmap, outmap; in gst_alaw_dec_handle_frame() local 189 if (!gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE)) { in gst_alaw_dec_handle_frame() 194 linear_data = (gint16 *) outmap.data; in gst_alaw_dec_handle_frame() 199 gst_buffer_unmap (outbuf, &outmap); in gst_alaw_dec_handle_frame()
|
D | alaw-encode.c | 368 GstMapInfo inmap, outmap; in gst_alaw_enc_handle_frame() local 397 gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE); in gst_alaw_enc_handle_frame() 398 alaw_data = outmap.data; in gst_alaw_enc_handle_frame() 404 gst_buffer_unmap (outbuf, &outmap); in gst_alaw_enc_handle_frame()
|
D | mulaw-encode.c | 157 GstMapInfo inmap, outmap; in gst_mulawenc_handle_frame() local 185 gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE); in gst_mulawenc_handle_frame() 186 mulaw_data = outmap.data; in gst_mulawenc_handle_frame() 190 gst_buffer_unmap (outbuf, &outmap); in gst_mulawenc_handle_frame()
|
/third_party/gstreamer/gstplugins_bad/gst/audiomixmatrix/ |
D | gstaudiomixmatrix.c | 421 GstMapInfo inmap, outmap; in gst_audio_mix_matrix_transform() local 431 if (!gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE)) { in gst_audio_mix_matrix_transform() 441 guint n_samples = outmap.size / (sizeof (gfloat) * outchannels); in gst_audio_mix_matrix_transform() 444 outarray = (gfloat *) outmap.data; in gst_audio_mix_matrix_transform() 463 guint n_samples = outmap.size / (sizeof (gdouble) * outchannels); in gst_audio_mix_matrix_transform() 466 outarray = (gdouble *) outmap.data; in gst_audio_mix_matrix_transform() 485 guint n_samples = outmap.size / (sizeof (gint16) * outchannels); in gst_audio_mix_matrix_transform() 490 outarray = (gint16 *) outmap.data; in gst_audio_mix_matrix_transform() 508 guint n_samples = outmap.size / (sizeof (gint32) * outchannels); in gst_audio_mix_matrix_transform() 513 outarray = (gint32 *) outmap.data; in gst_audio_mix_matrix_transform() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/siren/ |
D | gstsirenenc.c | 155 GstMapInfo inmap, outmap; in gst_siren_enc_handle_frame() local 188 gst_buffer_map (out_buf, &outmap, GST_MAP_READ); in gst_siren_enc_handle_frame() 190 out_data = outmap.data; in gst_siren_enc_handle_frame() 206 gst_buffer_unmap (out_buf, &outmap); in gst_siren_enc_handle_frame()
|
D | gstsirendec.c | 177 GstMapInfo inmap, outmap; in gst_siren_dec_handle_frame() local 206 gst_buffer_map (out_buf, &outmap, GST_MAP_WRITE); in gst_siren_dec_handle_frame() 209 out_data = outmap.data; in gst_siren_dec_handle_frame() 225 gst_buffer_unmap (out_buf, &outmap); in gst_siren_dec_handle_frame()
|
/third_party/gstreamer/gstplugins_good/gst/audiofx/ |
D | audiopanorama.c | 509 GstMapInfo inmap, outmap; in gst_audio_panorama_transform() local 519 gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE); in gst_audio_panorama_transform() 523 orc_memset (outmap.data, 0, outmap.size); in gst_audio_panorama_transform() 527 guint num_samples = outmap.size / (2 * GST_AUDIO_INFO_BPS (&filter->info)); in gst_audio_panorama_transform() 530 filter->process (filter->panorama, inmap.data, outmap.data, num_samples); in gst_audio_panorama_transform() 534 gst_buffer_unmap (outbuf, &outmap); in gst_audio_panorama_transform()
|
D | audiofxbasefirfilter.c | 796 GstMapInfo inmap, outmap; in gst_audio_fx_base_fir_filter_transform() local 853 gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE); in gst_audio_fx_base_fir_filter_transform() 856 output_samples = (outmap.size / bps) / channels; in gst_audio_fx_base_fir_filter_transform() 861 self->process (self, inmap.data, outmap.data, input_samples); in gst_audio_fx_base_fir_filter_transform() 864 gst_buffer_unmap (outbuf, &outmap); in gst_audio_fx_base_fir_filter_transform()
|
/third_party/gstreamer/gstplugins_bad/gst/mxf/ |
D | mxfd10.c | 106 GstMapInfo outmap; in mxf_d10_sound_handle_essence_element() local 132 gst_buffer_map (*outbuf, &outmap, GST_MAP_WRITE); in mxf_d10_sound_handle_essence_element() 135 outdata = outmap.data; in mxf_d10_sound_handle_essence_element() 162 gst_buffer_unmap (*outbuf, &outmap); in mxf_d10_sound_handle_essence_element()
|
D | mxfup.c | 175 GstMapInfo inmap, outmap; in mxf_up_handle_essence_element() local 182 gst_buffer_map (ret, &outmap, GST_MAP_WRITE); in mxf_up_handle_essence_element() 184 outdata = outmap.data; in mxf_up_handle_essence_element() 193 gst_buffer_unmap (ret, &outmap); in mxf_up_handle_essence_element() 425 GstMapInfo inmap, outmap; in mxf_up_write_func() local 430 gst_buffer_map (ret, &outmap, GST_MAP_WRITE); in mxf_up_write_func() 432 outdata = outmap.data; in mxf_up_write_func() 441 gst_buffer_unmap (ret, &outmap); in mxf_up_write_func()
|
/third_party/gstreamer/gstplugins_bad/gst/frei0r/ |
D | gstfrei0rfilter.c | 106 GstMapInfo inmap, outmap; in gst_frei0r_filter_transform() local 124 gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE); in gst_frei0r_filter_transform() 128 (const guint32 *) inmap.data, NULL, NULL, (guint32 *) outmap.data); in gst_frei0r_filter_transform() 131 (const guint32 *) inmap.data, (guint32 *) outmap.data); in gst_frei0r_filter_transform() 133 gst_buffer_unmap (outbuf, &outmap); in gst_frei0r_filter_transform()
|
D | gstfrei0rmixer.c | 521 GstMapInfo outmap, inmap0, inmap1, inmap2; in gst_frei0r_mixer_collected() local 558 gst_buffer_map (outbuf, &outmap, GST_MAP_READWRITE); in gst_frei0r_mixer_collected() 581 (inbuf2) ? (const guint32 *) inmap2.data : NULL, (guint32 *) outmap.data); in gst_frei0r_mixer_collected() 584 gst_buffer_unmap (outbuf, &outmap); in gst_frei0r_mixer_collected()
|
/third_party/gstreamer/gstplugins_good/sys/osxaudio/ |
D | gstosxaudiosink.c | 449 GstMapInfo inmap, outmap; in gst_osx_audio_sink_sink_payload() local 458 gst_buffer_map (out, &outmap, GST_MAP_WRITE); in gst_osx_audio_sink_sink_payload() 462 outmap.data, outmap.size, &sink->ringbuffer->spec, G_BIG_ENDIAN); in gst_osx_audio_sink_sink_payload() 465 gst_buffer_unmap (out, &outmap); in gst_osx_audio_sink_sink_payload()
|
/third_party/gstreamer/gstplugins_bad/ext/ladspa/ |
D | gstladspafilter.c | 193 GstMapInfo inmap, outmap; in gst_ladspa_filter_type_transform() local 199 gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE); in gst_ladspa_filter_type_transform() 202 gst_ladspa_transform (&ladspa->ladspa, outmap.data, samples, inmap.data); in gst_ladspa_filter_type_transform() 203 gst_buffer_unmap (outbuf, &outmap); in gst_ladspa_filter_type_transform()
|
/third_party/gstreamer/gstplugins_bad/gst/freeverb/ |
D | gstfreeverb.c | 887 GstMapInfo inmap, outmap; in gst_freeverb_transform() local 894 gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE); in gst_freeverb_transform() 895 num_samples = outmap.size / (2 * GST_AUDIO_INFO_BPS (&filter->info)); in gst_freeverb_transform() 908 memset (outmap.data, 0, outmap.size); in gst_freeverb_transform() 916 filter->process (filter, inmap.data, outmap.data, num_samples); in gst_freeverb_transform() 924 gst_buffer_unmap (outbuf, &outmap); in gst_freeverb_transform()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | audioresample.c | 1107 GstMapInfo inmap, outmap; \ 1114 gst_buffer_map (outbuffer, &outmap, GST_MAP_READWRITE); \ 1117 outsamples = outmap.size / sizeof(type) & ~1; \ 1126 gst_fft_##ffttag2##_window (outctx, (type*)outmap.data, \ 1128 gst_fft_##ffttag2##_fft (outctx, (type*)outmap.data, out); \ 1138 gst_buffer_unmap (outbuffer, &outmap); \
|
D | audiomixer.c | 1877 GstMapInfo outmap; in GST_START_TEST() local 1935 gst_buffer_map (handoff_buffer, &outmap, GST_MAP_READ); in GST_START_TEST() 1940 sample = GUINT32_FROM_LE (((guint32 *) outmap.data)[i]); in GST_START_TEST() 1942 sample = GUINT32_FROM_BE (((guint32 *) outmap.data)[i]); in GST_START_TEST() 1951 gst_buffer_unmap (handoff_buffer, &outmap); in GST_START_TEST() 1988 GstMapInfo outmap; in GST_START_TEST() local 2072 gst_buffer_map (handoff_buffer, &outmap, GST_MAP_READ); in GST_START_TEST() 2077 sample = GUINT32_FROM_LE (((guint32 *) outmap.data)[i]); in GST_START_TEST() 2079 sample = GUINT32_FROM_BE (((guint32 *) outmap.data)[i]); in GST_START_TEST() 2089 gst_buffer_unmap (handoff_buffer, &outmap); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtph264depay.c | 902 GstMapInfo outmap; in gst_rtp_h264_complete_au() local 916 if (!gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE)) in gst_rtp_h264_complete_au() 932 memcpy (outmap.data + offset, mem_map.data, mem_size); in gst_rtp_h264_complete_au() 935 memset (outmap.data + offset, 0, mem_size); in gst_rtp_h264_complete_au() 943 gst_buffer_unmap (outbuf, &outmap); in gst_rtp_h264_complete_au()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudioaggregator.c | 340 GstMapInfo inmap, outmap; in gst_audio_aggregator_convert_pad_convert_buffer() local 351 gst_buffer_map (res, &outmap, GST_MAP_WRITE); in gst_audio_aggregator_convert_pad_convert_buffer() 356 (gpointer *) & outmap.data, outsamples); in gst_audio_aggregator_convert_pad_convert_buffer() 359 gst_buffer_unmap (res, &outmap); in gst_audio_aggregator_convert_pad_convert_buffer() 2088 GstMapInfo outmap; in gst_audio_aggregator_create_output_buffer() local 2103 gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE); in gst_audio_aggregator_create_output_buffer() 2104 gst_audio_format_info_fill_silence (srcpad->info.finfo, outmap.data, in gst_audio_aggregator_create_output_buffer() 2105 outmap.size); in gst_audio_aggregator_create_output_buffer() 2106 gst_buffer_unmap (outbuf, &outmap); in gst_audio_aggregator_create_output_buffer()
|