libopencore_amrnb_encoder_deps="libopencore_amrnb"
libopencore_amrnb_encoder_select="audio_frame_queue"
libopencore_amrwb_decoder_deps="libopencore_amrwb"
+libopenh264_decoder_deps="libopenh264"
+libopenh264_decoder_select="h264_mp4toannexb_bsf"
libopenh264_encoder_deps="libopenh264"
libopenjpeg_decoder_deps="libopenjpeg"
libopenjpeg_encoder_deps="libopenjpeg"
sh4|sh)
arch="sh4"
;;
- sun4u|sparc*)
+ sun4*|sparc*)
arch="sparc"
;;
tilegx|tile-gx)
enable mips32r2
disable msa
;;
- p5600|i6400)
+ p5600|i6400|p6600)
disable mipsdsp
disable mipsdspr2
;;
enable mips64r6
check_cflags "-mtune=i6400 -mabi=64" && check_cflags "-msched-weight -mload-store-pairs -funroll-loops" && check_ldflags "-mabi=64"
;;
+ p6600)
+ enable mips64r6
+ check_cflags "-mtune=p6600 -mabi=64" && check_cflags "-msched-weight -mload-store-pairs -funroll-loops" && check_ldflags "-mabi=64"
+ ;;
esac
else
# We do not disable anything. Is up to the user to disable the unwanted features.
check_func ${malloc_prefix}posix_memalign && enable posix_memalign
check_func access
-check_func arc4random
+check_func_headers stdlib.h arc4random
check_func_headers time.h clock_gettime || { check_func_headers time.h clock_gettime -lrt && add_extralibs -lrt && LIBRT="-lrt"; }
check_func fcntl
check_func fork