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>(); }
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); }
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); }