Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Implement "vc.ril.isp" component #47

Closed
techyian opened this issue Apr 16, 2018 · 5 comments
Closed

Implement "vc.ril.isp" component #47

techyian opened this issue Apr 16, 2018 · 5 comments
Assignees
Milestone

Comments

@techyian
Copy link
Owner

techyian commented Apr 16, 2018

As per the work 6by9 has done for raspiraw, there are two additional components available in later firmwares for accessing raw camera data directly from the CSI2 bus.

For reference see https://www.raspberrypi.org/forums/viewtopic.php?t=109137
https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=218458

For example app using these components see https://github.com/6by9/raspiraw/blob/a0d4c31d24531e9a5eafeb129ac194f05526cd31/raspiraw.c

@techyian techyian added this to the v0.4 milestone Apr 16, 2018
@techyian techyian self-assigned this Apr 16, 2018
@techyian techyian modified the milestones: v0.4, v0.5 Jun 23, 2018
@techyian techyian changed the title Implement vc.ril.rawcam and vc.ril.isp components Implement "vc.ril.rawcam" and "vc.ril.isp" components Jul 11, 2018
@techyian techyian modified the milestones: v0.5, v0.6 Nov 23, 2018
@techyian
Copy link
Owner Author

Check whether MMALSharp has a similar issue to what 6by9 has stated here. MMALSharp sets the array to 20 and is subsequently used in the GetSupportedEncodings method, unsure where I got that value from originally (possibly Picamera if that has recently been increased).

@techyian
Copy link
Owner Author

techyian commented Jan 3, 2020

For the rawcam functionality, the following native structures are used:

raspberrypi/userland@d0954df

techyian added a commit that referenced this issue Jan 31, 2020
techyian added a commit that referenced this issue Feb 10, 2020
@techyian techyian changed the title Implement "vc.ril.rawcam" and "vc.ril.isp" components Implement "vc.ril.isp" component Feb 18, 2020
@techyian
Copy link
Owner Author

Changing this ticket to track the ISP component. Rawcam component work tracked against #124 and being pushed back to later 0.7 release due to complexities involved.

@techyian
Copy link
Owner Author

techyian commented Mar 2, 2020

I am having issues getting the 2nd output port to call the native callback method. According to the API docs, there are two cases when port 362 will be disabled by MMAL:

  1. When port 362 is ran at a higher resolution than port 361.
  2. If no output buffer is available on port 362 when both an input buffer and
    port 361 output buffer are available.

During testing I've made sure port 362 is ran at a lower resolution, so I suspect it may be case 2 that's causing this issue. I am going to push v0.6 out bearing in mind this issue is present and raise a separate ticket to investigate for v0.7.

@techyian techyian closed this as completed Mar 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant