Go to advanced search

by logician
Sat Oct 08, 2016 2:40 am
Forum: Camera board
Topic: Raw sensor access / CSI-2 receiver peripheral
Replies: 531
Views: 159892

Re: Raw sensor access / CSI-2 receiver peripheral

Hey 6by9,

You were right on. It was the frames flagged by MMAL_BUFFER_HEADER_FLAG_CODECSIDEINFO that contained my data. Thanks for the help!

-Juan
by logician
Fri Oct 07, 2016 11:04 pm
Forum: Camera board
Topic: Raw sensor access / CSI-2 receiver peripheral
Replies: 531
Views: 159892

Re: Raw sensor access / CSI-2 receiver peripheral

Hey 6by9, Thanks for the quick reply! The sensor I'm working with has an oddball 12 bit format that is not in the supported lists. I ended up using MMAL_ENCODING_RGB24, which would be 24 bits per pixel, and then cutting my line size in half. Does this encoding really matter since we are getting data...
by logician
Fri Oct 07, 2016 9:59 pm
Forum: Camera board
Topic: Raw sensor access / CSI-2 receiver peripheral
Replies: 531
Views: 159892

Re: Raw sensor access / CSI-2 receiver peripheral

I'm not having any luck with this. Has anyone succeeded to connect a different camera? I'm using an oddball CSI camera and trying to capture raw frames. I've modified raspiraw to spit out the i2c commands that I need. I see raspiraw trigger on each frame. However the buffers returned to the callback...
by logician
Wed Sep 07, 2016 5:37 pm
Forum: Camera board
Topic: dcraw support for raw images
Replies: 20
Views: 7437

Re: dcraw support for raw images

Ah, makes sense. Thanks for the quick reply! -Juan
by logician
Wed Sep 07, 2016 5:31 pm
Forum: Camera board
Topic: Raw sensor access / CSI-2 receiver peripheral
Replies: 531
Views: 159892

Re: Raw sensor access / CSI-2 receiver peripheral

Thanks @6by9 and others for this good work! My small contribution is this generalized camera_i2c script that supports all RPi including RPi3 and Zero:

> https://github.com/nilnullzip/userland/ ... camera_i2c

Thanks!
-Juan
by logician
Wed Sep 07, 2016 3:16 pm
Forum: Camera board
Topic: dcraw support for raw images
Replies: 20
Views: 7437

Re: dcraw support for raw images

Hey jbeale, Thanks for the reply! Seems there are two raspiraw programs. The one I'm referring to is this one written by @6by9: > https://github.com/6by9/userland/blob/rawcam/host_applications/linux/apps/raspicam/raspiraw.c > https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=109137&p=750285 It...
by logician
Sat Sep 03, 2016 5:35 am
Forum: Camera board
Topic: dcraw support for raw images
Replies: 20
Views: 7437

Re: dcraw support for raw images

Thanks for the great contributions here! I am having trouble getting dcraw to decode .raw files generated by raspiraw. It prints the following message: Cannot decode file raw0001.raw It has no problem decoding the raw content in a .jpeg created by raspistill. I compiled the dcraw from the code in th...

Go to advanced search