Home
last modified time | relevance | path

Searched hist:"0 adda4f68fd08e07ecd04df298e61974888e886a" (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVCodecDecoder.h0adda4f68fd08e07ecd04df298e61974888e886a Tue Jul 15 21:15:55 UTC 2014 Colin Günther <coling@gmx.de> FFMPEG plugin: Refactor video decoding function.

- Factor out the deinterlacing and color converting part to make the code more
readable. This makes it easier to understand which code belongs to the actual
decoding process and which code to the post processing.

- There seems to be no performance impact involved (I just looked at the spikes
of the process manager) in factoring out this part, but one can always inline
the method if a closer performance assesment (e.g. by enabling the profiling
the existing profiling code) suggests so.

- Document the _DecodeVideo() method a little bit. Maybe someone can document
the info parameter, as I'm a little bit clueless here.

- No functional change intended.

Signed-off-by: Colin Günther <coling@gmx.de>
(cherry picked from commit c5fa095fa73d47e75a46cfc138a56028fcc01819)
H A DAVCodecDecoder.cpp0adda4f68fd08e07ecd04df298e61974888e886a Tue Jul 15 21:15:55 UTC 2014 Colin Günther <coling@gmx.de> FFMPEG plugin: Refactor video decoding function.

- Factor out the deinterlacing and color converting part to make the code more
readable. This makes it easier to understand which code belongs to the actual
decoding process and which code to the post processing.

- There seems to be no performance impact involved (I just looked at the spikes
of the process manager) in factoring out this part, but one can always inline
the method if a closer performance assesment (e.g. by enabling the profiling
the existing profiling code) suggests so.

- Document the _DecodeVideo() method a little bit. Maybe someone can document
the info parameter, as I'm a little bit clueless here.

- No functional change intended.

Signed-off-by: Colin Günther <coling@gmx.de>
(cherry picked from commit c5fa095fa73d47e75a46cfc138a56028fcc01819)