Added the memory ing function for the 801-card linux driver.
Source: Internet
Author: User
Added the memory ing function for the 801-card linux driver-Linux general technology-Linux programming and kernel information. For details, see the following. The development of various types of monitoring cards in Windows is basically complete, and the only thing left is to wait until the release of the Code card is produced and then perform a test again. Then there should be no heavy work. So since January August, my focus has been on Linux again.
Today, we re-start the development of JVS-C801 card in Linux, the first is to further modify the driver, increased the identification of sub-devices and sub-manufacturers, in this way, different card models of the same chip will not be installed with the same driver. Then, we began to add mmap functions to drive our own, so that we can no longer use/dev/mem for memory ing, and no longer need to run the application with the root permission. At first, it was difficult to write mmap, so I read the memory ing chapter in ldd3 almost from start to end. It took nearly an hour, however, I did not expect it to be written quickly, but it will be completed after three, five, and two. Although it took a lot of time to read the article, I felt very valuable and further understood many linux memory management mechanisms.
In the future, the drive changes will not be very large, and even the changes will not be difficult. The rest of the work is to focus on improving and optimizing the codec.
Speaking of coding and decoding, we can't help but admire x264 developers. As an open-source project, we can consistently improve and upgrade this project, and the recent upgrade speed is getting faster and faster, and the software performance is getting stronger and stronger, it is really commendable that overseas developers have time and dedication to pay tribute to them!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.