Skip to content
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

Issue with rendering of frames in the world window that do not have the right yuv-subsampling format #1398

Open
euryalus opened this issue Nov 22, 2018 · 2 comments
Labels
plugin: video_source Issues and PRs related to video source plugins type: enhancement type: ui

Comments

@euryalus
Copy link
Contributor

In the gl_display method of Base_Source, it is not checked what uv-subsampling is used in frame.yuv_buffer. This can lead to problems in the world window, when the uv-subsampling is different than the one assumed in g_pool.image_tex.update_from_yuv_buffer (https://github.com/pupil-labs/pupil/blob/master/pupil_src/shared_modules/video_capture/base_backend.py#L87). This is e.g. the case when the frame's yuv_buffer was generated from an open-cv jpeg_buffer.

Either g_pool.image_tex.update_from_yuv_buffer also needs to get information on the uv-subsampling, or it explicitely could be a given a yuv_buffer with the right subsampling.

@papr
Copy link
Contributor

papr commented Nov 22, 2018

Yes, this is indeed a problem on which @pointcontrols has been working on already.

@pointcontrols
Copy link
Member

pointcontrols commented Nov 22, 2018 via email

@papr papr added plugin: video_source Issues and PRs related to video source plugins type: ui labels Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: video_source Issues and PRs related to video source plugins type: enhancement type: ui
Projects
None yet
Development

No branches or pull requests

4 participants