亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? wss.java

?? 優秀的MPEG2-TS流分析軟件
?? JAVA
字號:
/*
 * @(#)WSS.java - mini info about WSS
 *
 * Copyright (c) 2004-2005 by dvb.matt, All Rights Reserved. 
 * 
 * This file is part of X, a free Java based demux utility.
 * X is intended for educational purposes only, as a non-commercial test project.
 * It may not be used otherwise. Most parts are only experimental.
 * 
 *
 * This program is free software; you can redistribute it free of charge
 * and/or modify it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

package net.sourceforge.dvb.projectx.video;

import net.sourceforge.dvb.projectx.common.Resource;


//DM30072004 introduced with 081.7 int07
public final class WSS
{
	private static int pixels[] = new int[267];
	private static int a;
	private static String str;

	private static String start = Resource.getString("wss.start");

	public WSS()
	{
		init(new int[0], 0);
	}

	public static void init(int source_pixels[], int width)
	{
		str = null;

		if (source_pixels.length < 200)
			return;

		scale(source_pixels, width);
	}

	public static String getWSS()
	{
		return str;
	}

	private static void scale(int source_pixels[], int width)
	{
		java.util.Arrays.fill(pixels, 0);

		int nx = 267;
		float fx = 0;
		float Xdecimate = width / (float)(nx);

		for (int x = 0; fx < width && x < nx; fx += Xdecimate, x++)
			pixels[x] = 0xFF & source_pixels[(int)fx]>>>16;

		a = 0;

		handlepixels("line 0 (23)");  // read out

		if (str == null)
		{
			fx = 0;

			for (int x = 0; fx < width && x < nx; fx += Xdecimate, x++)
				pixels[x] = 0xFF & source_pixels[width + (int)fx]>>>16;

			a = 0;

			handlepixels("line 1 (24)");  // read out
		}
	}

	private static void handlepixels(String _str)
	{
		str = "WSS status @ " + _str;
		str += ":<p>";

		if (getRunIn())
		{
			str += Resource.getString("wss.run_in") + " @ " + a + "<p>";
			a += 29;

			if (getStartCode())
			{
				str += Resource.getString("wss.startcode") + " @ " + a + "<p>";

				a += 24;

				str += Resource.getString("wss.group_1") + " " + start + " @ " + a + " :" + "<p>";
				str += " * " + getGroup1() + "<p>";

				a += 24;

				str += Resource.getString("wss.group_2") + " " + start + " @ " + a + " :" + "<p>";

				String[] group = getGroup2();

				for (int d=0; d < 4; d++) 
					str += " * " + group[d] + "<p>";

				a += 24;

				str += Resource.getString("wss.group_3") + " " + start + " @ " + a + " :" + "<p>";

				group = getGroup3();

				for (int d=0; d < 2; d++) 
					str += " * " + group[d] + "<p>";

				a += 18;

				str += Resource.getString("wss.group_4") + " " + start + " @ " + a + " :" + "<p>";

				group = getGroup4();

				for (int d=0; d < 2; d++) 
					str += " * " + group[d] + "<p>";

			}
			else
				str += Resource.getString("wss.no_startcode");
		}
		else
		{
			str += Resource.getString("wss.no_run_in");
			str = null;
		}

		a=0;
	}

	private static boolean getRunIn()
	{
	        for (; a < 30; a++)
			if (	pixels[a] > 120 
				&& pixels[a + 2] >= 120 
				&& pixels[a + 5] < 120
				&& pixels[a + 8] >= 120
				&& pixels[a + 11] < 120
				&& pixels[a + 14] >= 120
				&& pixels[a + 17] < 120
				&& pixels[a + 20] >= 120
				&& pixels[a + 23] < 120
				&& pixels[a + 26] >= 120 )
				return true;

		return false;
	}

	private static boolean getStartCode()
	{
		if (	pixels[a] < 120
			&& pixels[a + 3] >= 120
			&& pixels[a + 7] < 120
			&& pixels[a + 10] >= 120
			&& pixels[a + 14] < 120
			&& pixels[a + 19] >= 120 )
			return true;

        	return false;
	}

	private static String getGroup1()
	{
		int b1=0;

		for (int c=0; c < 8; c++) 
			b1 |= pixels[a + (3 * c)] < 120 ? 0 : (1<<(7 - c));

		switch (b1)
		{
		case 0x56: // 0001  Biphase 01010110
			return ("  " + Resource.getString("wss.group_1.0001"));

		case 0x95: // 1000  Biphase 10010101
			return ("  " + Resource.getString("wss.group_1.1000"));

		case 0x65: // 0100  Biphase 01100101
			return ("  " + Resource.getString("wss.group_1.0100"));

		case 0xA6: // 1101  Biphase 10100110
			return ("  " + Resource.getString("wss.group_1.1101"));

		case 0x59: // 0010  Biphase 01011001
			return ("  " + Resource.getString("wss.group_1.0010"));

		case 0x6A: // 0111  Biphase 01101010
			return ("  " + Resource.getString("wss.group_1.0111"));

		case 0xA9: // 1110  Biphase 10101001
			return ("  " + Resource.getString("wss.group_1.1110"));

		default:  
			return ("  " + Resource.getString("wss.group_1.error"));
		}
	}

	private static String[] getGroup2()
	{
		int b1=0;

		for (int c=0; c < 8; c++) 
			b1 |= pixels[a + (3 * c)] < 120 ? 0 : (1<<(7 - c));

		String[] group2 = new String[4];

		switch (b1>>>6)
		{
		case 1: // 0  Biphase 01
			group2[0]= "  " + Resource.getString("wss.group_2.0.01");
			break; 

		case 2: // 1  Biphase 10
			group2[0]= "  " + Resource.getString("wss.group_2.0.10"); 
			break;

		default:  
			group2[0]= "  " + Resource.getString("wss.group_2.0.00");
		}       

		switch (0x3 & (b1>>>4))
		{
		case 1: // 0  Biphase 01
			group2[1]= "  " + Resource.getString("wss.group_2.1.01"); 
			break;

		case 2: // 1  Biphase 10
			group2[1]= "  " + Resource.getString("wss.group_2.1.10"); 
			break;

		default:  
			group2[1]= "  " + Resource.getString("wss.group_2.1.00"); 
		}       

		switch (0x3 & (b1>>>2))
		{
		case 1:  // 0  Biphase 01
			group2[2]= "  " + Resource.getString("wss.group_2.2.01"); 
			break;

		case 2:  // 1  Biphase 10
			group2[2]= "  " + Resource.getString("wss.group_2.2.10"); 
			break;

		default:  
			group2[2]= "  " + Resource.getString("wss.group_2.2.00");
		}       

		switch (0x3 & b1)
		{
		case 1: // 0  Biphase 01
			group2[3]= "  " + Resource.getString("wss.group_2.3.01"); 
			break;

		case 2:  // 1  Biphase 10
			group2[3]= "  " + Resource.getString("wss.group_2.3.10"); 
			break;

		default:  
			group2[3]= "  " + Resource.getString("wss.group_2.3.00");
		}       

		return group2;
	}

	private static String[] getGroup3()
	{
		int b1 = 0;

		for (int c=0; c < 6; c++)
			b1 |= pixels[a + (3 * c)] < 120 ? 0 : (1<<(5 - c));

		String[] group2 = new String[2];

		switch (0x3 & (b1>>>4))
		{
		case 1: // 0  Biphase 01
			group2[0]= "  " + Resource.getString("wss.group_3.0.01"); 
			break;

		case 2: // 1  Biphase 10
			group2[0]= "  " + Resource.getString("wss.group_3.0.10"); 
			break;

		default:
			group2[0]= "  " + Resource.getString("wss.group_3.0.00");
		}       

		switch (0xF & b1)
		{
		case 5:  // 00  Biphase 0101
			group2[1]= "  " + Resource.getString("wss.group_3.1.00"); 
			break;

		case 6:  // 01  Biphase 0110
			group2[1]= "  " + Resource.getString("wss.group_3.1.01"); 
			break;

		case 9:  // 10  Biphase 1001
			group2[1]= "  " + Resource.getString("wss.group_3.1.10"); 
			break; 

		case 0xA:  // 11  Biphase 1010
			group2[1]= "  " + Resource.getString("wss.group_3.1.11"); 
			break;

		default: 
			group2[1]= "  " + Resource.getString("wss.group_3.1.err");
		}       

		return group2;
	}

	private static String[] getGroup4()
	{
		int b1 = 0;

		for (int c=0; c < 6; c++)
			b1 |= pixels[a + (3 * c)] < 120 ? 0 : (1<<(5 - c));

		String[] group2 = new String[2];

		switch (0x3 & (b1>>>4))
		{
		case 1:  // 0  Biphase 01
			group2[0]= "  " + Resource.getString("wss.group_4.0.01");
			break;

		case 2:  // 1  Biphase 10
			group2[0]= "  " + Resource.getString("wss.group_4.0.10");
			break;

		default:
			group2[0]= "  " + Resource.getString("wss.group_4.0.00");
		}       

		switch (0xF & b1)
		{
		case 5: // 00  Biphase 0101
			group2[1]= "  " + Resource.getString("wss.group_4.1.00");
			break;

		case 6: // 01  Biphase 0110
			group2[1]= "  " + Resource.getString("wss.group_4.1.01"); 
			break; 

		case 9:  // 10  Biphase 1001
			group2[1]= "  " + Resource.getString("wss.group_4.1.10"); 
			break;

		case 0xA:  // 11  Biphase 1010
			group2[1]= "  " + Resource.getString("wss.group_4.1.11"); 
			break;

		default:
			group2[1]= "  " + Resource.getString("wss.group_4.1.err");
		}       

		return group2;
	}
}

/***
 WSS
 takt = 200ns
 1 bit = 3*200ns = 600ns
 1NRZ bit = 2*3*200 = 1200ns

 864 bit auf 64000ns PAL  @ 13.5MHz  74.074   (864*15.625khz)
 320 bit auf 64000ns @  5MHz  200ns  

 = 74.074 ns / bit
 = 702 pix auf 52000ns
 = 720 pix auf 53333ns  = 266.666 bits bei 200ns/b
 142 + 20
 
 858 bit auf 63560ns NTSC @ 13.5MHz



**/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲在线视频网站| 国产欧美精品一区二区色综合 | 91亚洲精品一区二区乱码| 久久丁香综合五月国产三级网站| 午夜视频在线观看一区二区| 夜夜揉揉日日人人青青一国产精品| 亚洲欧洲一区二区在线播放| 国产精品国产自产拍高清av王其| 亚洲精品免费播放| 亚洲免费观看在线视频| 亚洲人成网站精品片在线观看| 中文字幕中文字幕一区| 自拍偷自拍亚洲精品播放| 亚洲天堂2014| 午夜精品国产更新| 免费成人av资源网| 国产精品一级二级三级| 99久久精品情趣| 色菇凉天天综合网| 911精品国产一区二区在线| 久久亚洲一区二区三区四区| 国产清纯在线一区二区www| 中文字幕中文字幕在线一区| 午夜av电影一区| 九九视频精品免费| 97超碰欧美中文字幕| 欧美精品777| 久久精品一区二区三区不卡| 中文字幕一区在线观看视频| 午夜精品福利久久久| 国产一区在线精品| 91丝袜国产在线播放| 91精品国产全国免费观看| 久久精品水蜜桃av综合天堂| 亚洲三级电影网站| 经典三级视频一区| 欧美熟乱第一页| 久久久精品国产99久久精品芒果| 一区二区三区欧美| 国产精品一区二区你懂的| 91久久国产综合久久| 久久久99精品免费观看不卡| 亚洲一二三级电影| 国产成人综合网站| 欧美一区永久视频免费观看| 欧美国产精品劲爆| 热久久国产精品| 一本大道av一区二区在线播放| 精品国产亚洲在线| 亚洲午夜日本在线观看| 国产成人夜色高潮福利影视| 欧美一卡在线观看| 亚洲欧洲另类国产综合| 国模一区二区三区白浆| 91精品欧美综合在线观看最新| 国产精品二三区| 国产一区二区三区免费观看| 在线不卡一区二区| 亚洲电影一区二区三区| 99久久婷婷国产综合精品 | 精品一区二区在线视频| 欧美三区在线视频| 伊人夜夜躁av伊人久久| 99久久精品国产一区二区三区| 欧美r级电影在线观看| 日韩和的一区二区| 欧美色窝79yyyycom| 亚洲精品五月天| 97se狠狠狠综合亚洲狠狠| 国产精品理论片在线观看| 国产suv精品一区二区883| 精品欧美黑人一区二区三区| 蜜桃久久久久久| 欧美一卡在线观看| 日韩黄色小视频| 欧美不卡一二三| 激情综合色综合久久综合| 日韩一区二区电影网| 精品在线你懂的| 久久久国产精品不卡| 国产酒店精品激情| 国产日韩精品一区二区三区| 国产sm精品调教视频网站| 国产精品国产自产拍高清av王其 | 日韩一区二区电影网| 久久91精品久久久久久秒播| 日韩美女视频一区二区在线观看| 久久国产人妖系列| 国产亚洲一区字幕| 色综合中文字幕| 亚洲动漫第一页| 欧美白人最猛性xxxxx69交| 国产一区二区在线免费观看| 国产亚洲欧美日韩在线一区| www.欧美日韩国产在线| 亚洲一区在线电影| 日韩视频免费观看高清完整版| 老司机午夜精品| 亚洲国产成人在线| 欧美中文字幕不卡| 久久99精品久久久久久动态图| 久久中文娱乐网| 91免费版pro下载短视频| 五月天国产精品| 久久精品人人爽人人爽| 91福利在线看| 国产主播一区二区三区| 成人免费视频在线观看| 制服.丝袜.亚洲.另类.中文| 国产成人亚洲综合a∨婷婷| 樱花影视一区二区| 久久久国际精品| 欧美日韩不卡一区| 成人高清视频免费观看| 日韩av不卡在线观看| 国产精品欧美综合在线| 欧美疯狂性受xxxxx喷水图片| 高清不卡一区二区| 免费高清不卡av| 亚洲婷婷综合久久一本伊一区 | 亚洲私人影院在线观看| 91精品国产品国语在线不卡| 成人v精品蜜桃久久一区| 午夜精品久久久久久久蜜桃app | 日本久久电影网| 韩国精品主播一区二区在线观看| 亚洲人吸女人奶水| 久久综合久久久久88| 日韩一级片网址| 欧美午夜一区二区| 99久久er热在这里只有精品15| 精品在线播放免费| 日本不卡视频一二三区| 亚洲天堂福利av| 亚洲国产高清不卡| 久久精品水蜜桃av综合天堂| 欧美一区二区三区在线| 欧美亚洲高清一区| 色综合欧美在线视频区| 99久久综合国产精品| 国产aⅴ精品一区二区三区色成熟| 日韩成人dvd| 天天综合色天天综合| 一区二区在线电影| ㊣最新国产の精品bt伙计久久| 久久精品一区二区三区不卡牛牛| 日韩免费看网站| 日韩欧美在线观看一区二区三区| 欧美日韩激情一区二区三区| 91福利精品视频| 日本精品视频一区二区三区| 91免费在线看| 色综合久久中文综合久久97| 91色乱码一区二区三区| 99精品在线免费| 色婷婷久久久久swag精品| 色婷婷综合视频在线观看| 色噜噜狠狠成人中文综合| 一本一道波多野结衣一区二区| 91理论电影在线观看| 日本高清不卡视频| 欧美一区二区三区性视频| 日韩你懂的在线观看| 国产亚洲成av人在线观看导航| 国产精品网站在线| 国产精品成人免费精品自在线观看| 国产视频一区不卡| 亚洲三级在线播放| 亚洲超碰97人人做人人爱| 奇米888四色在线精品| 激情图片小说一区| 成人免费看视频| 欧美亚洲自拍偷拍| 日韩欧美中文字幕制服| 国产日韩视频一区二区三区| 亚洲区小说区图片区qvod| 亚洲国产成人av| 精品一区二区三区蜜桃| 国产 欧美在线| 欧美在线免费播放| 久久婷婷综合激情| 日韩毛片高清在线播放| 婷婷开心激情综合| 成人高清av在线| 欧美日韩精品一区视频| 久久精品人人做| 婷婷久久综合九色综合伊人色| 国产精品66部| 欧美日韩综合不卡| 国产精品毛片a∨一区二区三区| 一区二区三区精品在线观看| 国产一区二区在线免费观看| 色噜噜久久综合| 国产亲近乱来精品视频| 日本在线不卡一区| 一本一道久久a久久精品综合蜜臀| 欧美成人官网二区| 香蕉久久夜色精品国产使用方法| 国产福利一区在线| 精品久久五月天|