示例#1
0
 /// <summary>
 /// Overridden method to process local tags
 /// </summary>
 /// <param name="localTag"></param>
 protected override bool ParseLocalTag(MXFReader reader, MXFLocalTag localTag)
 {
     switch (localTag.Tag)
     {
     case 0x4001: LocatorName = reader.ReadS(localTag.Size); return(true);
     }
     return(base.ParseLocalTag(reader, localTag));
 }
示例#2
0
        /// <summary>
        /// Overridden method to process local tags
        /// </summary>
        /// <param name="localTag"></param>
        protected override bool ParseLocalTag(MXFReader reader, MXFLocalTag localTag)
        {
            switch (localTag.Tag)
            {
            case 0x0601: this.EventStartPosition = reader.ReadL(); return(true);

            case 0x0602: this.EventComment = reader.ReadS(localTag.Size); return(true);
            }
            return(base.ParseLocalTag(reader, localTag));
        }
示例#3
0
        /// <summary>
        /// Overridden method to process local tags
        /// </summary>
        /// <param name="localTag"></param>
        protected override bool ParseLocalTag(MXFReader reader, MXFLocalTag localTag)
        {
            switch (localTag.Tag)
            {
            case 0x3406: this.ComponentMaxRef = reader.ReadD(); return(true);

            case 0x3407: this.ComponentMinRef = reader.ReadD(); return(true);

            case 0x3408: this.AlphaMaxRef = reader.ReadD(); return(true);

            case 0x3409: this.AlphaMinRef = reader.ReadD(); return(true);

            case 0x3405: this.ScanningDirection = reader.ReadB(); return(true);

            case 0x3401: this.PixelLayout = reader.ReadW(); return(true);

            case 0x3403: this.Palette = reader.ReadS(localTag.Size); return(true);                    // TODO

            case 0x3404: this.PaletteLayout = reader.ReadS(localTag.Size); return(true);              // TODO
            }
            return(base.ParseLocalTag(reader, localTag));
        }
        /// <summary>
        /// Overridden method to process local tags
        /// </summary>
        /// <param name="localTag"></param>
        protected override bool ParseLocalTag(MXFReader reader, MXFLocalTag localTag)
        {
            switch (localTag.Tag)
            {
            case 0x4801: this.TrackID = reader.ReadD(); return(true);

            case 0x4802: this.TrackName = reader.ReadS(localTag.Size); return(true);

            case 0x4803: this.Sequence = reader.ReadRefKey(); return(true);

            case 0x4804: this.TrackNumber = reader.ReadD(); return(true);
            }
            return(base.ParseLocalTag(reader, localTag));
        }
示例#5
0
        /// <summary>
        /// Overridden method to process local tags
        /// </summary>
        /// <param name="localTag"></param>
        protected override bool ParseLocalTag(MXFReader reader, MXFLocalTag localTag)
        {
            switch (localTag.Tag)
            {
            case 0x3C09: this.ThisGenerationUID = reader.ReadKey(); return(true);

            case 0x3C01: this.CompanyName = reader.ReadS(localTag.Size); return(true);

            case 0x3C02: this.ProductName = reader.ReadS(localTag.Size); return(true);

            case 0x3C03: this.ProductVersion = reader.ReadVersion(); return(true);

            case 0x3C04: this.ProductVersionString = reader.ReadS(localTag.Size); return(true);

            case 0x3C05: this.ProductUID = reader.ReadKey(); return(true);

            case 0x3C06: this.ModificationDate = reader.ReadTimestamp(); return(true);

            case 0x3C07: this.ToolkitVersion = reader.ReadVersion(); return(true);

            case 0x3C08: this.Platform = reader.ReadS(localTag.Size); return(true);
            }
            return(base.ParseLocalTag(reader, localTag));
        }
        /// <summary>
        /// Overridden method to process local tags
        /// </summary>
        /// <param name="localTag"></param>
        protected override bool ParseLocalTag(MXFReader reader, MXFLocalTag localTag)
        {
            switch (localTag.Tag)
            {
            case 0x4401: this.PackageUID = reader.ReadUMIDKey(); return(true);

            case 0x4402: this.PackageName = reader.ReadS(localTag.Size); return(true);

            case 0x4403: ReadKeyList(reader, "Tracks", "Track"); return(true);

            case 0x4404: this.ModifiedDate = reader.ReadTimestamp(); return(true);

            case 0x4405: this.CreationDate = reader.ReadTimestamp(); return(true);
            }
            return(base.ParseLocalTag(reader, localTag));
        }