- 博客(12)
- 资源 (3)
- 收藏
- 关注
原创 framebuffer 一些基本知识
Horizontal回扫和Vertical回扫是CRT引入的概念,电子束从左向右画水平线,回到下一行行首继续下一行扫描,直到屏幕最下一行,然后回到屏幕上方继续下一帧扫描。水平回扫:电子束从上一行尾移动到下一行起始点需要的时间帧回扫:电子束从屏幕下方移动到屏幕上方所需的时间 CRT的刷新屏率是怎么计算的:假定显卡的dotclock是28.37516MHZ1. 那么每个点的扫描
2011-04-29 14:48:00 2565 1
翻译 v4l2_field理解
video的帧可区分为隔行和逐行: 逐行顺序的传输一帧所有的行,而隔行则把一帧划分成两个fields,分别保存帧的奇数行和偶数行,被称作奇场和偶场. 阴极射线电视机需要交替的显示两场来组成一个完整的帧,交替的时延需要我们交替的传输奇场和偶场。这个奇怪技术的引入是因为:在刷新率接近电影时,图片会消退的过快。使用奇偶场可以避免使用双倍的buffer以及额外的带宽需求。 首先要明确camera
2011-04-27 18:35:00 18090 4
原创 V4L2 camera 驱动 capture测试程序
在网上找了一个测试程序, 看了看,是根据capture.c修改的。测试步骤如下1. gcc -o capture_image capture_image.c2. ctrl+alt+f1 切换到ubuntu的控制台,切换到控制台模式是因为在图形模式下看不到测试图形,这可能和framebuffer的设置有关3. sudo modprobe vivi4. sudo ./capture_i
2011-04-20 16:07:00 10250 8
转载 Video4Linux2 part 7: Controls
<br />With the completion of part 6 ofthis series, we now know how to set up a video device and transferframes back and forth. It is a well known fact, however, that users can behard to please; not content with being able to see video from the
2011-04-14 15:17:00 1735
转载 Video4Linux2 part 6a: Basic frame I/O
This series of articles onvideo drivers has been through several installments, but we have yet to transfer a single frame of video data. Atthis point, though, we have covered enough of the format nego
2011-04-14 10:16:00 1507
转载 Video4Linux2 part 6b: Streaming I/O
The previous installment inthis series discussed how to transfer video frames with theread()and write() system calls. Such an implementation can get thebasic job done, but it is not normally the pre
2011-04-14 09:31:00 2405
转载 Video4Linux2 part 5b: format negotiation
This article is a continuation of the irregular LWN series on writing videodrivers for Linux. Theintroductory article describes theseries and contains pointers to the previous articles. Inthe last
2011-04-13 16:33:00 1060
转载 Video4Linux2 part 5a: colors and formats
This is the fifth article in the irregular LWN series on writing videodrivers for Linux. Those who have not yet readthe introductory article maywant to start there.Before any application can work
2011-04-13 15:59:00 1127
转载 Video4Linux2 part 4: inputs and outputs
This is the fourth article in the irregular LWN series on writing videodrivers for Linux. Those who have not yet readthe introductory article maywant to start there. This week's episode describes ho
2011-04-13 14:38:00 1141
转载 Video4Linux2 part 3: Basic ioctl() handling
Anybody who has spent any amount of time working through the Video4Linux2 APIspecification will have certainly noted that V4L2 makes heavy use oftheioctl() interface. Perhaps more than just about
2011-04-12 18:20:00 1115
转载 Video4Linux2 part 2: registration and open()
This is the second article in the LWN series on writing drivers for theVideo4Linux2 kernel interface; those who have not yet seenthe introductory article maywish to start there. This installment wil
2011-04-12 16:26:00 1331
转载 The Video4Linux2 API: an introduction
Your editor has recently had the opportunity to write a Linux driver for acamera device - the camera which will be packaged with the One Laptop PerChild system, in particular. This driver works with t
2011-04-12 16:09:00 1395
A COMPACT GUIDE TO LEX & YACC
2010-10-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人