摘要: MPEG-4 AVC and H.264 MPEG-4 AVC is MPEG-4 part 10, ISO/IEC 14496-10, and is technically identical to ITU H.264 standand. so H.264/MPEG-4 AVC is common 阅读全文
posted @ 2017-07-16 12:17 aspirs 阅读(353) 评论(0) 推荐(0)
摘要: MPEG-2 reference frames MPEG-2 video encode defines GOP which consists of several I/P/B frames: I frame: reference frame of P/B frame P frame: its ref 阅读全文
posted @ 2017-07-15 20:33 aspirs 阅读(712) 评论(0) 推荐(0)
摘要: 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 阅读(581) 评论(0) 推荐(0)
摘要: 图像灰度值的概念是什么?灰度也可以认为是亮度,简单说就是色彩的深浅程度。 实际上在我们的日常生活中,通过三原色色彩深浅的组合,可以组成各种不同的颜色。产品能够展现的灰度数量越多,也就意味着这款产品的色彩表现力更加丰富,能够实现更强的色彩层次。例如三原色16级灰度,能显示的颜色就是16×16×16=4 阅读全文
posted @ 2017-07-08 11:54 aspirs 阅读(776) 评论(0) 推荐(0)
摘要: 在我们的电视天线信号线里就只有两跟线,中间有一根很粗的线,外围包着一层的线,这是为了防止外界信号的干扰。在这两根线中一个是地线,一根是全电视信号线,外围的是地线。 做视频处理很难免要接触电视信号,了解全电视信号的原理。当我们把电视的信号线接到示波器上看其波形时会发现其波形很乱,但总是有一些规律可循: 阅读全文
posted @ 2017-07-08 11:36 aspirs 阅读(1125) 评论(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 阅读(282) 评论(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 阅读(357) 评论(0) 推荐(0)
摘要: 一、查看和修改Linux的时区 1. 查看当前时区 命令 : "date -R" 2. 修改设置Linux服务器时区 命令 : "tzselect" 命令 : "timeconfig" 命令 : "dpkg-reconfigure tzdata" 3. 复制相应的时区文件,替换系统时区文件;或者创建 阅读全文
posted @ 2017-06-26 21:21 aspirs 阅读(841) 评论(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 阅读(218) 评论(0) 推荐(0)