/dports/multimedia/gstreamer1/gstreamer-1.16.2/plugins/elements/ |
H A D | gsttypefindelement.c | 166 typefind); 299 typefind->sink = in gst_type_find_element_init() 312 gst_element_add_pad (GST_ELEMENT (typefind), typefind->sink); in gst_type_find_element_init() 315 typefind->src = in gst_type_find_element_init() 327 gst_element_add_pad (GST_ELEMENT (typefind), typefind->src); in gst_type_find_element_init() 330 typefind->caps = NULL; in gst_type_find_element_init() 518 typefind->offset = typefind->segment.start; in gst_type_find_element_seek() 578 if (typefind->caps) in start_typefinding() 886 GST_LOG_OBJECT (typefind, "handling buffer in mode %d", typefind->mode); in gst_type_find_element_chain() 949 ext = gst_type_find_get_extension (typefind, typefind->sink); in gst_type_find_element_chain_do_typefinding() [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/video/cdg/src/ |
H A D | typefind.rs | 21 fn cdg_packets_ratio(typefind: &mut TypeFind, start: i64, len: i64) -> i64 { in cdg_packets_ratio() 26 match typefind.peek(start + offset, CDG_PACKET_SIZE as u32) { in cdg_packets_ratio() 44 fn compute_probability(typefind: &mut TypeFind) -> TypeFindProbability { in compute_probability() 47 let len = typefind in compute_probability() 58 let proba = match cdg_packets_ratio(typefind, offset as i64, TYPEFIND_SEARCH_WINDOW) { in compute_probability() 81 |mut typefind| { in register() 82 let proba = compute_probability(&mut typefind); in register() 85 typefind.suggest(proba, &Caps::new_simple("video/x-cdg", &[])); in register()
|
H A D | lib.rs | 14 mod typefind; module 19 typefind::register(plugin)?; in plugin_init()
|
/dports/multimedia/gstreamer1/gstreamer-1.16.2/tools/ |
H A D | gst-typefind.c | 35 have_type_handler (GstElement * typefind, guint probability, in have_type_handler() argument 49 GstElement *typefind; in typefind_file() local 74 typefind = gst_element_factory_make ("typefind", "typefind"); in typefind_file() 75 g_assert (GST_IS_ELEMENT (typefind)); in typefind_file() 77 g_assert (GST_IS_ELEMENT (typefind)); in typefind_file() 79 gst_bin_add_many (GST_BIN (pipeline), source, typefind, fakesink, NULL); in typefind_file() 80 gst_element_link_many (source, typefind, fakesink, NULL); in typefind_file() 82 g_signal_connect (G_OBJECT (typefind), "have-type", in typefind_file()
|
H A D | Makefile.am | 5 gst-typefind-@GST_API_VERSION@ 15 gst_typefind_@GST_API_VERSION@_SOURCES = gst-typefind.c tools.h 30 gst-typefind-@GST_API_VERSION@.1 45 gst-typefind-@GST_API_VERSION@.1 \
|
H A D | Makefile.in | 96 gst-typefind-@GST_API_VERSION@$(EXEEXT) $(am__EXEEXT_1) 180 gst_typefind_@GST_API_VERSION@-gst-typefind.$(OBJEXT) 208 ./$(DEPDIR)/gst_typefind_@GST_API_VERSION@-gst-typefind.Po 584 gst_typefind_@GST_API_VERSION@_SOURCES = gst-typefind.c tools.h 591 gst-stats-@GST_API_VERSION@.1 gst-typefind-@GST_API_VERSION@.1 \ 600 gst-typefind-@GST_API_VERSION@.1 \ 701 @rm -f gst-typefind-@GST_API_VERSION@$(EXEEXT) 787 gst_typefind_@GST_API_VERSION@-gst-typefind.o: gst-typefind.c 789 …DEPDIR)/gst_typefind_@GST_API_VERSION@-gst-typefind.Tpo $(DEPDIR)/gst_typefind_@GST_API_VERSION@-g… 794 gst_typefind_@GST_API_VERSION@-gst-typefind.obj: gst-typefind.c [all …]
|
/dports/multimedia/gstreamermm/gstreamermm-1.10.0/gstreamer/src/ |
H A D | typefind.hg | 61 /** Registers a new typefind slot to be used for typefinding. After 69 * @param rank The rank (or importance) of this typefind function. 79 /** Registers a new typefind slot to be used for typefinding. After 87 * @param rank The rank (or importance) of this typefind function. 95 /** Registers a new typefind slot to be used for typefinding. After 103 * @param rank The rank (or importance) of this typefind function. 111 /** Registers a new typefind slot to be used for typefinding. After 119 * @param rank The rank (or importance) of this typefind function. 130 * @param rank The rank (or importance) of this typefind function. 145 * @param rank The rank (or importance) of this typefind function. [all …]
|
H A D | typefindelement.hg | 14 /** A Wrapper for the typefind plugin. 32 /** Creates a new typefind plugin with a unique name. 36 /** Creates a new typefind plugin with the given name.
|
/dports/graphics/jogamp-jogl/jogl/src/test-native/gst/ |
H A D | helloworld-auto.c | 50 cb_typefound (GstElement *typefind, in cb_typefound() argument 73 GstElement *pipeline, *filesrc, *typefind, *fakesink; in main() local 96 typefind = gst_element_factory_make ("typefind", "typefinder"); in main() 97 g_signal_connect (typefind, "have-type", G_CALLBACK (cb_typefound), loop); in main() 101 gst_bin_add_many (GST_BIN (pipeline), filesrc, typefind, fakesink, NULL); in main() 102 gst_element_link_many (filesrc, typefind, fakesink, NULL); in main()
|
/dports/multimedia/gst123/gst123-0.3.3/src/ |
H A D | typefinder.cc | 64 TypeFinder::cb_typefound (GstElement *typefind, in cb_typefound() argument 86 GstElement *typefind = gst_element_factory_make ("typefind", "typefinder"); in run() local 87 g_signal_connect (typefind, "have-type", G_CALLBACK (cb_typefound), this); in run() 92 gst_bin_add_many (GST_BIN (pipeline), filesrc, typefind, fakesink, NULL); in run() 93 gst_element_link_many (filesrc, typefind, fakesink, NULL); in run()
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/gstreamer-0.15.7/src/ |
H A D | typefind.rs | 261 let mut typefind = SliceTypeFind::new(&data); in test_typefind_call_function() localVariable 262 xml_factory.call_function(&mut typefind); in test_typefind_call_function() 265 typefind.caps, in test_typefind_call_function() 268 assert_eq!(typefind.probability, Some(TypeFindProbability::Minimum)); in test_typefind_call_function() 281 |typefind| { in test_typefind_register() 282 assert_eq!(typefind.get_length(), Some(8)); in test_typefind_register() 284 if let Some(data) = typefind.peek(0, 8) { in test_typefind_register() 291 typefind.suggest( in test_typefind_register()
|
/dports/net-im/fractal/fractal-4.4.0/vendor/gstreamer/src/ |
H A D | typefind.rs | 261 let mut typefind = SliceTypeFind::new(&data); in test_typefind_call_function() localVariable 262 xml_factory.call_function(&mut typefind); in test_typefind_call_function() 265 typefind.caps, in test_typefind_call_function() 268 assert_eq!(typefind.probability, Some(TypeFindProbability::Minimum)); in test_typefind_call_function() 281 |typefind| { in test_typefind_register() 282 assert_eq!(typefind.get_length(), Some(8)); in test_typefind_register() 284 if let Some(data) = typefind.peek(0, 8) { in test_typefind_register() 291 typefind.suggest( in test_typefind_register()
|
/dports/multimedia/termplay/termplay-2.0.6/cargo-crates/gstreamer-0.15.0/src/ |
H A D | typefind.rs | 261 let mut typefind = SliceTypeFind::new(&data); in test_typefind_call_function() localVariable 262 xml_factory.call_function(&mut typefind); in test_typefind_call_function() 265 typefind.caps, in test_typefind_call_function() 268 assert_eq!(typefind.probability, Some(TypeFindProbability::Minimum)); in test_typefind_call_function() 281 |typefind| { in test_typefind_register() 282 assert_eq!(typefind.get_length(), Some(8)); in test_typefind_register() 284 if let Some(data) = typefind.peek(0, 8) { in test_typefind_register() 291 typefind.suggest( in test_typefind_register()
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/gstreamer-0.17.3/src/ |
H A D | typefind.rs | 266 let mut typefind = SliceTypeFind::new(&data); in test_typefind_call_function() localVariable 267 xml_factory.call_function(&mut typefind); in test_typefind_call_function() 270 typefind.caps, in test_typefind_call_function() 273 assert_eq!(typefind.probability, Some(TypeFindProbability::Minimum)); in test_typefind_call_function() 286 |typefind| { in test_typefind_register() 287 assert_eq!(typefind.length(), Some(8)); in test_typefind_register() 289 if let Some(data) = typefind.peek(0, 8) { in test_typefind_register() 296 typefind.suggest( in test_typefind_register()
|
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/gstreamer-0.17.4/src/ |
H A D | typefind.rs | 266 let mut typefind = SliceTypeFind::new(&data); in test_typefind_call_function() localVariable 267 xml_factory.call_function(&mut typefind); in test_typefind_call_function() 270 typefind.caps, in test_typefind_call_function() 273 assert_eq!(typefind.probability, Some(TypeFindProbability::Minimum)); in test_typefind_call_function() 286 |typefind| { in test_typefind_register() 287 assert_eq!(typefind.length(), Some(8)); in test_typefind_register() 289 if let Some(data) = typefind.peek(0, 8) { in test_typefind_register() 296 typefind.suggest( in test_typefind_register()
|
/dports/multimedia/neolink/neolink-cf54129/cargo-crates/gstreamer-0.17.1/src/ |
H A D | typefind.rs | 266 let mut typefind = SliceTypeFind::new(&data); in test_typefind_call_function() localVariable 267 xml_factory.call_function(&mut typefind); in test_typefind_call_function() 270 typefind.caps, in test_typefind_call_function() 273 assert_eq!(typefind.probability, Some(TypeFindProbability::Minimum)); in test_typefind_call_function() 286 |typefind| { in test_typefind_register() 287 assert_eq!(typefind.length(), Some(8)); in test_typefind_register() 289 if let Some(data) = typefind.peek(0, 8) { in test_typefind_register() 296 typefind.suggest( in test_typefind_register()
|
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/libmedia/gst/ |
H A D | MediaParserGst.cpp | 57 GstElement* typefind = gst_element_factory_make("typefind", nullptr); in MediaParserGst() local 58 if (!typefind) { in MediaParserGst() 62 gst_bin_add(GST_BIN(_bin), typefind); in MediaParserGst() 64 g_signal_connect (typefind, "have-type", G_CALLBACK (MediaParserGst::cb_typefound), this); in MediaParserGst() 67 _srcpad = swfdec_gst_connect_srcpad (typefind, srccaps); in MediaParserGst() 286 MediaParserGst::cb_typefound(GstElement* typefind, guint /*probability*/, in cb_typefound() argument 296 GstPad* srcpad = gst_element_get_static_pad(typefind, "src"); in cb_typefound() 303 cb_pad_added(typefind, srcpad, parser); in cb_typefound() 323 success = gst_element_link(typefind, demuxer); in cb_typefound()
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/generic/sodium/src/ |
H A D | lib.rs | 46 |typefind| { in typefind_register() 47 if let Some(data) = typefind.peek(0, TYPEFIND_HEADER_SIZE as u32) { in typefind_register() 49 typefind.suggest( in typefind_register()
|
/dports/multimedia/gstreamermm/gstreamermm-1.10.0/examples/ |
H A D | Makefile.in | 767 typefind/$(am__dirstamp): 768 @$(MKDIR_P) typefind 769 @: > typefind/$(am__dirstamp) 770 typefind/$(DEPDIR)/$(am__dirstamp): 771 @$(MKDIR_P) typefind/$(DEPDIR) 773 typefind/main.$(OBJEXT): typefind/$(am__dirstamp) \ 774 typefind/$(DEPDIR)/$(am__dirstamp) 777 @rm -f typefind/example$(EXEEXT) 795 -rm -f typefind/*.$(OBJEXT) 863 -rm -rf typefind/.libs typefind/_libs [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/generic/sodium/examples/ |
H A D | decrypt_example.rs | 102 let typefind = gst::ElementFactory::make("typefind", None).unwrap(); in main() localVariable 117 .add_many(&[&filesrc, &decrypter, &typefind, &filesink]) in main() 119 gst::Element::link_many(&[&filesrc, &decrypter, &typefind, &filesink]) in main()
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/utils/fallbackswitch/src/fallbacksrc/video_fallback/ |
H A D | imp.rs | 289 let typefind = gst::ElementFactory::make("typefind", Some("fallback_typefind")) in create_source() localVariable 324 &typefind, in create_source() 332 gst::Element::link_many(&[&filesrc, &typefind]).unwrap(); in create_source() 358 typefind in create_source() 360 let typefind = args[0].get::<gst::Element>().unwrap(); in create_source() localVariable 400 gst::Element::link_many(&[&typefind, &decoder, &videoconvert]) in create_source()
|
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/native/jni/gstreamer-peer/ |
H A D | gstreamer_io_peer.c | 145 typefind_callback(GstElement *typefind, guint probability, const GstCaps *caps, 324 GstElement *typefind = NULL; in process_audio() local 369 typefind = gst_bin_get_by_name (GST_BIN (decoder), "typefind"); in process_audio() 370 if (typefind != NULL) in process_audio() 378 g_signal_connect (G_OBJECT (typefind), "have-type", in process_audio() 428 static gboolean typefind_callback(GstElement *typefind __attribute__ ((unused)), in typefind_callback() argument
|
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/native/jni/gstreamer-peer/ |
H A D | gstreamer_io_peer.c | 145 typefind_callback(GstElement *typefind, guint probability, const GstCaps *caps, 324 GstElement *typefind = NULL; in process_audio() local 369 typefind = gst_bin_get_by_name (GST_BIN (decoder), "typefind"); in process_audio() 370 if (typefind != NULL) in process_audio() 378 g_signal_connect (G_OBJECT (typefind), "have-type", in process_audio() 428 static gboolean typefind_callback(GstElement *typefind __attribute__ ((unused)), in typefind_callback() argument
|
/dports/lang/gnat_util/gcc-6-20180516/libjava/classpath/native/jni/gstreamer-peer/ |
H A D | gstreamer_io_peer.c | 145 typefind_callback(GstElement *typefind, guint probability, const GstCaps *caps, 324 GstElement *typefind = NULL; in process_audio() local 369 typefind = gst_bin_get_by_name (GST_BIN (decoder), "typefind"); in process_audio() 370 if (typefind != NULL) in process_audio() 378 g_signal_connect (G_OBJECT (typefind), "have-type", in process_audio() 428 static gboolean typefind_callback(GstElement *typefind __attribute__ ((unused)), in typefind_callback() argument
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/native/jni/gstreamer-peer/ |
H A D | gstreamer_io_peer.c | 145 typefind_callback(GstElement *typefind, guint probability, const GstCaps *caps, 324 GstElement *typefind = NULL; in process_audio() local 369 typefind = gst_bin_get_by_name (GST_BIN (decoder), "typefind"); in process_audio() 370 if (typefind != NULL) in process_audio() 378 g_signal_connect (G_OBJECT (typefind), "have-type", in process_audio() 428 static gboolean typefind_callback(GstElement *typefind __attribute__ ((unused)), in typefind_callback() argument
|