Skip to content

Expose DISPLAYMATRIX side data #1249

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

Merged
merged 8 commits into from
Dec 20, 2023
Merged

Conversation

hyenal
Copy link
Contributor

@hyenal hyenal commented Dec 19, 2023

This PR allows users to get DISPLAYMATRIX side data as part of the video stream attribute

It solves this issue.

While SideData is only populated with DISPLAYMATRIX so far, one could easily add other side data in future PR and query them via _get_side_data.

All tests are passing locally

Sebastien Ehrhardt added 3 commits December 19, 2023 11:56
Add skeleton
moving on to test now


import c++ objects


remove some stuff


works 


final touches, need to implement others


add side data tests
@hyenal hyenal changed the title Add DISPLAYMATRIX side data Expose DISPLAYMATRIX side data Dec 19, 2023
Sebastien Ehrhardt added 2 commits December 19, 2023 13:41
@WyattBlue WyattBlue linked an issue Dec 20, 2023 that may be closed by this pull request
@WyattBlue
Copy link
Member

Looks good. I don't it makes sense to put a docstring on a internal method so removed it. I also removed using the SideData object in cdef code because it's slower than comparing the int directly.

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.

Feature request: Add side_data attribute to Stream
2 participants