Skip to content

Conversation

@xlz
Copy link
Member

@xlz xlz commented Nov 22, 2015

Frame right now always allocates memory and there is no way to turn it off.

In the future, VT, VAAPI, and Tegra JPEG decoder, and CUDA processor all need to use custom memory allocators, and they will have to break ABI without this.

Example of how VT decoder changes it: https://github.com/OpenKinect/libfreenect2/pull/365/files#diff-7bd5995c21c16482ff1a19a27816180dL58

Frame allocates memory with new[] by default. Provide a way to not
do that.
@xlz xlz mentioned this pull request Nov 22, 2015
@RyanGordon
Copy link
Contributor

Just tested this on my MacBook Air and it compiles and runs well 👍

floe added a commit that referenced this pull request Nov 27, 2015
Forward ABI compatibility of Frame
@floe floe merged commit 67aad5a into OpenKinect:master Nov 27, 2015
@xlz xlz deleted the frame-api branch November 29, 2015 00:55
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