| 1 | @@ -5105,11 +5105,10 @@ enabled libgsm && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do
|
|---|
| 2 | check_lib "${gsm_hdr}" gsm_create -lgsm && break;
|
|---|
| 3 | done || die "ERROR: libgsm not found"; }
|
|---|
| 4 | enabled libilbc && require libilbc ilbc.h WebRtcIlbcfix_InitDecode -lilbc
|
|---|
| 5 | enabled libmfx && require_pkg_config libmfx "mfx/mfxvideo.h" MFXInit
|
|---|
| 6 | enabled libmodplug && require_pkg_config libmodplug libmodplug/modplug.h ModPlug_Load
|
|---|
| 7 | -enabled libmp3lame && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame
|
|---|
| 8 | enabled libnut && require libnut libnut.h nut_demuxer_init -lnut
|
|---|
| 9 | enabled libopencore_amrnb && require libopencore_amrnb opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb
|
|---|
| 10 | enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb
|
|---|
| 11 | enabled libopencv && require_pkg_config opencv opencv/cxcore.h cvCreateImageHeader
|
|---|
| 12 | enabled libopenh264 && require_pkg_config openh264 wels/codec_api.h WelsGetCodecVersion
|
|---|
| 13 | @@ -5129,20 +5128,18 @@ enabled libsoxr && require libsoxr soxr.h soxr_create -lsoxr
|
|---|
| 14 | enabled libssh && require_pkg_config libssh libssh/sftp.h sftp_init
|
|---|
| 15 | enabled libspeex && require_pkg_config speex speex/speex.h speex_decoder_init -lspeex
|
|---|
| 16 | enabled libstagefright_h264 && require_cpp libstagefright_h264 "binder/ProcessState.h media/stagefright/MetaData.h
|
|---|
| 17 | media/stagefright/MediaBufferGroup.h media/stagefright/MediaDebug.h media/stagefright/MediaDefs.h
|
|---|
| 18 | media/stagefright/OMXClient.h media/stagefright/OMXCodec.h" android::OMXClient -lstagefright -lmedia -lutils -lbinder -lgnustl_static
|
|---|
| 19 | -enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg
|
|---|
| 20 | enabled libtwolame && require libtwolame twolame.h twolame_init -ltwolame &&
|
|---|
| 21 | { check_lib twolame.h twolame_encode_buffer_float32_interleaved -ltwolame ||
|
|---|
| 22 | die "ERROR: libtwolame must be installed and version must be >= 0.3.10"; }
|
|---|
| 23 | enabled libutvideo && require_cpp utvideo "stdint.h stdlib.h utvideo/utvideo.h utvideo/Codec.h" 'CCodec*' -lutvideo -lstdc++
|
|---|
| 24 | enabled libv4l2 && require_pkg_config libv4l2 libv4l2.h v4l2_ioctl
|
|---|
| 25 | enabled libvidstab && require_pkg_config "vidstab >= 0.98" vid.stab/libvidstab.h vsMotionDetectInit
|
|---|
| 26 | enabled libvo_aacenc && require libvo_aacenc vo-aacenc/voAAC.h voGetAACEncAPI -lvo-aacenc
|
|---|
| 27 | enabled libvo_amrwbenc && require libvo_amrwbenc vo-amrwbenc/enc_if.h E_IF_init -lvo-amrwbenc
|
|---|
| 28 | -enabled libvorbis && require libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbisenc -lvorbis -logg
|
|---|
| 29 | enabled libvpx && {
|
|---|
| 30 | enabled libvpx_vp8_decoder && { check_lib2 "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_dec_init_ver -lvpx ||
|
|---|
| 31 | die "ERROR: libvpx decoder version must be >=0.9.1"; }
|
|---|
| 32 | enabled libvpx_vp8_encoder && { check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_enc_init_ver VP8E_SET_MAX_INTRA_BITRATE_PCT" -lvpx ||
|
|---|
| 33 | die "ERROR: libvpx encoder version must be >=0.9.7"; }
|
|---|
| 34 | @@ -5150,20 +5147,11 @@ enabled libvpx && {
|
|---|
| 35 | enabled libvpx_vp9_encoder && { check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_vp9_cx VP9E_SET_AQ_MODE" -lvpx || disable libvpx_vp9_encoder; } }
|
|---|
| 36 | enabled libwavpack && require libwavpack wavpack/wavpack.h WavpackOpenFileOutput -lwavpack
|
|---|
| 37 | enabled libwebp && {
|
|---|
| 38 | enabled libwebp_encoder && require_pkg_config "libwebp >= 0.2.0" webp/encode.h WebPGetEncoderVersion
|
|---|
| 39 | enabled libwebp_anim_encoder && { use_pkg_config "libwebpmux >= 0.4.0" webp/mux.h WebPAnimEncoderOptionsInit || disable libwebp_anim_encoder; } }
|
|---|
| 40 | -enabled libx264 && { use_pkg_config x264 "stdint.h x264.h" x264_encoder_encode ||
|
|---|
| 41 | - { require libx264 x264.h x264_encoder_encode -lx264 &&
|
|---|
| 42 | - warn "using libx264 without pkg-config"; } } &&
|
|---|
| 43 | - { check_cpp_condition x264.h "X264_BUILD >= 118" ||
|
|---|
| 44 | - die "ERROR: libx264 must be installed and version must be >= 0.118."; }
|
|---|
| 45 | -enabled libx265 && require_pkg_config x265 x265.h x265_api_get &&
|
|---|
| 46 | - { check_cpp_condition x265.h "X265_BUILD >= 57" ||
|
|---|
| 47 | - die "ERROR: libx265 version must be >= 57."; }
|
|---|
| 48 | enabled libxavs && require libxavs xavs.h xavs_encoder_encode -lxavs
|
|---|
| 49 | -enabled libxvid && require libxvid xvid.h xvid_global -lxvidcore
|
|---|
| 50 | enabled libzmq && require_pkg_config libzmq zmq.h zmq_ctx_new
|
|---|
| 51 | enabled libzvbi && require libzvbi libzvbi.h vbi_decoder_new -lzvbi
|
|---|
| 52 | enabled mmal && { check_lib interface/mmal/mmal.h mmal_port_connect -lmmal_core -lmmal_util -lmmal_vc_client -lbcm_host ||
|
|---|
| 53 | { ! enabled cross_compile && {
|
|---|
| 54 | add_cflags -isystem/opt/vc/include/ -isystem/opt/vc/include/interface/vmcs_host/linux -isystem/opt/vc/include/interface/vcos/pthreads -fgnu89-inline ;
|
|---|
| 55 |
|
|---|