Exemple #1
0
 public outputFormatVideo(Int32 type)
     : this()
 {
     setType(type);
     this.tag          = new epgTag(0x50);
     this.componentTag = new epgVideoComponentTag(0);
 }
Exemple #2
0
 public outputFormatExtDescription()
 {
     this.paramList = new List <epgUnit>();
     this.tag       = new epgTag(0xE4);
     //this.title = new epgExtTitle();
     //this.description = new epgExtDescription();
 }
Exemple #3
0
 public outputFormatGenle()
 {
     this.tag        = new epgTag(0x54);
     this.genleBig   = new epgGenleBig();
     this.genleSmall = new epgGenleSmall();
     this.paramList  = new List <epgUnit>();
 }
Exemple #4
0
 public outputFormatMadara()
 {
     this.tag         = new epgTag(0xd6);
     this.groupType   = new epgMadaraGroupType();
     this.serviceList = new epgMadaraList();
     this.eventIdList = new epgMadaraList();
 }
Exemple #5
0
 public outputFormatCopyControl()
 {
     this.tag         = new epgTag(0xC1);
     this.recoriding  = new epgDigitalRecordingControlData();
     this.copyControl = new epgCopyControlType();
     this.aps         = new epgAPSControlData();
 }
Exemple #6
0
 public outputFormatVideo()
 {
     this.tag           = new epgTag(0x50);
     this.componentTag  = new epgVideoComponentTag(0);
     this.componentType = new epgVideoComponentType(0xb3);
     this.videoType     = new epgVideoType("HD動画");
     this.paramList     = new List <epgUnit>();
 }
Exemple #7
0
 public outputFormatContentAvailability()
 {
     this.tag             = new epgTag(0xDE);
     this.restrictionmode = new epgCopyRestrictionMode();
     this.imageConstraint = new epgImageConstraintToken();
     this.retentionMode   = new epgRetentionMode();
     this.retentionState  = new epgRetentionState();
     this.encryptionMode  = new epgEncryptionMode();
 }
Exemple #8
0
        public outputFormatVideo(Int32 type, ref Random rnd)
            : this()
        {
            int v = type;

            if (v == 0)
            {
                v = this.videoTypeAry[rnd.Next(this.videoTypeAry.Count())];
            }
            setType(v);
            this.tag          = new epgTag(0x50);
            this.componentTag = new epgVideoComponentTag(0);
        }
Exemple #9
0
        /*
         *  MPEG2AAC(LC) ... モノ、ステレオ、デュアルモノ、5.1
         *  MPEG4AAC     ... ステレオ、5.1、7.1ch、22.2ch
         *  MPEG4ALS     ... ステレオ、5.1
         *
         */

        public bool makeTestDataSound(Int32 esNumber, ref Int32 counter, ref Int32 soundKindCounter, ref Int32 soundNameCounter, bool multiFlag, bool dualMonoFlag)
        {
            this.tag = new epgTag(0xc4);
            Int32 es = 0x10;

            if (esNumber != 1)
            {
                es = 0x11;
            }
            this.componentTag = new epgAudioComponentTag(es);

            audioComponentStruct compo = getNextComponent(ref soundKindCounter, dualMonoFlag);

            this.componentType = new epgAudioComponentType(compo.type);
            this.esMultiFlag   = new epgAudioMultiLingul((this.componentType.IsDualMono() == true) ? 1 : 0);

            if (esNumber == 1)
            {
                this.mainFlag = new epgMainFlag(1);
            }
            else
            {
                this.mainFlag = new epgMainFlag(0);
            }

            this.quority = new epgAudioQuority(1);

            this.samplingRate = new epgAudioSamplingRate(((soundKindCounter % 2) == 1)?(5):(7));


            Int32 code = soundNameCounter % Enum.GetValues(typeof(AUDIOCODE)).Length;

            this.mainCode  = new epgAudioCode((Int32)(Enum.GetValues(typeof(AUDIOCODE))).GetValue(code));
            this.name.main = getAudoNameFromCode(this.mainCode.value, soundNameCounter);
            soundNameCounter++;
            if (compo.existSub != true)
            {
                this.subCode = null;
            }
            else
            {
                compo        = getNextComponent(ref soundKindCounter, dualMonoFlag);
                code         = soundNameCounter % Enum.GetValues(typeof(AUDIOCODE)).Length;
                this.subCode = new epgAudioCode((Int32)(Enum.GetValues(typeof(AUDIOCODE))).GetValue(code));
//                new epgAudioCode((epgAudioCode.AUDIOCODE)Enum.ToObject(typeof(epgAudioCode.AUDIOCODE), code));
                this.name.sub = getAudoNameFromCode(this.subCode.value, soundNameCounter);
                soundNameCounter++;
            }
            this.streamType = new epgAudioStreamType(0x0f);
            return(true);
        }
Exemple #10
0
        public outputFormatAudio(bool Force035 = false)
        {
            this.bForce035 = Force035;

            this.paramList     = new List <epgUnit>();
            this.tag           = new epgTag(0xc4);
            this.componentTag  = new epgAudioComponentTag(0x10);
            this.componentType = new epgAudioComponentType(3);
            this.esMultiFlag   = new epgAudioMultiLingul(0);
            this.mainFlag      = new epgMainFlag(1);
            this.quority       = new epgAudioQuority(2);
            this.samplingRate  = new epgAudioSamplingRate(5);
            this.mainCode      = new epgAudioCode(AUDIOCODE.JAPANESE);
            this.subCode       = null; // new epgAudioCode(0);
            this.name          = new epgAudioName("日本語");
            this.streamType    = new epgAudioStreamType(0x0f);
            this.simulGroup    = new epgAudioSimulGroup(-1);
        }
Exemple #11
0
        public outputFormatVideo(string type)
            : this()
        {
            string name = "HD映像";
            Int32  num  = 0xb3;

            if (type == "HD")
            {
                name = "HD";
                num  = 0xb3;
            }
            else // if (type == "SD")
            {
                name = "SD";
                num  = 1;
            }
            this.tag           = new epgTag(0x50);
            this.componentTag  = new epgVideoComponentTag(0);
            this.componentType = new epgVideoComponentType(num);
            this.videoType     = new epgVideoType(name);
        }