本文分析FFmpeg的H.264解码器的熵解码(Entropy Decoding)部分的源代码。FFmpeg的H.264解码器调用decode_slice()函数完成了解码工作。这些解码工作可以大体上分为3个步骤:熵解码,宏块解码以及环路滤波。本文分析这3个步骤中的第1个步骤。...
分类:
其他好文 时间:
2015-04-18 17:43:54
阅读次数:
322
//解决由前台向后台传值中文乱码的问题encodeURI($("#xmjhbgFile").val())//前台JS中数据加码String fjmc = java.net.URLDecoder.decode(request .getParameter("fjmc"), "utf-8");//后台解码...
分类:
Web程序 时间:
2015-04-18 16:03:06
阅读次数:
257
概述github上开源项目uiautomator-unicode-input-helper,支持输入任何unicode编码的字符正常情况下,UiObject.setText( String) 只能接受ASCII码原理:使用Utf7IME后的过程,得到汉字的Unicode编码 -> decode成AS...
分类:
其他好文 时间:
2015-04-17 19:59:38
阅读次数:
599
$json="[{ 'i':100000, 'u':-1,n: '中国'},{i:100001,u:-1,n:'阿尔巴尼亚'},{i:100002,u:-1,n:'阿尔及利亚',}]";$json = preg_replace('/([{,:])(\s*)\'(.*?)\'/','$1"$3"...
分类:
Web程序 时间:
2015-04-17 17:12:40
阅读次数:
169
select decode(cmobileno,null,'',substr(cmobileno,1,3) || '****' || substr(cmobileno,length(cmobileno)-3,4)) CMOBILENO from TB_USER...
分类:
移动开发 时间:
2015-04-17 15:41:09
阅读次数:
189
找到报错的地方。在前一行加上: reload(sys) sys.setdefaultencoding('utf-8') 再运行就可以了。Python的字符串真的是麻烦啊。Bon Appetite~
分类:
编程语言 时间:
2015-04-17 13:44:28
阅读次数:
141
A message containing letters from A-Z is being encoded to numbers using the
following mapping:
'A' -> 1
'B' -> 2
...
'Z' -> 26
Given an encoded message containing digits, determine the total nu...
分类:
其他好文 时间:
2015-04-15 23:22:45
阅读次数:
212
problem:
A message containing letters from A-Z is
being encoded to numbers using the following mapping:
'A' -> 1
'B' -> 2
...
'Z' -> 26
Given an encoded message containing digits, de...
分类:
其他好文 时间:
2015-04-15 13:32:12
阅读次数:
158
本文分析FFmpeg的H.264解码器的主干部分。“主干部分”是相对于“熵解码”、“宏块解码”、“环路滤波”这些细节部分而言的。它包含了H.264解码器直到decode_slice()前面的函数调用关系(decode_slice()后面就是H.264解码器的细节部分,主要包含了“熵解码”、“宏块解码”、“环路滤波”3个部分)。...
分类:
其他好文 时间:
2015-04-14 16:42:14
阅读次数:
429
Keep in mind that there are two ways to deal with the LinkList very easily.1. Using the vector to store every item of the list, then we can use the in...
分类:
其他好文 时间:
2015-04-14 09:48:06
阅读次数:
141