[FFmpeg-devel] [PATCH 4/4] mpegaudio_tablegen: Don't use llrint

Derek Buitenhuis derek.buitenhuis at gmail.com
Wed Jan 16 02:36:05 CET 2013


On 15/01/2013 8:16 PM, Michael Niedermayer wrote:
> do these occur with pow() too or just powf() ?
> in powf the 1.0/3  is at a much lower precission compared to a ideal
> cbrtf()

$ diff -ur ./pre-patch/libavcodec/mpegaudio_tables.h ./powf-patch/libavcodec/mpegaudio_tables.h | diffstat
 mpegaudio_tables.h |10042 ++++++++++++++++++++++++++---------------------------
 1 file changed, 5021 insertions(+), 5021 deletions(-)

$ diff -ur ./pre-patch/libavcodec/mpegaudio_tables.h ./pow-patch/libavcodec/mpegaudio_tables.h | diffstat
 mpegaudio_tables.h |10348 ++++++++++++++++++++++++++---------------------------
 1 file changed, 5174 insertions(+), 5174 deletions(-)

$ diff -ur ./pre-patch/libavcodec/cbrt_tables.h ./powf-patch/libavcodec/cbrt_tables.h | diffstat
 cbrt_tables.h | 2046 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 1023 insertions(+), 1023 deletions(-)

$ diff -ur ./pre-patch/libavcodec/cbrt_tables.h ./pow-patch/libavcodec/cbrt_tables.h | diffstat
 cbrt_tables.h | 1858 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 929 insertions(+), 929 deletions(-)

- Derek


More information about the ffmpeg-devel mailing list