niminthomas
Posts: 2
Joined: Thu Mar 20, 2014 7:09 am

usage of GPU in Raspberry pi

Thu Mar 20, 2014 7:29 am

How can I process video using the Videocore IV GPU in Raspberry pi?

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: usage of GPU in Raspberry pi

Thu Mar 20, 2014 8:42 am

Please define "process video".
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

shuckle
Posts: 565
Joined: Sun Aug 26, 2012 11:49 am
Location: Finland

Re: usage of GPU in Raspberry pi

Thu Mar 20, 2014 9:56 am

omxplayer uses GPU to display video.

niminthomas
Posts: 2
Joined: Thu Mar 20, 2014 7:09 am

Re: usage of GPU in Raspberry pi

Fri Mar 21, 2014 5:17 am

I need to detect the motion of a human being using a web camera, analyze it and move the camera according to his motion. When I've used the processor for the implementation of the algorithm, it lags. That's why, I've planned to use the dedicated GPU in the Pi.
How can I acces the GPU according to my use?

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: usage of GPU in Raspberry pi

Fri Mar 21, 2014 7:32 am

The only thing i found :
http://robotblogging.blogspot.de/2013/1 ... ng-on.html

Check the comments , especially those from Dom.

If this isn't useful for you , i guess your only remaining option is
to write custom GPU assembly , which will be very complicated.

First :
http://www.broadcom.com/support/
Check both links under "VideoCore Graphics Resources"

Second :
www.github.com/hermanhermitage/videocoreiv
Lots of information , code , and links (mostly based on
reverse engineering).

Look at all the resources and see for yourself which approach
makes the most sense for your application.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Return to “Advanced users”