Home
last modified time | relevance | path

Searched refs:g_memdup (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-ids.c187 hdr = gst_buffer_new_wrapped (g_memdup (p + offset, length[i]), length[i]); in gst_matroska_parse_xiph_stream_headers()
226 hdr = gst_buffer_new_wrapped (g_memdup (pdata, 80), 80); in gst_matroska_parse_speex_stream_headers()
230 hdr = gst_buffer_new_wrapped (g_memdup (pdata + 80, codec_data_size - 80), in gst_matroska_parse_speex_stream_headers()
261 gst_buffer_new_wrapped (g_memdup (pdata, codec_data_size), in gst_matroska_parse_opus_stream_headers()
292 hdr = gst_buffer_new_wrapped (g_memdup (pdata, 4), 4); in gst_matroska_parse_flac_stream_headers()
310 hdr = gst_buffer_new_wrapped (g_memdup (pdata + off, len + 4), len + 4); in gst_matroska_parse_flac_stream_headers()
Dmatroska-demux.c3669 newbuf = gst_buffer_new_wrapped (g_memdup (seq_header, seq_header_len), in gst_matroska_demux_add_mpeg_seq_header()
6082 gst_buffer_new_wrapped (g_memdup ((guint8 *) vids + offset, in gst_matroska_demux_video_caps()
6165 priv = gst_buffer_new_wrapped (g_memdup (data, size), size); in gst_matroska_demux_video_caps()
6214 priv = gst_buffer_new_wrapped (g_memdup (data, size), size); in gst_matroska_demux_video_caps()
6234 priv = gst_buffer_new_wrapped (g_memdup (data, size), size); in gst_matroska_demux_video_caps()
6274 gst_buffer_new_wrapped (g_memdup (data + 0x1a, size - 0x1a), in gst_matroska_demux_video_caps()
6303 priv = gst_buffer_new_wrapped (g_memdup (data, size), size); in gst_matroska_demux_video_caps()
6687 gst_buffer_new_wrapped (g_memdup (context->codec_priv, in gst_matroska_demux_audio_caps()
6777 priv = gst_buffer_new_wrapped (g_memdup (context->codec_priv, in gst_matroska_demux_audio_caps()
6904 priv = gst_buffer_new_wrapped (g_memdup (data + 78, extra_data_size), in gst_matroska_demux_audio_caps()
[all …]
Debml-read.c666 *binary = g_memdup (data, size); in gst_ebml_read_binary()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dkate.c274 buf = gst_buffer_new_wrapped (g_memdup (kate_header_0x80, in GST_START_TEST()
347 inbuffer = gst_buffer_new_wrapped (g_memdup (kate_header_0x80, in GST_START_TEST()
360 inbuffer = gst_buffer_new_wrapped (g_memdup (kate_header_0x81, in GST_START_TEST()
493 inbuffer = gst_buffer_new_wrapped (g_memdup (test_string, in GST_START_TEST()
547 inbuffer = gst_buffer_new_wrapped (g_memdup (kate_spu, sizeof (kate_spu)), in GST_START_TEST()
665 inbuffer = gst_buffer_new_wrapped (g_memdup (kate_header_0x80, in test_kate_send_headers()
670 inbuffer = gst_buffer_new_wrapped (g_memdup (kate_header_0x81, in test_kate_send_headers()
676 inbuffer = gst_buffer_new_wrapped (g_memdup (kate_header_0x8x, in test_kate_send_headers()
685 inbuffer = gst_buffer_new_wrapped (g_memdup (kate_header_0x88, in test_kate_send_headers()
708 inbuffer = gst_buffer_new_wrapped (g_memdup (kate_header_0x00, in GST_START_TEST()
[all …]
Dpcapparse.c100 in_buf = gst_buffer_new_wrapped (g_memdup (zerosize_data, data_size), in GST_START_TEST()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbitwriter.c203 data = g_memdup (data, bitwriter->bit_size >> 3); in gst_bit_writer_reset_and_get_data()
235 data = g_memdup (data, size); in gst_bit_writer_reset_and_get_buffer()
Dgstbytewriter.c214 data = g_memdup (data, writer->parent.size); in gst_byte_writer_reset_and_get_data()
Dgstbytereader.c1184 *str = g_memdup (reader->data + reader->byte, size); \
/third_party/gstreamer/gstreamer/tests/check/libs/
Dbytewriter.c45 data = g_memdup (sdata, sizeof (sdata)); in GST_START_TEST()
59 data = g_memdup (sdata, sizeof (sdata)); in GST_START_TEST()
Dbitwriter.c79 data = g_memdup (sdata, sizeof (sdata)); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/riff/
Driff-read.c296 strh = g_memdup (info.data, info.size); in gst_riff_parse_strh()
387 strf = g_memdup (info.data, info.size); in gst_riff_parse_strf_vids()
485 strf = g_memdup (info.data, info.size); in gst_riff_parse_strf_auds()
577 strf = g_memdup (info.data, info.size); in gst_riff_parse_strf_iavs()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgst-dvb-descriptor.c207 *stuffing_bytes = g_memdup (data, descriptor->length); in gst_mpegts_descriptor_parse_dvb_stuffing()
603 copy->private_data_bytes = g_memdup (source->private_data_bytes, in _gst_mpegts_dvb_linkage_descriptor_copy()
828 res->private_data_bytes = g_memdup (data, res->private_data_length); in gst_mpegts_descriptor_parse_dvb_linkage()
2016 *private_data = g_memdup (data + 4, *length); in gst_mpegts_descriptor_parse_dvb_private_data_specifier()
2094 copy->selector_bytes = g_memdup (source->selector_bytes, source->length); in _gst_mpegts_dvb_data_broadcast_descriptor_copy()
2148 res->selector_bytes = g_memdup (data, res->length); in gst_mpegts_descriptor_parse_dvb_data_broadcast()
2223 *id_selector_bytes = g_memdup (data, *len); in gst_mpegts_descriptor_parse_dvb_data_broadcast_id()
Dgstmpegtsdescriptor.c721 copy->data = g_memdup (desc->data, desc->length + 2); in _copy_descriptor()
809 desc->data = g_memdup (desc->data, desc->length + 2); in gst_mpegts_parse_descriptors()
/third_party/gstreamer/gstplugins_bad/gst/audiovisualizers/
Dgstspectrascope.c187 mono_adata = (gint16 *) g_memdup (amap.data, amap.size); in gst_spectra_scope_render()
/third_party/gstreamer/gstplugins_bad/ext/dtls/
Dgstdtlsenc.c534 key_dup = g_memdup (key, GST_DTLS_SRTP_MASTER_KEY_LENGTH); in on_key_received()
560 buffer = gst_buffer_new_wrapped (g_memdup (data, length), length); in on_send_data()
/third_party/gstreamer/gstplugins_good/tests/icles/
Dgdkpixbufoverlay-test.c129 pixels_copy = g_memdup (pixdata + 24, height * stride); in create_overlay_pixbuf()
/third_party/gettext/libtextstyle/gnulib-local/lib/glib/
Dgstrfuncs.in.h248 gpointer g_memdup (gconstpointer mem,
/third_party/gstreamer/gstplugins_bad/sys/nvdec/
Dgstnvdec.c340 item->data = g_memdup (format, sizeof (CUVIDEOFORMAT)); in parser_sequence_callback()
364 item->data = g_memdup (params, sizeof (CUVIDPICPARAMS)); in parser_decode_callback()
381 item->data = g_memdup (dispinfo, sizeof (CUVIDPARSERDISPINFO)); in parser_display_callback()
/third_party/glib/glib/
Dgstrfuncs.h265 gpointer g_memdup (gconstpointer mem,
/third_party/libsoup/libsoup/
Dsoup-message-body.c99 data = g_memdup (data, length); in soup_buffer_new()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkh264enc.c171 gst_memory_new_wrapped (0, g_memdup (sei, sei_size), sei_size, 0, in insert_frame_packing_sei()
/third_party/glib/glib/tests/
Dstrfuncs.c214 g_assert_null (g_memdup (NULL, 1024)); in test_memdup()
215 g_assert_null (g_memdup (str, 0)); in test_memdup()
216 g_assert_null (g_memdup (NULL, 0)); in test_memdup()
219 str_dup = g_memdup (str, strlen (str) + 1); in test_memdup()
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dmpegts.c405 data = g_memdup (stt_data_check, 20); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsamidisrc.c423 local_data = g_memdup (data, size); in push_buffer()
/third_party/gstreamer/gstplugins_bad/ext/fdkaac/
Dgstfdkaacenc.c503 gst_buffer_new_wrapped (g_memdup (enc_info.confBuf, enc_info.confSize), in gst_fdkaacenc_set_format()

1234