Go to advanced search

by Electroozz
Wed Sep 27, 2017 9:38 am
Forum: C/C++
Topic: pthreads vs vcos_thread
Replies: 1
Views: 821

pthreads vs vcos_thread

Hi all, I was wondering what exactly the most important differences between pthreads and vcos_thread are? Of what I read, both live and run on the CPU, but the latter is specially designed for the RPi and its GPU communication. So, when doing only CPU processing either one of them could be used? Cou...
by Electroozz
Sat Sep 16, 2017 8:38 am
Forum: OpenGLES
Topic: Packing 4x 8bit EGL_IMAGE_BRCM_MULTIMEDIA_Y into 1x 32bit RBGA for shader processing
Replies: 1
Views: 1895

Re: Packing 4x 8bit EGL_IMAGE_BRCM_MULTIMEDIA_Y into 1x 32bit RBGA for shader processing

For others which may have similar question in the future: I was able to get in working by using a shader. #extension GL_OES_EGL_image_external : require uniform samplerExternalOES tex; uniform vec2 texelsize; varying vec2 texcoord; void main(void) { vec2 txc = texcoord txc.x = txc.x*4.0 vec4 col = v...
by Electroozz
Tue Sep 12, 2017 9:42 am
Forum: Camera board
Topic: MMAL_HEADER_T-callback handling in Raspi{vid,yuv,tex,still} examples
Replies: 1
Views: 499

Re: MMAL_HEADER_T-callback handling in Raspi{vid,yuv,tex,still} examples

Several experiments and tests down the road, I've currently arrived at this functioning configuration/setup: - async callback by MMAL to notify that an OPAQUE frame is captured. The callback is configured to listen to the video port. - mmal-queue (dubbed `opengl_queue`) to which the callback can pus...
by Electroozz
Mon Sep 11, 2017 11:57 am
Forum: OpenGLES
Topic: Packing 4x 8bit EGL_IMAGE_BRCM_MULTIMEDIA_Y into 1x 32bit RBGA for shader processing
Replies: 1
Views: 1895

Packing 4x 8bit EGL_IMAGE_BRCM_MULTIMEDIA_Y into 1x 32bit RBGA for shader processing

Hi all, For a project I've been working on developing a C++ library for (mmal) camera communication, including PWM/flash synchronisation and OpenGL support (https://github.com/HesselM/flashcam). Currently everything is running fine, but in my project I need to apply different shaders consecutively w...
by Electroozz
Wed Sep 06, 2017 9:12 am
Forum: Camera board
Topic: MMAL_HEADER_T-callback handling in Raspi{vid,yuv,tex,still} examples
Replies: 1
Views: 499

MMAL_HEADER_T-callback handling in Raspi{vid,yuv,tex,still} examples

Hi all, I've been toying around with the Raspi -vid, -yuv, -tex and -still utilities in order to get a grasp on all things happening such that I can reproduce it into a camera library suitable for my needs. During this process several questions marks arised regarding the release of MMAL_HEADER_T* bu...
by Electroozz
Wed Jun 28, 2017 10:05 am
Forum: Camera board
Topic: IMX219 rolling shutter effect severity
Replies: 18
Views: 6077

Re: IMX219 rolling shutter effect severity

Anyone who know how to enable 4 lane CSI-2? The RPi only supports 2-lanes, but the compute-module has 4-lane support. At least, that is stated in: https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=149610 https://www.raspberrypi.org/documentation/hardware/computemodule/RPI-CM-DATASHEET-V1_0.pdf
by Electroozz
Wed Jun 28, 2017 9:57 am
Forum: Camera board
Topic: IMX219 fps limits/benchmarks
Replies: 3
Views: 2099

Re: IMX219 fps limits

As it has been a while since I posted the initial findings, I was wondering if someone mentioned to think of an explanation for the found benchmarks? Or perhaps someone found an error in my computations?

Hessel.
by Electroozz
Thu Jun 01, 2017 12:05 pm
Forum: Camera board
Topic: IMX219 fps limits/benchmarks
Replies: 3
Views: 2099

IMX219 fps limits/benchmarks

Hi all, For a project I'm working on a pure C++ camera library with several additions dedicated for the project use ( https://github.com/HesselM/flashcam ). As I'm interested in the limits of the camera and ISP I've conducted several experiments, which do not seem to add up completely. Several topic...

Go to advanced search