MBS Quicktime Plugin Documentation

MBS Quicktime Plugin Documentation

MBS QuickTime Plugin Documentation Christian Schmitz July 16, 2017 2 0.1 Introduction This is the PDF version of the documentation for the Xojo (Real Studio) Plug-in from Monkeybread Software Germany. Plugin part: MBS QuickTime Plugin 0.2 Content • 1 List of all topics 3 • 2 List of all classes 39 • 3 List of all global methods 41 • 4 All items in this plugin 43 • 11 List of Questions in the FAQ 437 • 12 The FAQ 447 Chapter 1 List of Topics • 8 QuickTime 129 { 4.1.1 class Folderitem 43 ∗ 4.1.3 IsMovieFileMBS as boolean 43 ∗ 4.1.4 IsPictureFileMBS as boolean 44 ∗ 4.1.5 MakeThumbnailPictureMBS as picture 44 ∗ 4.1.6 OpenAsEditableMovieMBS as movie 44 ∗ 4.1.7 OpenAsEditableMovieWithFlagsMBS(flags as Integer) as movie 45 ∗ 4.1.8 OpenAsMovieMBS as movie 45 ∗ 4.1.9 OpenAsMovieWithFlagsMBS(flags as Integer) as movie 45 ∗ 4.1.10 OpenAsMovieWithPropertiesMBS(RateChangesPreservePitch as boolean=false, Async as boolean=false, quality as Integer=-1) as movie 46 3 4 CHAPTER 1. LIST OF TOPICS • 5 Graphics & Pictures 49 { 5.1.1 class Graphics 49 ∗ 5.1.3 DrawGWorldHandleMBS(handle as Integer, SourceLeft as Integer, SourceTop as Integer, SourceWidth as Integer, SourceHeight as Integer, DestinationLeft as Integer, DestinationTop as Integer, DestinationWidth as Integer, DestinationHeight as Integer) 49 { 5.2.1 class GWorldMBS 50 ∗ 5.2.3 clone as GWorldMBS 51 ∗ 5.2.4 cloneHandle as Integer 51 ∗ 5.2.5 Close 51 ∗ 5.2.6 CopyPicture as Picture 51 ∗ 5.2.7 CopyToMemory(dest as Ptr, offset as Integer, RowBytes as Integer, Swap as boolean = false) as boolean 52 ∗ 5.2.8 Data as memoryblock 52 ∗ 5.2.9 DataPtr as Ptr 53 ∗ 5.2.10 DrawGWorld(SourceGWorld as GWorldMBS, SourceLeft as Integer, SourceTop as In- teger, SourceWidth as Integer, SourceHeight as Integer, DestinationLeft as Integer, Destina- tionTop as Integer, DestinationWidth as Integer, DestinationHeight as Integer) 53 ∗ 5.2.11 DrawIntoGraphics(destination as graphics) 54 ∗ 5.2.12 DrawIntoGraphics(destination as graphics, SourceLeft as Integer, SourceTop as Integer, SourceWidth as Integer, SourceHeight as Integer, DestinationLeft as Integer, DestinationTop as Integer, DestinationWidth as Integer, DestinationHeight as Integer) 54 ∗ 5.2.13 DrawPicture(SourcePicture as picture, DestinationLeft as Integer, DestinationTop as Integer, DestinationWidth as Integer, DestinationHeight as Integer, UseTransparent as boolean) 55 ∗ 5.2.14 GetGWorld(byref port as Integer, byref device as Integer) 55 ∗ 5.2.15 NewGWorld(width as Integer, height as Integer, Depth as Integer, ClearWhite as boolean = true) as boolean 56 ∗ 5.2.16 NewGWorld(width as Integer, height as Integer, PixelFormat as string, ClearWhite as boolean = true) as boolean 56 ∗ 5.2.17 NewGWorldFromPicture(SourcePic as picture) as boolean 57 ∗ 5.2.18 NewGWorldGray(width as Integer, height as Integer, Depth as Integer, ClearWhite as boolean = true) as boolean 57 ∗ 5.2.19 NewGWorldPictureReference(pic as picture) as boolean 57 ∗ 5.2.20 NewGWorldWithBuffer(width as Integer, height as Integer, PixelFormat as string, Buffer as Ptr, RowBytes as Integer, ClearWhite as boolean = true) as boolean 58 ∗ 5.2.21 Scale(destgworld as GWorldMBS, quality as Integer) 58 ∗ 5.2.22 SetGWorld 59 ∗ 5.2.23 SetGWorld(port as Integer, device as Integer) 59 ∗ 5.2.25 Bottom as Integer 60 ∗ 5.2.26 Handle as Integer 60 ∗ 5.2.27 Height as Integer 60 ∗ 5.2.28 Lasterror as Integer 60 ∗ 5.2.29 Left as Integer 61 5 ∗ 5.2.30 PixelDepth as Integer 61 ∗ 5.2.31 Quality as Integer 61 ∗ 5.2.32 Release as Boolean 62 ∗ 5.2.33 Right as Integer 62 ∗ 5.2.34 RowBytes as Integer 62 ∗ 5.2.35 Top as Integer 63 ∗ 5.2.36 Width as Integer 63 ∗ 5.2.37 BMPdata as string 64 ∗ 5.2.38 BMPdataMemory as Memoryblock 64 ∗ 5.2.39 JPEGdata as string 65 ∗ 5.2.40 JPEGdataMemory as Memoryblock 65 ∗ 5.2.41 PNGdata as string 66 ∗ 5.2.42 PNGdataMemory as Memoryblock 66 ∗ 5.2.43 TIFFdata as string 66 ∗ 5.2.44 TIFFdataMemory as Memoryblock 67 ∗ 5.2.46 k16BE565PixelFormat = "B565" 67 ∗ 5.2.47 k16GrayPixelFormat = "b16g" 68 ∗ 5.2.48 k16LE5551PixelFormat = "5551" 68 ∗ 5.2.49 k16LE555PixelFormat = "L555" 68 ∗ 5.2.50 k16LE565PixelFormat = "L565" 68 ∗ 5.2.51 k24BGRPixelFormat = "24BG" 68 ∗ 5.2.52 k2vuyPixelFormat = "2vuy" 69 ∗ 5.2.53 k32ABGRPixelFormat = "ABGR" 69 ∗ 5.2.54 k32AlphaGrayPixelFormat = "b32a" 69 ∗ 5.2.55 k32BGRAPixelFormat = "BGRA" 69 ∗ 5.2.56 k32RGBAPixelFormat = "RGBA" 70 ∗ 5.2.57 k422YpCbCr8PixelFormat = "2vuy" 70 ∗ 5.2.58 k4444YpCbCrA8PixelFormat = "v408" 70 ∗ 5.2.59 k4444YpCbCrA8RPixelFormat = "r408" 71 ∗ 5.2.60 k48RGBPixelFormat = "b48r" 71 ∗ 5.2.61 k64ARGBPixelFormat = "b64a" 71 ∗ 5.2.62 kCMYKPixelFormat = "cmyk" 71 ∗ 5.2.63 kUYVY422PixelFormat = "UYVY" 71 ∗ 5.2.64 kYUV211PixelFormat = "Y211" 72 ∗ 5.2.65 kYUV411PixelFormat = "Y411" 72 ∗ 5.2.66 kYUV420PixelFormat = "y420" 72 ∗ 5.2.67 kYUVSPixelFormat = "yuvs" 72 ∗ 5.2.68 kYUVUPixelFormat = "yuvu" 72 ∗ 5.2.69 kYVU9PixelFormat = "YVU9" 72 ∗ 5.2.70 kYVYU422PixelFormat = "YVYU" 73 6 CHAPTER 1. LIST OF TOPICS • 7 Pictures Import and Export 79 { 6.1.1 class Memoryblock 77 ∗ 6.1.3 GetPictureMBS(Name as string, MimeType as string) as Picture 77 7 • 8 QuickTime 129 { 8.1.1 class Movie 129 ∗ 8.1.3 AddMovieSelectionMBS(sourcemovie as movie) as Integer 129 ∗ 8.1.4 AddSoundFadeMBS(StartVolume as Integer, EndVolume as Integer, StartTime as In- teger, DurationTime as Integer) as Boolean 131 ∗ 8.1.5 AddSoundFadeToTrackMBS(TrackHandle as Integer, StartVolume as Integer, EndVol- ume as Integer, StartTime as Integer, DurationTime as Integer) as Boolean 131 ∗ 8.1.6 AddTextTrackMBS(chapters() as QTChapterDataMBS, type as string, isChapterTrack as boolean) as QTChapterTrackMBS 132 ∗ 8.1.7 AddTimeCodeToMovieMBS(parameters as QTTimeCodeCreationParametersMBS) as Integer 133 ∗ 8.1.8 AudioSummaryChannelLayoutMBS as QTAudioChannelLayoutMBS 134 ∗ 8.1.9 BeginFullScreenMBS(Flags as Integer = 2, Play as boolean = true, ScreenIndex as Integer = -1) as Integer 134 ∗ 8.1.10 ChapterTrackMBS as QTChapterTrackMBS 135 ∗ 8.1.11 clearMovieChangedMBS 135 ∗ 8.1.12 CurrentTimeCodeStringMBS as string 135 ∗ 8.1.13 DeleteMovieSegmentMBS(time as Integer, Duration as Integer) as Integer 136 ∗ 8.1.14 DeleteMovieSelectionMBS as Integer 136 ∗ 8.1.15 DeleteTimeCodeTracksMBS 136 ∗ 8.1.16 DrawMovieGWorldIntoRectMBS(GWorldHandle as Integer, left as Integer, top as In- teger, width as Integer, height as Integer) as Integer 137 ∗ 8.1.17 DrawMovieGWorldMBS(GWorldHandle as Integer) as Integer 137 ∗ 8.1.18 DrawMovieIntoRectMBS(g as graphics, left as Integer, top as Integer, width as Integer, height as Integer) as Integer 137 ∗ 8.1.19 DrawMovieMBS(g as graphics) as Integer 138 ∗ 8.1.20 DurationFramesMBS as Double 138 ∗ 8.1.21 DurationMBS as Double 138 ∗ 8.1.22 EndFullScreenMBS(Flags as Integer = 0) as Integer 139 ∗ 8.1.23 FlattenMovieMBS(file as folderitem, creatorcode as string, ReplaceFile as boolean, ResourceName as string) as Integer 139 ∗ 8.1.24 GenerateMovieApertureModeDimensionsMBS as Integer 140 ∗ 8.1.25 GetActiveSegmentFramesMBS(byref StartFrame as Integer, byref DurationFrame as Integer) 140 ∗ 8.1.26 GetActiveSegmentMBS(byref StartFrame as Double, byref DurationFrame as Double) 140 ∗ 8.1.27 GetMovieApertureModeMBS as string 141 ∗ 8.1.28 GetSoundTrackMBS(index as Integer, EnabledTracksOnly as boolean = false) as QT- TrackMBS 141 ∗ 8.1.29 GetTextTrackMBS(index as Integer, EnabledTracksOnly as boolean = false) as QTChap- terTrackMBS 142 ∗ 8.1.30 GetTrackIDMBS(id as Integer) as QTTrackMBS 142 ∗ 8.1.31 GetTrackIndexMBS(index as Integer) as QTTrackMBS 142 8 CHAPTER 1. LIST OF TOPICS ∗ 8.1.32 GetVideoTrackMBS(index as Integer, EnabledTracksOnly as boolean = false) as QT- TrackMBS 143 ∗ 8.1.33 GoToBeginningMBS 143 ∗ 8.1.34 GoToEndMBS 143 ∗ 8.1.35 HasMovieChangedMBS as boolean 144 ∗ 8.1.36 HasQTChapterTrackMBS as Boolean 145 ∗ 8.1.37 HasTimeCodeTrackMBS as boolean 145 ∗ 8.1.38 InsertEmptyMovieSegmentMBS(time as Integer, Duration as Integer) as Integer 145 ∗ 8.1.39 InsertMovieSegmentMBS(dest as movie, srcIn as Integer, srcDuration as Integer, dstIn as Integer) as Integer 146 ∗ 8.1.40 IsAutoPlayMovieMBS as boolean 147 ∗ 8.1.41 IsMediaTypeInMovieMBS(mediatype as string) as boolean 147 ∗ 8.1.42 IsMovieDoneMBS as boolean 147 ∗ 8.1.43 IsQTVRmovieMBS as boolean 148 ∗ 8.1.44 IsStreamedMovieMBS as boolean 148 ∗ 8.1.45 LoadIntoRamFramesMBS(FrameStart as Double, FrameDuration as Double, flags as Integer) as Integer 148 ∗ 8.1.46 LoadIntoRamMBS(Start as Double, Duration as Double, flags as Integer) as Integer 149 ∗ 8.1.47 LoadStateMBS as Integer 150 ∗ 8.1.48 MetaDataMBS as QTMetaDataMBS 151 ∗ 8.1.49 MovieHasSoundTrackMBS as boolean 151 ∗ 8.1.50 MovieHasTimeCodeTrackMBS as boolean 151 ∗ 8.1.51 MoviePictureFramesMBS(frameposition as Double) as picture 151 ∗ 8.1.52 MoviePictureMBS(position as Double) as picture 152 ∗ 8.1.53 MoviePollMBS 152 ∗ 8.1.54 NextInterestingVideoTimeMBS(byref time as Integer, byref duration as Integer) as boolean 153 ∗ 8.1.55 NextInterestingVideoTimeMBS(byref time as Integer, byref duration as Integer, rate as Double) as boolean 153 ∗ 8.1.56 NextInterestingVideoTimeWithFlagsMBS(flags as Integer, byref time as Integer, byref duration as Integer) as boolean 154 ∗ 8.1.57 NextInterestingVideoTimeWithFlagsMBS(flags as Integer, byref time as Integer, byref duration as Integer, rate as Double) as boolean 155 ∗ 8.1.58 PlayMBS 156 ∗ 8.1.59 PosterPictureMBS as picture 156 ∗ 8.1.60 RegisterAccessKeyMBS(keytype as string, SystemWide as boolean, AccessKey as string) as Integer 156 ∗ 8.1.61 RemoveMovieApertureModeDimensionsMBS as Integer 157 ∗ 8.1.62 RemoveTextTrackMBS(index as Integer) as Integer 157 ∗ 8.1.63 SaveMBS(file as folderitem,

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    619 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us