Пример #1
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>();
 }
Пример #2
0
        private void setType(Int32 type)
        {
            string name = "";

            switch (type)
            {
            case 1:
                name = "480i-4:3";
                break;

            case 3:
                name = "480i-16:9";
                break;

            case 4:
                name = "480i-16:9上";
                break;

            case 0xb1:
                name = "1080i-4:3";
                break;

            case 0xb3:
                name = "1080i-16:9";
                break;

            case 0xb4:
                name = "1080i-16:9上";
                break;

            case 0xe1:
                name = "1080p-4:3";
                break;

            case 0xe3:
                name = "1080p-16:9";
                break;

            case 0xe4:
                name = "1080p-16:9上";
                break;

            case 0x93:
                name = "2160p-16:9";
                break;

            default:
                type = 0xb3;
                name = "1080i-16:9";
                break;
            }
            this.componentType = new epgVideoComponentType(type);
            this.videoType     = new epgVideoType(name);
        }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="type">265/264</param>
 /// <param name="index"></param>
 public outputFormatVideo(int type, int index) : this()
 {
     if (type == 264)
     {
         this.componentType = new epgVideoComponentType(videoTypeAry264[index % videoTypeAry264.Count()]);
     }
     else
     {
         this.componentType = new epgVideoComponentType(videoTypeAry265[index % videoTypeAry265.Count()]);
     }
     setType(this.componentType.value);
 }
Пример #4
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);
        }