Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-16 Thread Carl Eugen Hoyos
2017-03-10 6:26 GMT+01:00 Wang Bin : [...] Patch applied. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-13 Thread Paul B Mahol
On 3/13/17, Carl Eugen Hoyos wrote: > 2017-03-13 10:08 GMT+01:00 Paul B Mahol : >> On 3/13/17, Carl Eugen Hoyos wrote: >>> 2017-03-13 3:16 GMT+01:00 Wang Bin : How to benchmark codecs? >>> >>> You could benchmark running fate but I wonder why. >> >> So speed is not really important at all he

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-13 Thread Wang Bin
http://stackoverflow.com/questions/15548023/clang-optimization-levels -Oz disables -slp-vectorizer and -vectorize-loops ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-13 Thread Carl Eugen Hoyos
2017-03-13 10:08 GMT+01:00 Paul B Mahol : > On 3/13/17, Carl Eugen Hoyos wrote: >> 2017-03-13 3:16 GMT+01:00 Wang Bin : >>> How to benchmark codecs? >> >> You could benchmark running fate but I wonder why. > > So speed is not really important at all here. On the contrary! But assuming a user who

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-13 Thread Paul B Mahol
On 3/13/17, Carl Eugen Hoyos wrote: > 2017-03-13 3:16 GMT+01:00 Wang Bin : >> How to benchmark codecs? > > You could benchmark running fate but I wonder why. So speed is not really important at all here. But if it is libav merge than it suddenly is. What a double standards!

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-13 Thread Carl Eugen Hoyos
2017-03-13 3:16 GMT+01:00 Wang Bin : > How to benchmark codecs? You could benchmark running fate but I wonder why. > Here is my configuration and result size. The total size of -Oz > static or dynamic libraries is about 1M smaller. This seems to be sufficient reason to apply the patch, I can co

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-12 Thread Wang Bin
How to benchmark codecs? Here is my configuration and result size. The total size of -Oz static or dynamic libraries is about 1M smaller. configure --disable-debug --enable-shared --enable-runtime-cpudetect --enable-hwaccels --enable-avresample --disable-postproc --install_name_dir=@rpath --enabl

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-10 Thread James Almer
On 3/10/2017 12:43 PM, Paul B Mahol wrote: > On 3/10/17, James Almer wrote: >> On 3/10/2017 10:50 AM, Paul B Mahol wrote: >>> On 3/10/17, wm4 wrote: On Fri, 10 Mar 2017 13:47:38 +0100 Paul B Mahol wrote: > On 3/10/17, Wang Bin wrote: >> >> > > I don't think th

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-10 Thread Paul B Mahol
On 3/10/17, James Almer wrote: > On 3/10/2017 10:50 AM, Paul B Mahol wrote: >> On 3/10/17, wm4 wrote: >>> On Fri, 10 Mar 2017 13:47:38 +0100 >>> Paul B Mahol wrote: >>> On 3/10/17, Wang Bin wrote: > > I don't think this is good idea. >>> >>> Why not? >> >> Because it chan

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-10 Thread James Almer
On 3/10/2017 10:50 AM, Paul B Mahol wrote: > On 3/10/17, wm4 wrote: >> On Fri, 10 Mar 2017 13:47:38 +0100 >> Paul B Mahol wrote: >> >>> On 3/10/17, Wang Bin wrote: >>> >>> I don't think this is good idea. >> >> Why not? > > Because it changes something that was working before. The on

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-10 Thread wm4
On Fri, 10 Mar 2017 14:50:32 +0100 Paul B Mahol wrote: > On 3/10/17, wm4 wrote: > > On Fri, 10 Mar 2017 13:47:38 +0100 > > Paul B Mahol wrote: > > > >> On 3/10/17, Wang Bin wrote: > >> > > >> > > >> > >> I don't think this is good idea. > > > > Why not? > > Because it changes someth

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-10 Thread Paul B Mahol
On 3/10/17, wm4 wrote: > On Fri, 10 Mar 2017 13:47:38 +0100 > Paul B Mahol wrote: > >> On 3/10/17, Wang Bin wrote: >> > >> > >> >> I don't think this is good idea. > > Why not? Because it changes something that was working before. ___ ffmpeg-devel mai

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-10 Thread wm4
On Fri, 10 Mar 2017 13:47:38 +0100 Paul B Mahol wrote: > On 3/10/17, Wang Bin wrote: > > > > > > I don't think this is good idea. Why not? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-10 Thread Paul B Mahol
On 3/10/17, Wang Bin wrote: > > I don't think this is good idea. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] configure: clang -Oz for small size build to reduce size further

2017-03-09 Thread Wang Bin
0001-configure-clang-Oz-for-small-size-build-to-reduce-si.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel