自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

烟台 嵌入式产品开发

嵌入式软/硬件设计 ARM/Linux FPGA

  • 博客(45)
  • 资源 (1)
  • 收藏
  • 关注

原创 Image Sensor vs Camera

CMOS图像传感器是最基础的部件,一般叫做Image Sensor,很小。摄像头是其他厂商在Image Sensor基础之上加上镜头控制电路接口协议等封装成的一个成品,例如USB摄像头,里面就是有一个Image Sensor,然后加一个USB接口协议处理器,将采集到的图像经过USB送出。手机上一般使用裸Image Sensor,因为小巧占用空间小。可以直接集成到电路板上,接到处理器上控

2015-04-30 10:44:21 1358

原创 驱动TFT要SDRAM做为显示缓存

驱动TFT要SDRAM做为显示缓存在驱动大屏TFT时,一屏的数据量很大,width*height*3 (RGB),所以需要的速度也是很快的。如果在显示一张图片,从Flash一边读取一边刷屏的话,肯定会慢,导致的效果就是刷屏慢,无法忍受。而如果先将Flash中的图片读取到SDRAM中,再使用DMA控制,将SDRAM中缓冲的图片数据,一次性送给TFT进行刷新显示则速度就很快了。对于一般

2015-04-30 10:11:55 4322

原创 LED恒流驱动芯片

2015-04-30 09:18:40 1005

原创 yuv420 还原为RGB图像

终于搞定了YUV420 Planar存储方式,先存储所有的Y,再存储所有的U,再存储所有的V,所以读取出来的数据分为三个平式数组tYData,tUData,tVData对于每一个像素点转换为RGB,需要从tYData中提取Y值,从tUData中提取U值,从tVData中提取V值,要注意U、V可是4个Y使用同一对。为了方便还原,我们将整个图像分为奇数行和偶数行,先进行奇数行的扫描

2015-04-29 17:30:38 1018

原创 YUV420只绘制Y通道

前段时间整个一个yuv文件,格式为352x240,YUV420格式的,即YYYYUUVV,准备使用Qt进行重绘显示。不知道为什么转换为RGB显示出来乱乱的,最近做只显示出Y通道的灰度图像,刚做成功。灰度图像即RGB三颜色是一样的,需要建立一个8位的256级的灰度索引表,用0~255表示颜色的深度。然后构建一个8位的QImage并设置它的颜色索引表,让它去颜色表中查颜色。Qt中的QI

2015-04-29 15:57:41 3219 1

原创 YUV420下各种格式的区别,老外写的

2015-04-29 15:24:46 597

原创 单纯的把Y通道提取出来能正确显示出灰度图来为什么我的Qt就显示不出来呢转换有问题呀?

QString tYUVFile("/home/shell.albert/project/H.264/football/fb001.yuv");    QFile tFile(tYUVFile);    if(!tFile.open(QIODevice::ReadOnly))    {            qDebug()            return;    }

2015-04-29 15:21:57 1946

原创 ffmpeg

./ffmpeg -devicesDevices: D. = Demuxing supported .E = Muxing supported -- DE alsa            ALSA audio output D  dv1394          DV1394 A/V grab DE fbdev           Linux framebuffer 

2015-04-29 13:24:05 2499

原创 yuv420 format

2015-04-28 16:41:40 1254

原创 yuv to rgb 转换失败呀。天呀。谁来帮帮我呀。

为了方便提取YUV数据,扫描一帧图像分1,3,5,7,9...........奇数行和0,2,4,6,8...偶数行。转换算法是从  http://www.fourcc.org/fccyvrgb.php 中找到,失败了呀!!!!!图像一看就不对,唉,搞了好几天了,谁来帮忙试一下呀。void MainWindow::paintEvent(QPaintEve

2015-04-28 16:35:31 515

原创 华为荣耀6

华为荣耀6发热严重呀,刚入手2天,国产机真心不行!

2015-04-28 16:12:08 1647

原创 yuv420 stream offset calculation

shell.albert@yantai:~/temporary/build-YUVPlayer-Desktop_Qt_5_3_GCC_64bit-Debug> ./YUVPlayerY: 84480U: 21120V: 21120Rest: 01,3,5,7:(1,0):0,0,01,3,5,7:(1,1):1,0,01,3,5,7:(1,2):2,1,11,3

2015-04-28 15:26:33 860

原创 Some collection resource about YUV420

2015-04-28 11:28:04 494

原创 QPainter draw yuv data

shell.albert@yantai:~/project/H.264/football>ls -l fb001.yuv-rw-r--r-- 1shell.albert users 126720 Feb 12 2002 fb001.yuv可以看出这一帧YUV的图像大小为126720字节,已经图像分辨率为352*240,则有Y平面大小为352*240=84480而根据YUV4

2015-04-28 11:22:10 1638

原创 yuv420

做视频采集与处理,自然少不了要学会分析YUV数据。因为从采集的角度来说,一般的视频采集芯片输出的码流一般都是YUV数据流的形式,而从视频处理(例如H.264、MPEG视频编解码)的角度来说,也是在原始YUV码流进行编码和解析,所以,了解如何分析YUV数据流对于做视频领域的人而言,至关重要。本文就是根据我的学习和了解,简单地介绍如何分析YUV数据流。    YUV,分为三个分量,“Y”表示明亮度

2015-04-27 15:58:05 701

原创 generate html code from QTableWidget with row and column span support

#include #include #include #include #include #include int main(int argc, char *argv[]){    QApplication a(argc, argv);    QTableWidget tTable;    tTable.setColumnCount(10);   

2015-04-27 15:23:56 462

