Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AE library properties not working on ISP element #198

Open
emmadrigal opened this issue Feb 24, 2022 · 1 comment
Open

AE library properties not working on ISP element #198

emmadrigal opened this issue Feb 24, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@emmadrigal
Copy link
Contributor

When trying to change these to something other than the default value the library appears to not work. For example, see the number of skipped frames, see the following pipelines:

  • ae-num-skip-frames=0
GST_DEBUG="*ti*:6" gst-launch-1.0 \
v4l2src device=/dev/video2 io-mode=5 ! "video/x-bayer, width=1920, height=1080, format=rggb, framerate=30/1" ! \
tiovxisp dcc-isp-file=/opt/imaging/imx219/dcc_viss.bin format-msb=7 \
sink_0::device=/dev/v4l-subdev2 sink_0::dcc-2a-file=/opt/imaging/imx219/dcc_2a.bin \
sink_0::ae-num-skip-frames=0 \
! kmssink
  • ae-num-skip-frames=1
GST_DEBUG="*ti*:6" gst-launch-1.0 \
v4l2src device=/dev/video2 io-mode=5 ! "video/x-bayer, width=1920, height=1080, format=rggb, framerate=30/1" ! \
tiovxisp dcc-isp-file=/opt/imaging/imx219/dcc_viss.bin format-msb=7 \
sink_0::device=/dev/v4l-subdev2 sink_0::dcc-2a-file=/opt/imaging/imx219/dcc_2a.bin \
sink_0::ae-num-skip-frames=1 \
! kmssink

On the second pipeline, the sensor_out_data that TI_2A_wrapper_process returns is always stuck to the same value. This also behaves the same for the awb-num-skip-frames

The feedback itself to the ISP node appears to work correctly since the image doesn't have a green tint like we had when the AE library wasn't integrated.

And when trying to use this with multiple cameras, if one has a num-skip-frames=0 and the other num-skip-frames=1, the one with a value of 1 has the incorrect behavior. This error is not only with 1, is with any value other than 0.

@emmadrigal emmadrigal added the bug Something isn't working label Feb 24, 2022
@ravi-rahul
Copy link
Collaborator

Hi @s-jain1

Please take a look at this

Regards
Rahul T R

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants