[FFmpeg-devel] [RFC] huffyuv usage

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jun 8 11:48:21 CEST 2014

On Fri, Jun 06, 2014 at 09:49:57PM +0200, Christophe Gisquet wrote:
> Hi,
> I have been working on improving huffyuv (a lossless video codec)
> decoding speed. I haven't checked 32bits system but on my system
> (Win64 core i5) the speedup was 15-20%.
> Now, I'm thinking of 2 further changes that require potentially format
> or behaviour change, so I'm wondering first how much huffyuv is used.
> 1) 4:2:0 content
> It's stored as NV12 yet output is 4:2:0 planar. It's faster to output
> NV12 and there may be benefits to users of the output (x264?). I guess
> it could be forced through a specific marker or requested output.
> Is it worth it at all? I don't expect more than 5% speedup from it.

Do you expect output to NV12 + conversion to planar by the application
to be significantly slower?
If not, I think regardless of speed concerns outputting to the native
decode format is preferred in general...

More information about the ffmpeg-devel mailing list