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

tiovxisp: Number of exposures of four, fails as an invalid number #144

Open
dchvs99 opened this issue Nov 12, 2021 · 0 comments
Open

tiovxisp: Number of exposures of four, fails as an invalid number #144

dchvs99 opened this issue Nov 12, 2021 · 0 comments

Comments

@dchvs99
Copy link
Contributor

dchvs99 commented Nov 12, 2021

Using a number of exposures equal to 4 results invalid on the TIOVX side. According to the plugin this value is supported:

  num-exposures       : Number of exposures for the incoming raw image.
                        flags: readable, writable, controllable, changeable only in NULL or READY state
                        Integer. Range: 1 - 4 Default: 1 

Check the pipeline output:

GST_DEBUG=tiovxisp:3 gst-launch-1.0  filesrc location=/dev/zero blocksize=2071552 ! video/x-bayer,format=bggr,width=1156,height=448 ! tiovxisp name=tiovxisp dcc-isp-file=/dev/zero dcc-2a-file=/opt/imaging/imx390/dcc_2a.bin  sensor-dcc-id=390 num-exposures=4 tiovxisp.src_0 ! fakesink  
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
 21625.745992 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
 21625.746025 s:  VX_ZONE_INIT:Enabled
 21625.746033 s:  VX_ZONE_ERROR:Enabled
 21625.746042 s:  VX_ZONE_WARNING:Enabled
 21625.746523 s:  VX_ZONE_INIT:[tivxInitLocal:111] Initialization Done !!!
 21625.746696 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
 21625.750647 s:  VX_ZONE_ERROR:[ownIsValidCreateParams:61] invalid num_exposures
[VISS-MODULE] Unable to create input raw image! 
0:00:00.073433412  3073     0x1431a1e0 ERROR               tiovxisp gsttiovxisp.c:899:gst_tiovx_isp_init_module:<tiovxisp> Module init failed with error: -10
ERROR: from element /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp: Unable to init TIOVX module
Additional debug info:
../gst-libs/gst/tiovx/gsttiovxsimo.c(1037): gst_tiovx_simo_set_caps (): /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp
 21625.751268 s:  VX_ZONE_ERROR:[ownIsValidCreateParams:61] invalid num_exposures
[VISS-MODULE] Unable to create input raw image! 
0:00:00.073959226  3073     0x1431a1e0 ERROR               tiovxisp gsttiovxisp.c:899:gst_tiovx_isp_init_module:<tiovxisp> Module init failed with error: -10
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
 21625.751745 s:  VX_ZONE_ERROR:[ownIsValidCreateParams:61] invalid num_exposures
[VISS-MODULE] Unable to create input raw image! 
0:00:00.074429435  3073     0x1431a1e0 ERROR               tiovxisp gsttiovxisp.c:899:gst_tiovx_isp_init_module:<tiovxisp> Module init failed with error: -10
Freeing pipeline ...
 21625.752437 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff8d24c9e0 of type 00000816 at external count 1, internal count 0, releasing it
 21625.752450 s:  VX_ZONE_WARNING:[vxReleaseContext:1054] Unreleased reference name = user_data_object_97
 21625.752458 s:  VX_ZONE_WARNING:[vxReleaseContext:1056] Releasing reference now as a part of garbage collection
 21625.752506 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff8d24cc00 of type 00000816 at external count 1, internal count 0, releasing it
 21625.752516 s:  VX_ZONE_WARNING:[vxReleaseContext:1054] Unreleased reference name = user_data_object_98
 21625.752523 s:  VX_ZONE_WARNING:[vxReleaseContext:1056] Releasing reference now as a part of garbage collection
 21625.752549 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff8d2e6248 of type 00000813 at external count 1, internal count 0, releasing it
 21625.752558 s:  VX_ZONE_WARNING:[vxReleaseContext:1054] Unreleased reference name = object_array_99
 21625.752564 s:  VX_ZONE_WARNING:[vxReleaseContext:1056] Releasing reference now as a part of garbage collection
 21625.752576 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff8d24ce20 of type 00000816 at external count 1, internal count 0, releasing it
 21625.752584 s:  VX_ZONE_WARNING:[vxReleaseContext:1054] Unreleased reference name = user_data_object_100
 21625.752590 s:  VX_ZONE_WARNING:[vxReleaseContext:1056] Releasing reference now as a part of garbage collection
 21625.752614 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff8d24d040 of type 00000816 at external count 1, internal count 0, releasing it
 21625.752623 s:  VX_ZONE_WARNING:[vxReleaseContext:1054] Unreleased reference name = user_data_object_101
 21625.752630 s:  VX_ZONE_WARNING:[vxReleaseContext:1056] Releasing reference now as a part of garbage collection
 21625.752653 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff8d2e63e8 of type 00000813 at external count 1, internal count 0, releasing it
 21625.752661 s:  VX_ZONE_WARNING:[vxReleaseContext:1054] Unreleased reference name = object_array_102
 21625.752668 s:  VX_ZONE_WARNING:[vxReleaseContext:1056] Releasing reference now as a part of garbage collection
 21625.752679 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff8d24d260 of type 00000816 at external count 1, internal count 0, releasing it
 21625.752686 s:  VX_ZONE_WARNING:[vxReleaseContext:1054] Unreleased reference name = user_data_object_103
 21625.752692 s:  VX_ZONE_WARNING:[vxReleaseContext:1056] Releasing reference now as a part of garbage collection
 21625.752715 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff8d2e6588 of type 00000813 at external count 1, internal count 0, releasing it
 21625.752723 s:  VX_ZONE_WARNING:[vxReleaseContext:1054] Unreleased reference name = object_array_105
 21625.752730 s:  VX_ZONE_WARNING:[vxReleaseContext:1056] Releasing reference now as a part of garbage collection
 21625.752741 s:  VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff8d24d6a0 of type 00000816 at external count 1, internal count 0, releasing it
 21625.752748 s:  VX_ZONE_WARNING:[vxReleaseContext:1054] Unreleased reference name = user_data_object_106
 21625.752754 s:  VX_ZONE_WARNING:[vxReleaseContext:1056] Releasing reference now as a part of garbage collection
 21625.752797 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:100] De-Initialization Done for HOST !!!
 21625.757124 s:  VX_ZONE_INIT:[tivxDeInitLocal:155] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
MEM: Alloc's: 9 alloc's of 684 bytes 
MEM: Free's : 9 free's  of 684 bytes 
MEM: Open's : 0 allocs  of 0 bytes 
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant