/// <summary> /// Overridden method to process local tags /// </summary> /// <param name="localTag"></param> protected override bool ParseLocalTag(MXFReader reader, MXFLocalTag localTag) { switch (localTag.Tag) { case 0x1201: this.StartPosition = reader.ReadL(); return(true); case 0x1101: this.SourcePackageID = reader.ReadUMIDKey(); return(true); case 0x1102: this.SourceTrackId = reader.ReadD(); 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 0x5801: this.DynamicSourcePackageID = reader.ReadUMIDKey(); return(true); case 0x5802: reader.ReadArray(reader.ReadUInt32, localTag.Size); return(true); case 0x5803: this.SourceIndex = reader.ReadArray(reader.ReadByte, localTag.Size); return(true); case 0x5804: this.SourceSpecies = reader.ReadArray(reader.ReadByte, 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 0x1101: this.SourcePackageID = reader.ReadUMIDKey(); return(true); case 0x1102: this.SourceTrackId = reader.ReadUInt32(); return(true); case 0x1103: this.ChannelIDs = reader.ReadArray(reader.ReadUInt32, localTag.Size); return(true); case 0x1104: this.MonoSourceTrackIDs = reader.ReadArray(reader.ReadUInt32, 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.PackageID = reader.ReadUMIDKey(); return(true); case 0x4402: this.PackageName = reader.ReadUTF16String(localTag.Size); return(true); //case 0x4403: ReadReferenceSet<MXFGenericTrack>(reader, "Tracks", "Track"); return true; case 0x4403: this.AddChild(reader.ReadReferenceSet <MXFGenericTrack>("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)); }
/// <summary> /// Overridden method to process local tags /// </summary> /// <param name="localTag"></param> protected override bool ParseLocalTag(MXFReader reader, MXFLocalTag localTag) { switch (localTag.Tag) { case 0x2701: this.LinkedPackageID = reader.ReadUMIDKey(); return(true); case 0x3F06: this.IndexSID = reader.ReadUInt32(); return(true); case 0x3F07: this.EssenceSID = reader.ReadUInt32(); return(true); case 0x2702: this.EssenceStream = reader.ReadArray(reader.ReadByte, localTag.Size); return(true); case 0x2B01: this.SampleIndex = reader.ReadArray(reader.ReadByte, localTag.Size); return(true); case var _ when localTag.Key == precedingIndexTable_Key: this.PrecedingIndexTable = reader.ReadBool(); return(true); case var _ when localTag.Key == followingIndexTable_Key: this.FollowingIndexTable = reader.ReadBool(); return(true); case var _ when localTag.Key == isSparse_Key: this.IsSparse = reader.ReadBool(); return(true); case var _ when localTag.Key == singularPartitionUsage_Key: this.SingularPartitionUsage = reader.ReadBool(); return(true); } return(base.ParseLocalTag(reader, localTag)); }