summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: Add librav1e encoderDerek Buitenhuis2019-11-101-0/+5
| | | | | | Port to the new send/receive API by: James Almer <jamrial@gmail.com>. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* configure: select missing rdft for several filtersLou Logan2019-11-081-1/+4
| | | | | | | | | afir, sinc, superequalizer, surround For afir fft is replaced with rdft as: rdft_select="fft" Signed-off-by: Lou Logan <lou@lrcd.com>
* avfilter/vf_dnn_processing: add a generic filter for image proccessing with ↵Guo, Yejun2019-11-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dnn networks This filter accepts all the dnn networks which do image processing. Currently, frame with formats rgb24 and bgr24 are supported. Other formats such as gray and YUV will be supported next. The dnn network can accept data in float32 or uint8 format. And the dnn network can change frame size. The following is a python script to halve the value of the first channel of the pixel. It demos how to setup and execute dnn model with python+tensorflow. It also generates .pb file which will be used by ffmpeg. import tensorflow as tf import numpy as np import imageio in_img = imageio.imread('in.bmp') in_img = in_img.astype(np.float32)/255.0 in_data = in_img[np.newaxis, :] filter_data = np.array([0.5, 0, 0, 0, 1., 0, 0, 0, 1.]).reshape(1,1,3,3).astype(np.float32) filter = tf.Variable(filter_data) x = tf.placeholder(tf.float32, shape=[1, None, None, 3], name='dnn_in') y = tf.nn.conv2d(x, filter, strides=[1, 1, 1, 1], padding='VALID', name='dnn_out') sess=tf.Session() sess.run(tf.global_variables_initializer()) output = sess.run(y, feed_dict={x: in_data}) graph_def = tf.graph_util.convert_variables_to_constants(sess, sess.graph_def, ['dnn_out']) tf.train.write_graph(graph_def, '.', 'halve_first_channel.pb', as_text=False) output = output * 255.0 output = output.astype(np.uint8) imageio.imsave("out.bmp", np.squeeze(output)) To do the same thing with ffmpeg: - generate halve_first_channel.pb with the above script - generate halve_first_channel.model with tools/python/convert.py - try with following commands ./ffmpeg -i input.jpg -vf dnn_processing=model=halve_first_channel.model:input=dnn_in:output=dnn_out:fmt=rgb24:dnn_backend=native -y out.native.png ./ffmpeg -i input.jpg -vf dnn_processing=model=halve_first_channel.pb:input=dnn_in:output=dnn_out:fmt=rgb24:dnn_backend=tensorflow -y out.tf.png Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* configure: select mdct for dca encoderLou Logan2019-11-061-0/+1
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select bswapdsp for ylc decoderLou Logan2019-11-051-0/+1
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select fft for qdmc decoderLou Logan2019-11-051-0/+1
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select bswapdsp for mdec decoderLou Logan2019-11-051-1/+1
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select bswapdsp for imm4 decoderLou Logan2019-11-051-0/+1
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select audiodsp for acelp_kelvin decoderLou Logan2019-11-041-0/+1
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select mdct for atrac3al decoderLou Logan2019-11-041-0/+1
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select mdct & sinewin for atrac3pal decoderLou Logan2019-11-041-0/+1
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select riffdec for act demuxerLou Logan2019-11-041-0/+1
| | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
* configure: select jpegtables for rtp muxerLou Logan2019-11-041-1/+1
| | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
* lavc/qsvenc: enable vp9 encoderZhong Li2019-11-031-0/+6
| | | | | | | | | | 1. must enable low_power mode since just VDENC can be supported by iHD driver right now 2. Coding option1 and extra_data are not supported by MSDK 3. IVF header will be inserted in MSDK by default, but it is not needed for FFmpeg, so disable it. Signed-off-by: Zhong Li <zhongli_dev@126.com>
* configure: fix standalone compilation of mxf muxerLou Logan2019-10-301-0/+1
| | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Add support for VP9 VDPAU hwaccel decodeManojGuptaBonda2019-10-261-0/+3
| | | | | | | | | | | | | | | Support for VDPAU accelerated VP9 decoding was added with libvdpau-1.3. Support for the same in ffmpeg is added with this patch. Profiles related to VDPAU VP9 can be found in latest vdpau.h present in libvdpau-1.3. DRC clips are not supported yet due to http://trac.ffmpeg.org/ticket/8068 Add VP9 VDPAU to list of hwaccels and supported formats Added file vdpau_vp9.c and Modified configure to add VDPAU VP9 support. Mapped VP9 profiles to VDPAU VP9 profiles. Populated the codec specific params that need to be passed to VDPAU. Signed-off-by: Philip Langdale <philipl@overt.org>
* configure: check for a sufficiently recent enough AMF versionHendrik Leppkes2019-09-091-1/+1
| | | | | | | | Due to the recent addition of Vulkan support to AMF, we require more recent headers that include the new structures, which have been available since AMF 1.4.9 released in September 2018. Fixes Ticket #8125
* configure: fix --disable-v4l2-m2m can't workJun Zhao2019-09-051-13/+15
| | | | | | | Use the command ./configure with/without --disable-v4l2-m2m test. Reviewed-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* configure: fix --disable-alsa can't workJun Zhao2019-09-051-2/+2
| | | | | | fix --disable-alsa can't work in configure Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* configure: ensure --enable-omx-rpi uses rpi-specific IL headersAman Gupta2019-09-031-3/+6
| | | | | | | | | | | | When compiling natively on an RPI where libomxil-bellagio-dev was also installed, `check_headers OMX_Core.h` succeeded and the -isystem compiler flag was never added to the build. For non-native builds, the error message now mentions the raspberrypi/firmware repository where the RPI specific headers are available. Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat: Add ZeroMQ as a protocolAndriy Gelman2019-09-021-1/+3
| | | | | | | | | When ffmpeg was streaming, multiple clients were only supported by using a multicast destination address. An alternative was to stream to a server which re-distributes the content. This commit adds ZeroMQ as a protocol, which allows multiple clients to connect to a single ffmpeg instance. Signed-off-by: Marton Balint <cus@passwd.hu>
* configure: Update libmysofa check with a new symbol.Andrey Semashev2019-09-021-2/+2
| | | | | | | | The current code in libavfilter/af_sofalizer.c requires mysofa_neighborhood_init_withstepdefine function, which only appeared in libmysofa 0.7. Use this function in configure script to bail out early if a too old libmysofa is found in the system instead of failing at compile time.
* lavc/tiff: Decode embedded JPEGs in DNG imagesNick Renieris2019-09-021-0/+1
| | | | | | | | | | | | | | | | Used a technique similar to lavc/tdsc.c for invoking the MJPEG decoder. This commit adds support for: - DNG tiles - DNG tile huffman lossless JPEG decoding - DNG 8-bpp ("packed" as dcraw calls it) decoding - DNG color scaling [1] - LinearizationTable tag - BlackLevel tag [1]: As specified in the DNG Specification - Chapter 5 Signed-off-by: Nick Renieris <velocityra@gmail.com>
* avcodec: add IMM5 decoderPaul B Mahol2019-08-291-0/+1
|
* configure: fix --enable-omx compile on raspberry piAman Gupta2019-08-291-1/+1
| | | | | | | | | | | | | | | | | | | Many ffmpeg + rpi compilation guides on the internet recommend using `./configure --enable-omx --enable-omx-rpi`. This fails to find the IL OMX headers on device because the omx require_headers check happens first before the add_cflags in omx_rpi. A workaround is to use `./configure --enable-omx-rpi` only, since omx_rpi already implies omx. But because many users expect to use existing scripts and commands, we swap the order here so omx_rpi special cases are applied first. In the past this wasn't an issue because users noticed the OMX_Core.h missing error and installed libomxil-bellagio-dev. But since 76c82843ccad1, the rpi specific headers from /opt/vc/include/IL are required. Signed-off-by: Aman Gupta <aman@tmm1.net>
* lavfi: add deshake_opencl filterJarek Samic2019-08-231-0/+1
|
* lavc/qsvdec: Add VP9 decoder supportZhong Li2019-08-201-0/+1
| | | | | | VP9 decoder is support on Intel kabyLake+ platforms with MSDK Version 1.19+ Signed-off-by: Zhong Li <zhong.li@intel.com>
* lavc/qsvdec: Add mjpeg decoder supportZhong Li2019-08-201-0/+1
| | | | Signed-off-by: Zhong Li <zhong.li@intel.com>
* lavc/qsvdec: remove orignal parser code since not needed nowZhong Li2019-08-201-5/+5
| | | | Signed-off-by: Zhong Li <zhong.li@intel.com>
* avcodec/libdav1d: allow setting frame size limit in pixelsJames Almer2019-08-141-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavc/videotoolboxenc: add hdr10, linear, hlg color transfer function for ↵Limin Wang2019-08-111-0/+6
| | | | | | | | | | | | videotoolboxenc Below is the testing ffmpeg command for the setting: ./ffmpeg -i input.ts -c:v hevc_videotoolbox -color_primaries bt2020 -colorspace bt2020_ncl -color_trc smpte2084 smpte2048.ts ./ffmpeg -i input.ts -c:v hevc_videotoolbox -color_primaries bt2020 -colorspace bt2020_ncl -color_trc linear linear.ts ./ffmpeg -i input.ts -c:v hevc_videotoolbox -color_primaries bt2020 -colorspace bt2020_ncl -color_trc arib-std-b67 hlg.ts Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Rick Kern <kernrj@gmail.com>
* configure: cuda_llvm: fix include path for MSYS2Ricardo Constantino2019-08-051-1/+1
| | | | | | | | | MSYS2 converts paths to MinGW-based applications from unix to pseudo-windows paths on execution time. Since there was no space between '-include' and the path, MSYS2 doesn't detect the path properly. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* build: add support for building CUDA files with clangRodger Combs2019-08-041-22/+45
| | | | | | | | | | | | | | | | This avoids using the CUDA SDK at all; instead, we provide a minimal reimplementation of the basic functionality that lavfi actually uses. It generates very similar code to what NVCC produces. The header contains no implementation code derived from the SDK. The function and type declarations are derived from the SDK only to the extent required to build a compatible implementation. This is generally accepted to qualify as fair use. Because this option does not require the proprietary SDK, it does not require the "--enable-nonfree" flag in configure. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avutil/mips: optimize UNPCK&SAD macros with MSA2.0 instruction.Shiyou Yin2019-07-101-0/+5
| | | | | | | Loongson 3A4000 and 2k1000 has supported MSA2.0. This patch optimized SAD_UB2_UH,UNPCK_R_SH_SW,UNPCK_SB_SH and UNPCK_SH_SW with MSA2.0 instruction. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure, cbs_h2645: Remove unneeded golomb dependencyAndreas Rheinhardt2019-07-081-2/+2
| | | | | | This has been forgotten in 44cde38c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* configure: print_in_columns: Replace pr with awkAlexander Strasser2019-06-241-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Get rid of pr dependency and write the columns strictly alphabetical without page size considerations (POSIX specifies 66 lines as default). Setting the page size via pr's -l option was considered, but as there is issue #5680 which wants to avoid pr mainly because it's not in busybox, we chose to replace pr instead. Before pr would attempt to write pages, thus if a page boundary was reached, the output looked confusing as one couldn't see there was a new page and the alphabetical order was disrupted when scanning down one of the columns. This change is based on a shell implementation submitted before by Yejun. Possible differences to the current version using pr: 1. pr implementations should truncate items to not overflow columns; depending on how it's done not truncating shall be better IMHO. 2. pr implementations might balance columns differently; we use minimum number of lines and might end up not using all columns or might have lesser entries in the last column(s) 3. we use spaces only for padding the columns; at least the GNU pr version on my system also by default stuffs in tabs in addition to a single space in between columns. I don't see that this behaviour is demanded by POSIX, though I might be very well overlooking things. Anyway for our use case I can't see a need for having the additional tabs, or why it would be better compared to padding with spaces only. Fixes output for sizes with width < column width, too. Fixes remaining part of ticket #5680 Contributor: Guo, Yejun <yejun.guo@intel.com>
* configure: add missing dnn dependency to derain filterJames Almer2019-06-121-0/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* VP4 video decoderPeter Ross2019-06-121-0/+1
|
* lavfi/opencl: add nlmeans_opencl filterRuiling Song2019-05-241-0/+1
| | | | | Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* configure: replace 'pr' with printf since busybox does not support prGuo, Yejun2019-05-151-3/+7
| | | | | | | | | | This patch is based on https://trac.ffmpeg.org/ticket/5680 provided by Kylie McClain <somasis@exherbo.org> at Wed, 29 Jun 2016 16:37:20 -0400, and have some changes. contributor: Kylie McClain <somasis@exherbo.org> contributor: avih <avihpit@yahoo.com> Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
* avfilter: add asr filterPaul B Mahol2019-05-141-0/+4
|
* configure: enable ffnvcodec, nvenc, nvdec for ppc6leRuta Gadkari2019-05-081-0/+8
| | | | | | | Adding the support to build FFMPEG with HW accelerated decode and encode on PPC64 little endian architecture. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* configure: remove mlp parser dependency from truehd_core bsfJames Almer2019-05-071-1/+0
| | | | | | It's no longer needed. Signed-off-by: James Almer <jamrial@gmail.com>
* configure: Do not overwrite src symlink if it already exists.Carl Eugen Hoyos2019-05-051-1/+3
| | | | Allows running fate from out-of-tree builds on wsl.
* Merge commit 'c0bd865ad60da31282c5d8e1000c98366249c31e'James Almer2019-05-021-0/+2
|\ | | | | | | | | | | | | * commit 'c0bd865ad60da31282c5d8e1000c98366249c31e': configure: Add -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 for mingw as well Merged-by: James Almer <jamrial@gmail.com>
| * configure: Add -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 for mingw as wellMartin Storsjö2019-04-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | Mingw headers have got header inline implementations of localtime_r and gmtime_r, but only visible if certain posix thread safe functions have been requested. This is a preparatory step for improving the detection of those functions. Signed-off-by: Martin Storsjö <martin@martin.st>
| * libdav1d: update API usage to the first stable releaseJames Almer2018-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The color fields were moved to another struct, and a way to propagate timestamps and other input metadata was introduced, so the packet fifo can be removed. Add support for 12bit streams, an option to disable film grain, and read the profile from the sequence header referenced by the ouput picture instead of guessing based on output pix_fmt. Signed-off-by: James Almer <jamrial@gmail.com>
| * avcodec: libdav1d AV1 decoder wrapper.James Almer2018-11-061-0/+4
| | | | | | | | | | | | | | Originally written by Ronald S. Bultje, with fixes, optimizations and improvements by James Almer. Signed-off-by: James Almer <jamrial@gmail.com>
| * avcodec/libaomenc: export the Sequence Header OBU as extradataJames Almer2018-10-111-1/+7
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * configure: fix inline asm checksJohn Cox2018-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 8c893aa3cd5 removed quotes that were required to detect inline asm: check_insn armv5te qadd r0, r0, r0 .../test.c:1:34: error: expected string literal in 'asm' void foo(void){ __asm__ volatile(qadd r0, r0, r0); } The correct code is: void foo(void){ __asm__ volatile("qadd r0, r0, r0"); } Commit message written by Frank Liberato <liberato@chromium.org> Signed-off-by: Martin Storsjö <martin@martin.st>
OpenPOWER on IntegriCloud