文件名称:DCMI
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-09-23
- 文件大小:
- 136kb
- 下载次数:
- 0次
- 提 供 者:
- 张**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
只是把图片保存到SD卡,BMP格式.因是程序本来是把数据直接从DCMI DMA到LCD的,以获得流畅性,所以要保存的话得先通过RAM作过渡,不可能一边读摄像头数据一边保存至SD卡,肯定跟不上,而用RAM暂存的话,保存QVGA图片则需150K,为了节省RAM,我把LCD当作暂存存储器,拍照时停止DMA传送,并把LCD上的数据分行读回来再写到SD卡,加上BMP头即可,以后有空再弄个JPG编码保存的.由于不同驱动芯片的液晶屏,读回来的数据格式可能跟写进去的不同,像ILI932系列读出来的则是BGR565,需要转换,得注意一下.
-Just put the pictures saved to the SD card, BMP format. Because the program was originally the data directly from the DCMI DMA to the LCD in order to get smooth, so you want to save, then you must first by the RAM for the transition, it is impossible while reading camera data while saving to the SD card, and certainly can not keep up, but with the RAM buffer, then save the images you need QVGA 150K, in order to save RAM, I put the LCD as a temporary memory, DMA transfer is stopped to take pictures and put the data on branches read LCD come back to the SD card, plus head to BMP, JPG encoding after free and then get hold of the saved. due to different LCD driver chip to read back the data format may be followed by written into different series like ILI932 read out the is BGR565, need to convert, get attention.
-Just put the pictures saved to the SD card, BMP format. Because the program was originally the data directly from the DCMI DMA to the LCD in order to get smooth, so you want to save, then you must first by the RAM for the transition, it is impossible while reading camera data while saving to the SD card, and certainly can not keep up, but with the RAM buffer, then save the images you need QVGA 150K, in order to save RAM, I put the LCD as a temporary memory, DMA transfer is stopped to take pictures and put the data on branches read LCD come back to the SD card, plus head to BMP, JPG encoding after free and then get hold of the saved. due to different LCD driver chip to read back the data format may be followed by written into different series like ILI932 read out the is BGR565, need to convert, get attention.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DCMI相机\board\inc\delay.h
........\.....\...\fonts.h
........\.....\...\key.h
........\.....\...\lcd.h
........\.....\...\led.h
........\.....\...\mma7455.h
........\.....\...\ov7670.h
........\.....\...\sdio_sd.h
........\.....\...\spi.h
........\.....\...\timer.h
........\.....\...\touch.h
........\.....\...\usart.h
........\.....\src\delay.c
........\.....\...\key.c
........\.....\...\lcd.c
........\.....\...\led.c
........\.....\...\mma7455.c
........\.....\...\ov7670.c
........\.....\...\sdio_sd.c
........\.....\...\spi.c
........\.....\...\timer.c
........\.....\...\touch.c
........\.....\...\usart.c
........\inc\main.h
........\...\My_Camera.h
........\...\stm32f4xx_conf.h
........\...\stm32f4xx_it.h
........\proj\JLinkLog.txt
........\....\JLinkSettings.ini
........\....\startup_stm32f4xx.s
........\....\test.plg
........\....\test.uvgui.Administrator
........\....\test.uvgui_Administrator.bak
........\....\test.uvopt
........\....\test.uvproj
........\....\test_Target 1.dep
........\....\test_uvopt.bak
........\....\test_uvproj.bak
........\src\main.c
........\...\My_Camera.c
........\...\stm32f4xx_it.c
........\...\system_stm32f4xx.c
........\Third_Party\fat_fs\inc\diskio.h
........\...........\......\...\ff.h
........\...........\......\...\ffconf.h
........\...........\......\...\integer.h
........\...........\......\readme.txt
........\...........\......\src\diskio.c
........\...........\......\...\ff.c
........\...........\......\...\option\ccsbcs.c
........\...........\......\...\......\syncobj.c
........\...........\......\...\option
........\...........\......\inc
........\...........\......\src
........\board\inc
........\.....\src
........\proj\output
........\Third_Party\fat_fs
........\board
........\inc
........\proj
........\src
........\Third_Party
DCMI相机