Index of /~baker/devices/projects/atuhua
Name Last modified Size Description
Parent Directory -
color.avi 21-Jun-2005 11:02 4.0M
framegrabber_final.ppt 20-Jun-2005 10:41 244K
grey.avi 21-Jun-2005 11:02 1.4M
hrt/ 18-Jun-2005 11:40 -
journal.htm 21-Jun-2005 11:07 10K
mail 20-Jun-2005 10:41 451K
main.gif 20-Jun-2005 10:42 92K
main.h1.gif 20-Jun-2005 10:42 92K
main.h2.jpg 20-Jun-2005 10:42 38K
main.h3.jpg 20-Jun-2005 10:42 11K
main.h4.jpg 20-Jun-2005 10:42 8.1K
main.jpg 20-Jun-2005 10:42 38K
main_002.jpg 20-Jun-2005 10:42 11K
main_003.jpg 20-Jun-2005 10:42 8.1K
Video Gala frame grabber device driver - Atulya / Sean
Pixel Smart
frame grabber device driver project
Linux
Kernel Programming - COP5641
Summer
2005
Florida State University
Project team : Atulya Mahajan,
Sean Toh
- mahajan at cs dot
fsu dot edu
- huanktoh at cs dot
fsu dot edu
Goals
Produce a device driver for the Pixel Smart
512-8 gray scale and
Video Gala color frame grabber devices.
Desired features
- Integrated support for color and grayscale
devices
- Support for dual ported and single ported
cards
- Support for interrupt driven I/O
- Streaming I/O
- Implementation of Video4Linux API support
Methodology
- Started from the bare bones driver provided by Dr Baker
- Initial changes to make the module stable
- Incorporated the support for color reads
- Incorporated streaming I/O from the device driver produced in summer 2003
- Added support for color streaming I/O
- Modified read/streaming functionality to work with the interrupt driven
cards
- Implemented support for Video4Linux 2 API
Journal
Achievements
We achieved almost all of our goals
- Streaming I/O
- Blocking Reads
- Interrupt driven I/O
- Support for V4L
- Support for color cards
- Improvements to the test program
- Additional feature - added one ioctl call to turn the image upside down.
In our case at least, we needed that one since our camera was mounted upside
down !!
Screen Shots
Grey Scale - 512 X
480

Color - 640 X 480

Video output
A video recording of the video display
produced by the driver ( using another camera to record our output !)
| Greyscale | Color |
 |
 |
Source tree
Our work consisted of two parts - a
device driver module, and a test program
The device driver code is in the hrt
directory
- hrt.c
- hrt.h
- Makefile
- README
The test program is called hrtdemo.
This is an updated version of the test program used by teams in earlier years
- hrtdemo.c
- hrtdemo.h.
- hrt.h
- Makefile
- README
Known Bugs
- Speed
issues: It is not yet perfect. Can be improved further
- Test
program crashes sometimes. Not repeatable. Source
not yet known
- Support
for video 4 Linux not completely implemented
yet
- Poor
quality of inverted mode display
Next Steps
- Optimization
of timing parameters to achieve higher frame rates
- Completion
of Video 4 Linux support
- Optimization
of the interrupt driven I/O
- Solve
known bugs/ Stabilize the module
- Improve
the test program
06/19/2005