configure: Fix check_exec_crash for ICL support

Change the check_exec_crash test to use a function pointer instead of
simply calling the function. The EBP availability test will crash when
compiled with ICL likely due to compiler optimization shenanigans.

Originally the check_exec_crash code was moved out of main to fix a
problem with gcc's treatment of non-leaf main on x86_32. Libav already
moved the code out of main but the addition of the function pointer will
prevent any inlining which fixes the remaining problem.

A function pointer is used since it is compiler agnostic (as opposed to
say __attribute__ ((noinline)) which would only work with gcc compatible
compilers).

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
msvc/icl: Intel Compiler support on Windows

Initial support for the ICL compiler on windows. Requires a new
c99wrap with ICL support (1.0.2+).

Currently not much different speed wise compared to msvc. In the
future with a few changes it can be made to support the inline asm.
This would be the primary reason for using it.

Passed all fate tests, versions tested:
    13.1.1.171 (2013 Update 3) x86 and x64
    12.1.5.344 (2011 Update 11) x86 and x64

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
mpegvideo_enc: do not unreference frames before the code is done with them

Fixes Ticket2592

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit '9495cd170b5786c3518419e873d94eb5e7ada11a'

* commit '9495cd170b5786c3518419e873d94eb5e7ada11a':
  configure: Fix check_exec_crash for ICL support

Conflicts:
	configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  msvc/icl: Intel Compiler support on Windows

Conflicts:
	configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
doc/encoders: Add documentation for libmp3lame

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
av_d2q: Avoid llrint(), its not correctly implemented in old netbsd

This should fix some fate failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
av_cpu_count: factorize "detected %d logical cores" message

Also print the message just once

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavfi/noise: use av_image_copy_plane()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
matroska_read_seek: Fix used streams for subtitle index compensation

Might fix Ticket1907 (I have no testcase so i cant test)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
j2k: merge Jpeg2000CodingStyle from jpeg2000

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
j2kdec: prog_order reading from jpeg2000dec

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
j2k: rename a few inline functions and data tables to match jpeg2000

also inlcudes some other cosmetics

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
j2kdec: fix used bytestream function

Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavf/swf: remove unused assert include.
lavfi/bbox: use inlink->frame_count

Signed-off-by: Paul B Mahol <onemda@gmail.com>
lavfi/bbox: make min_val user configurable

Signed-off-by: Paul B Mahol <onemda@gmail.com>
lavfi/bbox: timeline support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
lavfi/bbox: export bbox info to frame metadata

Signed-off-by: Paul B Mahol <onemda@gmail.com>
fix scalarproduct_and_madd_int16_altivec() for orders > 16

the second and third sources were incremented only by half of the needed size