MCPcopy Create free account
hub / github.com/apache/fory / CreateMediaContent

Method CreateMediaContent

benchmarks/csharp/BenchmarkModels.cs:566–613  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

564 }
565
566 public static MediaContent CreateMediaContent()
567 {
568 return new MediaContent
569 {
570 Media = new Media
571 {
572 Uri = "http://javaone.com/keynote.ogg",
573 Title = string.Empty,
574 Width = 641,
575 Height = 481,
576 Format = "video/theora\u1234",
577 Duration = 18_000_001,
578 Size = 58_982_401,
579 Bitrate = 0,
580 HasBitrate = false,
581 Persons = ["Bill Gates, Jr.", "Steven Jobs"],
582 Player = Player.Flash,
583 Copyright = "Copyright (c) 2009, Scooby Dooby Doo",
584 },
585 Images =
586 [
587 new Image
588 {
589 Uri = "http://javaone.com/keynote_huge.jpg",
590 Title = "Javaone Keynote\u1234",
591 Width = 32_000,
592 Height = 24_000,
593 Size = MediaSize.Large,
594 },
595 new Image
596 {
597 Uri = "http://javaone.com/keynote_large.jpg",
598 Title = string.Empty,
599 Width = 1_024,
600 Height = 768,
601 Size = MediaSize.Large,
602 },
603 new Image
604 {
605 Uri = "http://javaone.com/keynote_small.jpg",
606 Title = string.Empty,
607 Width = 320,
608 Height = 240,
609 Size = MediaSize.Small,
610 },
611 ],
612 };
613 }
614
615 public static NumericStructList CreateNumericStructList()
616 {

Callers 1

BuildBenchmarkCasesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected