You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: