Go to advanced search

by bilhew8078
Wed Jun 10, 2015 3:59 pm
Forum: Graphics programming
Topic: Multiple dispmanx layers and vertical sync
Replies: 5
Views: 2290

Re: Multiple dispmanx layers and vertical sync

Thank you both for your replies. Paeryn, my understanding is that the vc_dispmanx_update_submit_sync(update) is a blocking call that sleeps until the changes have been made in conjunction with vertical sync. There is a callback function (vc_dispmanx_vsync_callback) but, again, my understanding is th...
by bilhew8078
Tue Jun 09, 2015 10:50 pm
Forum: Graphics programming
Topic: Multiple dispmanx layers and vertical sync
Replies: 5
Views: 2290

Multiple dispmanx layers and vertical sync

I'm using dispmanx to create several (4) 1920x1080 layers that use changes to alpha to allow them to be seen or not seen. There is also an OpenMAX layer behind these layers decoding and rendering a 1920x1080 video. The alpha change is done within an update = vc_dispmanx_update_start(0) and vc_dispma...
by bilhew8078
Mon Apr 20, 2015 10:16 pm
Forum: OpenMAX
Topic: OpenMAX JPEG/PNG decoding issues
Replies: 7
Views: 7952

Re: OpenMAX JPEG/PNG decoding issues

Bryn, I've got an OpenMAX JPEG/PNG decoder working as well. Mine sets up a pipeline from the decoder to the video renderer - just like the hello_video example. I have also noticed issues with PNG files with height not divisible by 16. My issue now is PNG files with alpha transparency. They decode fi...
by bilhew8078
Mon Feb 23, 2015 12:46 am
Forum: Advanced users
Topic: RPI2 Issue with GPU threads
Replies: 6
Views: 2118

Re: RPI2 Issue with GPU threads

Thought I would update my previous posts - just in case someone else runs into this problem. 1) I already use gpu_mem=384 in my config.txt as I really load up the GPU. (but thanks for the thought) 2) I was able to duplicate this problem with the Raspbian version released for Pi 2 (and Pi 1 B+). It s...
by bilhew8078
Wed Feb 18, 2015 10:57 pm
Forum: Advanced users
Topic: RPI2 Issue with GPU threads
Replies: 6
Views: 2118

Re: RPI2 Issue with GPU threads

UPDATE: I built a test program under Raspbian on a RPI2 and it worked fine (running multiple threads decoding video and jpegs simultaneously). My problem must be with my Buildroot Linux configuration for the RPI2. Sorry for the "noise".
by bilhew8078
Wed Feb 18, 2015 5:46 pm
Forum: Advanced users
Topic: RPI2 Issue with GPU threads
Replies: 6
Views: 2118

RPI2 Issue with GPU threads

I have written an application that runs great on a RPI B+ but is not working properly on the RPI2. The program starts 3 threads: one decodes and plays a h264 video (eg Big Buck Bunny) on layer 0; the second decodes and displays a jpeg on layer 100; and the third decodes and displays another jpeg on ...
by bilhew8078
Wed Feb 18, 2015 5:25 pm
Forum: Advanced users
Topic: RPI2 - How to build a bootable Kernel with buildroot
Replies: 2
Views: 4514

Re: RPI2 - How to build a bootable Kernel with buildroot

There has been some activity on the Buildroot mailing list on this topic - check there. I have a defconfig for buildroot that works for the RPI2 but it is very specific to my embedded system so I think it will be more confusing than helpful. I found this person's site useful in figuring out what was...
by bilhew8078
Tue Mar 26, 2013 3:13 pm
Forum: Bare metal, Assembly language
Topic: VideoCore/EGL on a bare metal OS
Replies: 16
Views: 7939

Re: VideoCore/EGL on a bare metal OS

It was great to wake up to the replies from all of you this morning. I spent quite a bit of time last night sifting through much of the FreeBSD implementation and had pretty much come to the conclusion that threads were going to be required, so it was great to hear from jamesh that With regard to tr...
by bilhew8078
Mon Mar 25, 2013 11:44 pm
Forum: Bare metal, Assembly language
Topic: VideoCore/EGL on a bare metal OS
Replies: 16
Views: 7939

Re: VideoCore/EGL on a bare metal OS

Krom - Thanks for the reply. I'm actually trying to access the VC for the video decode/playback functions but your thread here seemed to be the closest to identifying the information gap for using the VC in non-linux ways. It looks to me that the mailbox system must have a lot more going on than is ...
by bilhew8078
Mon Mar 25, 2013 3:41 pm
Forum: Bare metal, Assembly language
Topic: VideoCore/EGL on a bare metal OS
Replies: 16
Views: 7939

Re: VideoCore/EGL on a bare metal OS

I am working on a bare metal (no OS) embedded project. I've been able to set up interrupts, timers, gpio/i2c, and uart0. Many thanks to the information posted by dwelch67 as this gave me a great start. I have been able to set up the frame buffer through the mailbox system as well. I am now at a poin...

Go to advanced search