Skip to content

gholamlooAli/410c_camera_support

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

410c camera image processing with gpu

This github originally was forked from D3 Engineering website and developed to evaluate the camera module for dragon board 410c and the capability of snapdragon 410 gpu .

To run the application go to opengles_capture folder and run the following command:

./capture -d /dev/video0 -s /dev/v4l-subdev10 for direct dump to memory mode

./capture -d /dev/video3 -s /dev/v4l-subdev10 for NV12 format mode

the following are the accepted keyword :

-h to print help

-e 0 for EGLImage zero memory copy or -e 1 for loading buffer to gpu memory, default is zero memory copy

-0 to define the desired display window_width, default for ddump is 960 and for egl 640

-1 to define the desired display window_height, default for ddump is 540 and for egl 480

-4 0 first copy image to frame buffer texture as rgb then render to display -4 1 for copy to display directly, default is frame buffer

while application is running press the following key for image processing:

press y to show only the y portion (luminance)

press u to show only the u portion (cb-chrominance)

press v to show only the v portion (cr-chrominance)

press r to show only the red color

press g to show only the green color

press b to show only the blue color

press c to show all colors

press s to apply soble filter for edge detection

press q to quit

for more details please review the wiki pages or email me:gholamlooali@gmail.com

About

To run the application go to opengles_capture folder

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 89.7%
  • GLSL 5.3%
  • Makefile 2.5%
  • Shell 2.5%