Skip to content

Fix data size not getting set correctly on the second update in RawImgePlanarMetadata class #400

Description

@mohammedzakikochargi

Describe the bug
The issue occurred because nextPtrOffset was being initialized in the rawImagePlanarMetadata class when setting the data size for the first time. As a result, the condition checking if the value was the same as the declared value prevented the data size from being updated correctly on the second attempt.

To Reproduce

  1. Set the data size for the first time.
  2. Attempt to update the data size again.
  3. Observe that the value does not change as expected.

Expected behavior
Ensured that nextPtrOffset is handled correctly so that the data size can be updated multiple times

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. chrome, safari]
  • Cuda Version [e.g. 22]
  • Architecture [e.g. x86_64, arm64]

Additional context
Add any other context about the problem here.

Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Priority 1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions