摘要: H.264/AVC reference frames and GOP GOP: group of I/P/B frames, the first frame in a GOP is I frame. there is only one I frame in a GOP. if there are B 阅读全文
posted @ 2017-07-15 20:08 aspirs 阅读(580) 评论(0) 推荐(0)
摘要: 图像灰度值的概念是什么?灰度也可以认为是亮度,简单说就是色彩的深浅程度。 实际上在我们的日常生活中,通过三原色色彩深浅的组合,可以组成各种不同的颜色。产品能够展现的灰度数量越多,也就意味着这款产品的色彩表现力更加丰富,能够实现更强的色彩层次。例如三原色16级灰度,能显示的颜色就是16×16×16=4 阅读全文
posted @ 2017-07-08 11:54 aspirs 阅读(771) 评论(0) 推荐(0)
摘要: 在我们的电视天线信号线里就只有两跟线,中间有一根很粗的线,外围包着一层的线,这是为了防止外界信号的干扰。在这两根线中一个是地线,一根是全电视信号线,外围的是地线。 做视频处理很难免要接触电视信号,了解全电视信号的原理。当我们把电视的信号线接到示波器上看其波形时会发现其波形很乱,但总是有一些规律可循: 阅读全文
posted @ 2017-07-08 11:36 aspirs 阅读(1118) 评论(0) 推荐(0)
摘要: notices for complex macro definition in C 1. space is prohibitted after the backslash(\) otherwise the below build error will be prompted: backslash a 阅读全文
posted @ 2017-07-04 16:01 aspirs 阅读(280) 评论(0) 推荐(0)
摘要: v1--单参数宏 这个版本的DRV_PRINT(x)只能输出单变量——纯字符串 不需要打印调试信息时,更改DRV_DEBUG宏定义 当然也可以直接这样定义 但是如果宏调用了多个参数: 产品代码中的#define DRV_PRINT(x)将编译错误! 怎么办?一种处女座肯定接受不了的做法,多加对括号 阅读全文
posted @ 2017-07-03 23:24 aspirs 阅读(596) 评论(0) 推荐(0)
摘要: customized print macro #define DEBUG_INFO(fmt, ...) printf(fmt, __VA_ARGS__) then you can use DEBUG_INFO() macro to print debug info like printf. exam 阅读全文
posted @ 2017-07-03 15:59 aspirs 阅读(356) 评论(0) 推荐(0)
摘要: 一、查看和修改Linux的时区 1. 查看当前时区 命令 : "date -R" 2. 修改设置Linux服务器时区 命令 : "tzselect" 命令 : "timeconfig" 命令 : "dpkg-reconfigure tzdata" 3. 复制相应的时区文件,替换系统时区文件;或者创建 阅读全文
posted @ 2017-06-26 21:21 aspirs 阅读(840) 评论(0) 推荐(0)
摘要: 1.查看指定时间的时间戳 查看当前时间 #date +%s 查看指定时间 #date -d 2008-01-01 +%s 1199116800 #date -d 20080101 +%s 1199116800 2.将时间戳转换成date #date -d '1970-01-01 UTC 119911 阅读全文
posted @ 2017-06-26 20:54 aspirs 阅读(215) 评论(0) 推荐(0)
摘要: Signaling and transmitting HbbTV applications are only allowed to run in the context of a DVB service (as an overlay on top of the service or using th 阅读全文
posted @ 2017-06-25 15:36 aspirs 阅读(272) 评论(0) 推荐(0)
摘要: 转自: http://blog.sina.com.cn/s/blog_5ea0192f0100vo15.html 更具体准确的信息请参考iso13818-1,都在里面定义的 PAT的定义:Table_id:为8bit字段,该字段标识节目关联分段,对于PAT,置为0x00。 Section_synta 阅读全文
posted @ 2017-05-24 11:13 aspirs 阅读(1329) 评论(0) 推荐(0)