Skip to content

flexibity-team/v4l2-dmabuf-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

-----How to run:
This program has been proved can run on intel platform (with HD4000 graphics chips).

1. Install drm library on:
	http://cgit.freedesktop.org/mesa/drm/
   (If you use ubuntu, you can install libdrm-dev by apt)

2. Build the program by: 
	make

3. Run the program by:
	./run.sh
   (You can also change parameter passed to program)

4. Result:
	There is an issue of DMABUF. When the format is YUYV and resolution is (160, 120), it fails to read frame.
	(You can see in run.sh, if the command is "./dmabuf-sharing -M i915 -i /dev/video0 -S 160,120 -f YUYV -b 2",
	it fails. If the command is "./dmabuf-sharing -M i915 -i /dev/video0 -S 640,480 -f YUYV -b 2" or 
	"./dmabuf-sharing -M i915 -i /dev/video0 -S 160,120 -f MJPG -b 2", it works well.)

This program is based on Laurent Pinchart: http://www.mail-archive.com/linux-media@vger.kernel.org/msg54806.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.8%
  • Makefile 2.9%
  • Shell 1.3%