Message ID | 20250711175345.90318-1-mzamazal@redhat.com |
---|---|
Headers | show |
Series |
|
Related | show |
On 11/07/2025 18:53, Milan Zamazal wrote: > This makes raw streams working again in ‘simple’ pipeline when software > ISP is enabled for the given device. At most one raw stream and one > processed stream (possibly both at once) are supported. > > An example ‘cam’ invocation requesting a raw stream rather than a debayered stream: > > cam -c1 -C8 -s role=raw,width=1920,height=1080 -Ffile#.raw > > Or for both raw and processed streams: > > cam -c1 -C8 -Ffile# \ > -s role=viewfinder,width=1920,height=1080,pixelformat=RGB888 \ > -s role=raw,width=3280,height=2464,pixelformat=SRGGB8 > > When only a raw stream is requested, there are no exposure/gain > adjustments applied. This could be improved in future, once software > ISP gets a mechanism to gather image statistics without processing and > using them to make the adjustments, or once manual exposure controls are > added to software ISP. In the meantime, exposure must be changed > externally. > > Tested-by: Kieran Bingham<kieran.bingham@ideasonboard.com> > Tested-by: Robert Mader<robert.mader@collabora.com> When I run this through qcam - I only get the one source to select from. Shouldn't it be that you get a dropdown of either raw or processed ? --- bod
Bryan O'Donoghue <bod.linux@nxsw.ie> writes: > On 11/07/2025 18:53, Milan Zamazal wrote: >> This makes raw streams working again in ‘simple’ pipeline when software >> ISP is enabled for the given device. At most one raw stream and one > >> processed stream (possibly both at once) are supported. >> An example ‘cam’ invocation requesting a raw stream rather than a debayered stream: >> cam -c1 -C8 -s role=raw,width=1920,height=1080 -Ffile#.raw >> Or for both raw and processed streams: >> cam -c1 -C8 -Ffile# \ >> -s role=viewfinder,width=1920,height=1080,pixelformat=RGB888 \ >> -s role=raw,width=3280,height=2464,pixelformat=SRGGB8 >> When only a raw stream is requested, there are no exposure/gain >> adjustments applied. This could be improved in future, once software >> ISP gets a mechanism to gather image statistics without processing and >> using them to make the adjustments, or once manual exposure controls are >> added to software ISP. In the meantime, exposure must be changed >> externally. >> Tested-by: Kieran Bingham<kieran.bingham@ideasonboard.com> >> Tested-by: Robert Mader<robert.mader@collabora.com> > > When I run this through qcam - I only get the one source to select from. > > Shouldn't it be that you get a dropdown of either raw or processed ? Do you mean when you use a qcam command line like the ones for cam above, it doesn't work? Regards, Milan
On 14/07/2025 09:46, Milan Zamazal wrote: > Bryan O'Donoghue <bod.linux@nxsw.ie> writes: > >> On 11/07/2025 18:53, Milan Zamazal wrote: >>> This makes raw streams working again in ‘simple’ pipeline when software >>> ISP is enabled for the given device. At most one raw stream and one >> >>> processed stream (possibly both at once) are supported. >>> An example ‘cam’ invocation requesting a raw stream rather than a debayered stream: >>> cam -c1 -C8 -s role=raw,width=1920,height=1080 -Ffile#.raw >>> Or for both raw and processed streams: >>> cam -c1 -C8 -Ffile# \ >>> -s role=viewfinder,width=1920,height=1080,pixelformat=RGB888 \ >>> -s role=raw,width=3280,height=2464,pixelformat=SRGGB8 >>> When only a raw stream is requested, there are no exposure/gain >>> adjustments applied. This could be improved in future, once software >>> ISP gets a mechanism to gather image statistics without processing and >>> using them to make the adjustments, or once manual exposure controls are >>> added to software ISP. In the meantime, exposure must be changed >>> externally. >>> Tested-by: Kieran Bingham<kieran.bingham@ideasonboard.com> >>> Tested-by: Robert Mader<robert.mader@collabora.com> >> >> When I run this through qcam - I only get the one source to select from. >> >> Shouldn't it be that you get a dropdown of either raw or processed ? > > Do you mean when you use a qcam command line like the ones for cam > above, it doesn't work? > > Regards, > Milan > I mean with the complex command line - shouldn't it list the available streams in the dropdown - processed v raw ? --- bod
On Mon, Jul 14, 2025 at 09:48:42AM +0100, Bryan O'Donoghue wrote: > On 14/07/2025 09:46, Milan Zamazal wrote: > > Bryan O'Donoghue <bod.linux@nxsw.ie> writes: > >> On 11/07/2025 18:53, Milan Zamazal wrote: > >>> This makes raw streams working again in ‘simple’ pipeline when software > >>> ISP is enabled for the given device. At most one raw stream and one > >> > >>> processed stream (possibly both at once) are supported. > >>> An example ‘cam’ invocation requesting a raw stream rather than a debayered stream: > >>> cam -c1 -C8 -s role=raw,width=1920,height=1080 -Ffile#.raw > >>> Or for both raw and processed streams: > >>> cam -c1 -C8 -Ffile# \ > >>> -s role=viewfinder,width=1920,height=1080,pixelformat=RGB888 \ > >>> -s role=raw,width=3280,height=2464,pixelformat=SRGGB8 > >>> When only a raw stream is requested, there are no exposure/gain > >>> adjustments applied. This could be improved in future, once software > >>> ISP gets a mechanism to gather image statistics without processing and > >>> using them to make the adjustments, or once manual exposure controls are > >>> added to software ISP. In the meantime, exposure must be changed > >>> externally. > >>> Tested-by: Kieran Bingham<kieran.bingham@ideasonboard.com> > >>> Tested-by: Robert Mader<robert.mader@collabora.com> > >> > >> When I run this through qcam - I only get the one source to select from. > >> > >> Shouldn't it be that you get a dropdown of either raw or processed ? > > > > Do you mean when you use a qcam command line like the ones for cam > > above, it doesn't work? > > I mean with the complex command line - shouldn't it list the available > streams in the dropdown - processed v raw ? The dropdown box selects the camera, not the format or stream.