Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Conversation

@HlibKazakov2000
Copy link
Contributor

Fixes #1499

Description of the changes:

-Added a c++ template parameter to k4a::image::get_buffer() so that the pointer type returned can be easily controlled. There is a significant probability the image buffer doesn't contain 8-bit data, and a significant probability the caller needs a pointer other than uint8_t*. This is extremely common when interoperating with OpenCV

Before submitting a Pull Request:

I tested changes on:

  • Windows
  • Linux

@ghost
Copy link

ghost commented Mar 18, 2021

CLA assistant check
All CLA requirements met.

@HlibKazakov2000 HlibKazakov2000 requested a review from wes-b March 22, 2021 11:51
@HlibKazakov2000
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jaygullapalli
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add template param for pointer type to k4a::image::get_buffer()

3 participants