[FFmpeg-devel] GSoC Weekly Report (libswscale refactor)
bygrandao at gmail.com
Wed Jun 24 19:41:54 CEST 2015
I'm working on the libswscale refactoring and Michael advised me to send
the changes to the
mailing list so that I can get more feedback about it. Thus I added the
references  -  which
are links to commits on my github fork of FFmpeg.
Last week I wrote the horizontal chroma scaling (patches -) code and
spent some time
ensuring it passes all tests.
As we are approaching the midterm I'll also present my scheduling plans.
- Line pool allocator for SwsSlice
- Implement ring buffer logic into SwsSlice
- Implement horizontal scaling (refactor)
- Implement vertical scaling (refactor)
- Measure refactor performance/overhead
- Document new code
The horizontal scaling is already working. I did some tests and initially
the overhead of the new
code is ~3% (measured only in the modified scaling code) which should be
almost 0% for total
program time execution.
For the next week (or 2) I plan to implement the line pool allocator and
the ring buffer logic.
Besides the scheduling list, with the new scaling design I think it is
possible to remove the need
for cascade SwsContexts and also work on some kind of parallelization of
the scaling code. These I should work after finishing the scheduling.
More information about the ffmpeg-devel