On 10/16/19 11:54 AM, Fabio Estevam wrote:
On Wed, Oct 16, 2019 at 2:31 PM Steve Longerbeam <slongerb...@gmail.com> wrote:

If /dev/video2 is the "ipu1_ic_prpvf capture" node, it's because FIM is
not yet available on those nodes. The FIM is only available on the
"ipuX_csiY capture" nodes. It's on my plate to fix that.
On a 5.3.6 kernel on imx6dl-sabreauto:

# v4l2-ctl --list-devices
imx-media (platform:imx-media):
         /dev/media0

imx-media-capture (platform:ipu1_csi0):
         /dev/video0

imx-media-capture (platform:ipu1_csi1):
         /dev/video3

FIM is available on the above nodes (/dev/video0 and /dev/video3), after enabling links to them. So please try:

# media-ctl -l "'ipu1_csi0':2 -> 'ipu1_csi0 capture':0[1]"
# v4l2-ctl -d0  --list-ctrls

# media-ctl -l "'ipu1_csi1':2 -> 'ipu1_csi1 capture':0[1]"
# v4l2-ctl -d3  --list-ctrls

Steve


imx-media-capture (platform:ipu1_ic_prpenc):
         /dev/video1

imx-media-capture (platform:ipu1_ic_prpvf):
         /dev/video2


# v4l2-ctl -d0  --list-ctrls
# v4l2-ctl -d1  --list-ctrls
# v4l2-ctl -d2  --list-ctrls

User Controls

                      brightness 0x00980900 (int)    : min=-128 max=127 step=1 
dr
                        contrast 0x00980901 (int)    : min=0 max=255 step=1 
defar
                      saturation 0x00980902 (int)    : min=0 max=255 step=1 
defar
                             hue 0x00980903 (int)    : min=-127 max=128 step=1 
dr
                 horizontal_flip 0x00980914 (bool)   : default=0 value=0
                   vertical_flip 0x00980915 (bool)   : default=0 value=0
                          rotate 0x00980922 (int)    : min=0 max=270 step=90 
deft
                  fast_switching 0x00981970 (bool)   : default=0 value=0

Image Processing Controls

              deinterlacing_mode 0x009f0904 (menu)   : min=0 max=3 default=3 
val3
# v4l2-ctl -d3  --list-ctrls
#

I cannot see the FIM controls appearing in any device here.

Anything I am missing?

Thanks

Reply via email to