https://bugs.kde.org/show_bug.cgi?id=434506
--- Comment #34 from Harald Sitter <sit...@kde.org> ---
Git commit 1fe55de0df172829722bab864f05351f244c116e by Harald Sitter.
Committed on 23/03/2021 at 10:19.
Pushed by sitter into branch '0.11'.

stop using our helper function to calculate pitch and lines

the surface painter was more inefficient than it needed to be by
manually calculating a pitch and stride but then constructing a qimage
anyway. after some research it seems that we can simply construct our
qimage and pass its picture values to VLC with the assumption that VLC
will adjust the data as it gets passed into vmem output (i.e. our data
blob). this then also allow us to get rid of the intermediate plane
bytearray and simply use the memory the qimage allocates anyway.

M  +33   -15   src/video/videowidget.cpp

https://invent.kde.org/libraries/phonon-vlc/commit/1fe55de0df172829722bab864f05351f244c116e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to