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

Supplementary data #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

raphacan
Copy link
Contributor

test now running, one remaining issue with the test_util and dangling ref count in the test read-only param and child objects.
maybe it is worth to check it in combination with the copy/swap/move PR.

utils/include/enumstring.h Outdated Show resolved Hide resolved
utils/source/enumstring.c Outdated Show resolved Hide resolved
@lcweaver
Copy link
Contributor

lcweaver commented Apr 2, 2024

Is it possible to decouple this from the other PR? It makes it a bit difficult to isolate which issues are from this PR solely or within both PR's

@raphacan
Copy link
Contributor Author

@lcweaver & @jessegv : I rebased the supplementary branch to the latest of the copy,swap move, so that when this is merged, we can continue with this PR. If you want to see the supplementary additions, you should compare it to the swap/move branch:
raphacan/tiovx-bosch@swap-move-extension...raphacan:tiovx-bosch:supplementary_data

@florian: You could update the 9.2 branch with it.

include/TI/tivx_ext_suppl_data.h Outdated Show resolved Hide resolved
include/TI/tivx_supp_ref_data.h Outdated Show resolved Hide resolved
source/framework/vx_exemplar.c Outdated Show resolved Hide resolved
{
if (exemplar->img[i]->base.supplementary_data)
{
status = vxSetSupplementaryUserDataObject(&pmd->img[i]->base, exemplar->img[i]->base.supplementary_data);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this also need to be done similarly for other exemplars such as object array?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to check the supplementary data extension itself if we need to set the supplementary on the object array level. I don't think so because the objarray is only a container, only the objects contained inside have supplementary data.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Please let us know the results of your findings

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lcweaver
from the extension:
"Object Arrays
An object array (the container) may also have supplementary data, distinct from the data of the elements of the array. ...."

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. In that case, is it the case that we will need similar logic added to the object array exemplar function?

I would think so given that if the exemplar was created with different supplementary data on the object array vs the element of the object array, then the resulting objects would also need to be set in a similar manner

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you elaborate ? I do not understand your point.
to me, the obj array does neither inherit nor give its supplementary to the elements, they can have their own supplementary. So this is not similar to the pyramid.

include/TI/tivx_obj_desc.h Outdated Show resolved Hide resolved
source/framework/vx_reference.c Outdated Show resolved Hide resolved
source/framework/vx_user_data_object.c Outdated Show resolved Hide resolved
source/framework/vx_user_data_object.c Outdated Show resolved Hide resolved
source/framework/vx_user_data_object.c Outdated Show resolved Hide resolved
conformance_tests/test_tiovx/test_ext_supplementary_data.c Outdated Show resolved Hide resolved
include/TI/tivx_obj_desc.h Outdated Show resolved Hide resolved
source/framework/vx_obj_desc.c Outdated Show resolved Hide resolved
source/framework/vx_obj_desc.c Outdated Show resolved Hide resolved
source/framework/vx_node.c Outdated Show resolved Hide resolved
source/framework/vx_node.c Show resolved Hide resolved
source/include/vx_reference.h Outdated Show resolved Hide resolved
source/include/vx_reference.h Outdated Show resolved Hide resolved
source/vxu/vx_utility.c Outdated Show resolved Hide resolved
utils/include/enumstring.h Outdated Show resolved Hide resolved
utils/source/enumstring.c Outdated Show resolved Hide resolved
source/framework/vx_user_data_object.c Outdated Show resolved Hide resolved
@jessegv
Copy link
Contributor

jessegv commented Nov 12, 2024

It looks like Lucas and I have marked the conversations which we verified as fixed as "resolved". There are still several open not yet resolved.

include/TI/tivx_obj_desc.h Outdated Show resolved Hide resolved
include/TI/tivx_obj_desc.h Outdated Show resolved Hide resolved
source/framework/vx_node.c Outdated Show resolved Hide resolved
source/framework/vx_tensor.c Outdated Show resolved Hide resolved
source/framework/vx_exemplar.c Outdated Show resolved Hide resolved
conformance_tests/test_tiovx/test_ext_supplementary_data.c Outdated Show resolved Hide resolved
conformance_tests/test_tiovx/test_ext_supplementary_data.c Outdated Show resolved Hide resolved
conformance_tests/test_tiovx/test_ext_supplementary_data.c Outdated Show resolved Hide resolved
conformance_tests/test_tiovx/test_ext_supplementary_data.c Outdated Show resolved Hide resolved
conformance_tests/test_tiovx/test_ext_supplementary_data.c Outdated Show resolved Hide resolved
{
if (exemplar->img[i]->base.supplementary_data)
{
status = vxSetSupplementaryUserDataObject(&pmd->img[i]->base, exemplar->img[i]->base.supplementary_data);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. In that case, is it the case that we will need similar logic added to the object array exemplar function?

I would think so given that if the exemplar was created with different supplementary data on the object array vs the element of the object array, then the resulting objects would also need to be set in a similar manner

conformance_tests/test_tiovx/test_ext_supplementary_data.c Outdated Show resolved Hide resolved
include/TI/tivx_obj_desc.h Outdated Show resolved Hide resolved
conformance_tests/test_tiovx/test_ext_supplementary_data.c Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

3 participants