Skip to content

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