[FFmpeg-devel] [PATCH] avformat/dv: change dv audio format endianess to BE.

Александр Слободенюк alexander.slobodeniuk at bramtech.ru
Sun Nov 12 03:30:29 EET 2017


> Divisions should be avoided in the inner loops as they can be slow
done

> The commit message should explain this
done

That's  nothing  but the engineering issue: dv stores BE audio, and we're removing byteswap to
LE. It   seems   that  this  change  is  meaningless,  yes  it  is,
furthermore,   the  code  maybe looks  not  so  obvious  for  the  price  of
infinitesimal microoptimization (in my implementation, unlike in ffmbc).
In  fact  it just closes the FIXME comment in the code.
You're  welcome to refuse it, but note, that if you refuse the idea of
changing  audio endianess to BE in dv, then someone should remove that
FIXME comment "maybe we have to admit that DV is a big-endian PCM"
(in  this  case  the FIXME is closed too, we just answer "no,
we don't have to").
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avformat-dv-change-dv-audio-format-endianess-to-BE.patch
Type: application/octet-stream
Size: 8830 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171112/9a31257d/attachment.obj>


More information about the ffmpeg-devel mailing list