原创 h264编码前必须要转换为yuv420p格式

2015-04-24 16:36:09 3973

原创 对一帧YUV进行H264编码

shell.albert@yantai:~/libx264> ./a.out  Example usage: example 352x288 output.h264shell.albert@yantai:~/libx264> ./a.out  352x240 fb001.264x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE

2015-04-24 16:23:28 2633 1

原创 yuv encode h264 test

原始图像shell.albert@yantai:~/project/H.264/football>ls -l fb001.yuv fb002.yuv fb003.yuv fb011.yuv fb012.yuv fb013.yuv-rw-r--r-- 1shell.albert users 126720 Feb 12 2002 fb001.yuv-rw-r--r-- 1shell.alb

2015-04-24 15:22:41 781

原创 libx264 api example

这个是libx264的使用例子,从标准输入读取YUV原始数据,需要知道分辨率,才能得知一帧需要读取多大,width*height,然后转换为h264编码压缩格式的,从标准输出输出。这里在命令行中使用了输入重定入 使用了输出重定向 >libx264test.264 将输出重写向到一个文件中。然后使用baofengyingyin直接播放这个h264文件,就可以播放出来。

2015-04-24 14:49:30 1215

原创 ffmpeg将yuv编码成h264数据量变小且可以使用暴风影音播放出来,很短一闪而过

2015-04-23 17:21:05 857

原创 yuv h264 avi WindowsMediaPlayer播放成功,虽然时间很短

shell.albert@yantai:~/project/H.264/ffmpeg-2.6.2-64bit-static> ./ffmpeg  -s cif -pix_fmt yuv420p -i 123.yuv  -vcodec libx264 -r 2  123.264ffmpeg version 2.6.2-   http://johnvansickle.com/ffmpeg/   

2015-04-23 17:14:31 2750

原创 使用ffmpeg将yuv编码成h264时有大小限制,太小的数据源编码会失败。

shell.albert@yantai:~/project/H.264/ffmpeg-2.6.2-64bit-static> ls -l fb001.h264-rw-r--r-- 1 shell.albert users 0 Apr 23 16:44 fb001.h264shell.albert@yantai:~/project/H.264/ffmpeg-2.6.2-64bit-sta

2015-04-23 16:52:28 9726 3

原创 软件借用RSA增加注册功能

openssl  rsautl -in hello.txt  -out hello.sign -inkey rsa_public_key.pem  -pubin  -signA private key is needed for this operation看来只能使用私钥进行签名。

2015-04-22 16:38:08 1592

原创 system performance test snapshot

2015-04-22 10:12:08 394

原创 pthread_sigmask test

#include #include #include pthread_t tid1,tid2,tid_sig;pthread_cond_t cond1,cond2;pthread_mutex_t mutex1,mutex2;unsigned int flag1,flag2;unsigned long thread1_sig_counter=0;unsigned

2015-04-22 09:16:33 343

原创 qt5 ftp client debug snapshot

2015-04-20 17:29:10 798

原创 RFC959 ftp upload file

#include#include#include#include#include#include#include #include#include#include #include #include int fileSize;int fileFd;char *pbuffer;int sendTotal;int sendedLen;

2015-04-20 15:09:30 498

原创 qt5 embeded compile

Running configuration tests...Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.Determining architecture... (

2015-04-16 09:28:08 4922 3

原创 arm qt5 x11 libxcb

2015-04-16 09:11:18 2573

原创 vsftpd ftp client ls command implementation source code

#include#include#include#include#include #include#include #include#includestruct sockaddr_in ftp_server;int sock_control;int sock_data;struct timeval outtime;int ret;char

2015-04-15 17:27:46 663

原创 vsftpd ftp client pwd implementation source code

#include#include#include#include#include #include#include #include#includestruct sockaddr_in ftp_server;int sock_control;int sock_data;struct timeval outtime;int ret;char r

2015-04-15 17:23:05 549

原创 store png image file in MySQL database

2015-04-15 10:31:35 523

原创 Insert a png picture to QTableWidgetItem

Search related resource and found the following method:

2015-04-15 10:30:30 519

原创 qt5 easy porting

2015-04-15 09:43:13 421

原创 cross compile qt5everywhere for arm CortexA8

shell.albert@yantai:~/oristar/qt-everywhere-opensource-src-5.3.2>./cross_compile.sh+ cd qtbase+/home/shell.albert/oristar/qt-everywhere-opensource-src-5.3.2/qtbase/configure-top-level -prefix /hom

2015-04-15 09:40:06 4005 1

原创 Qt5 import Excel data

#ifndef ZEXCELPARSER_H#define ZEXCELPARSER_H#include #include #include #include typedef struct{    QString ssID;    QString ssName;    QString ssVertical;    QString ssHorizont

2015-04-15 09:38:07 1545

原创 PMS Project MySQL related data

0        1        2        3        4        5        6        7        8        9        10        11        12        13        14        15        16        17  

2015-04-15 09:32:09 388

原创 libtool: link: warning: cannot determine absolute directory name of `=/home/

Hi,On 2011-09-29 13:03:48 +0200, Peter Kruse wrote:> Hello,> > The recently[1] added function `func_replace_sysroot' adds an '=' to a> given path.> But this path is then added to $depend

2015-04-13 16:55:07 3598

原创 mysql remote login withou password solved

1.On default,mysql's root remote access has no password.so we should set it in the following way:mysql -uroot -puse mysql;select Host,User,Password from users;Here we can see only the loca

2015-04-10 16:46:20 652

深入浅出gstreamer开发

深入浅出gstreamer开发 imx6 freescale 官方实例

2016-01-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除