Age | Commit message (Collapse) | Author |
|
(cherry picked from commit 2f6360ff21a98f9db6af3e0932d39f1dc7b47d6c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
|
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit e228d7b0db7d6cb02a73bee6d3bf4f6ecf92d0bf)
|
|
(cherry picked from commit 63505fc60a8031ebea824a3e78a07b73c6dc049f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
|
(cherry-picked from libav commit 41262498ff89ef48e5ce4823b2fc2dc514a3eb0c)
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c067d20177613e9cf74bcbd2a26e729ef7ababdb)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
|
(cherry picked from commit 7b58702cbdce097f32f62c87cd537ab28c04ffb2)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
|
Happy new year!
(cherry picked from commit 3209d7b3930bab554bf7d97d8041d9d0b88423a8)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
|
When static linking programs using ffmpeg libraries, if linking against
libavutil, -ldrm is listed before -lavutil. This leads to linking failure
due to undefined reference of drmGetVersion() and drmFreeVersion().
This is why when pkg-config create libavutil.pc doesn't append -ldrm
after -lavutil.
Create LIBDRM=-ldrm in case libdrm is enabled and add $LIBDRM to
extralibs_avutil.
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
This was somehow forgotten and nobody noticed until now.
|
|
Happy new year!
(cherry picked from commit bddf31ba7570325dd2c8d033eae3d0dd74127f96)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
|
Signed-off-by: Jacob Trimble <modmaker@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 83ecdc9a920d7f0b69d1a25d63757adb887a1f25)
|
|
doesn't exists
Should prevent some options from being added to cflags when they
don't exist and the compiler only warns about it.
Reviewd-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit ad56e8057d8af0201ed0cb65acc12e5889d4afcc)
|
|
We are not using dynamic loading for libndi.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
(cherry picked from commit 58143b15adda6391ec07f3eb19e80ed91d801edd)
|
|
We don't need libdl for win32/mingw.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
|
|
ones first
Now works with --disable-stripping.
Signed-off-by: Marton Balint <cus@passwd.hu>
|
|
Remove the SDL_main define from the global cflags but not from the
ffplay cflags, and the -mwindows linker option from extralibs instead
of overriding it with the addition of -mconsole.
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
Suggested-by: James Almer
|
|
This reverts commit c2d155e11ee5ec732d471982f2dee43703bcd5a7.
GCC 6 incorrectly passes the configure test and then logs many warnings
of the form:
src/libavformat/dump.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-bool-operation’
|
|
|
|
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
Requested-by: Ronald and Derek
|
|
Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
|
|
Regression since 84b3f53acadced2dd31f6be95b491b25183b8c22.
|
|
Otherwise, it's never enabled unless the user explicitely enables it.
Regression since 9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21d.
Fixes Ticket #6702.
|
|
* commit 'd154bdd3d053128c908a994bb26e14bbc17f0e53':
configure: Simplify dlopen check
Merged-by: James Almer <jamrial@gmail.com>
|
|
Revert back to the test as done by commit af7a75cb517141f649cbbe0a9dcdb4854359b740,
where it was changed to compile and not just preprocess to fix build failures on
FreeBSD with gcc 4.7
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
Regression since d81b34069e80cb04160689ef5a160b9aee858257.
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
Signed-off-by: Aman Gupta <aman@tmm1.net>
|
|
* commit '7208e5b5d638d4b9c2784036b4fc5728f32233c7':
configure: Restructure the way check_pkg_config() operates
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit '54e39b102e29adcc2f59f1eca85be5f86c89454b':
configure: Explicitly spell out first require_pkg_config() parameter
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit 'd00a0d8e84fef1b9124bfaf71cc17df79ca464a6':
configure: Handle SDL version check through pkg-config
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit 'c546147db07d16a76c2fb698d2e8a3057f393475':
configure: Correctly recurse in do_check_deps()
See 7659f35638e2ca7a8b202cb3007ca5473b108fa4.
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit 'dad7a9c7c0ae8ebc56f2e3a24e6fa4da5c2cd491':
configure: Rework dependency handling for conflicting components
Includes an important fix made by c546147db07d16a76c2fb698d2e8a3057f393475
as well.
Merged-by: James Almer <jamrial@gmail.com>
|
|
This adds hardware decoding for H.264 / HEVC / VP8 / VP9 using the MPP
Rockchip API. It returns frames holding an AVDRMFrameDescriptor struct
in buf[0] that allows drm / dmabuf usage. Tested on RK3288 (TinkerBoard)
and RK3328.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
|
|
* commit '9127ac5ebc941d5e54828a91e5072c876be8ec42':
configure: Add name parameter to require_pkg_config() helper function
Merged-by: James Almer <jamrial@gmail.com>
|
|
This reverts commit 1985071e41f4df8fc693a564e25758676bba164a, reversing
changes made to a901869c19ed14c7d3647901468bd1297c9f98c0.
We autodetect libxcb, so this is not necessary.
|
|
Support for this device has been removed in kernel since v2.6.37. dv1394 has been superseded by libiec61883 which is functionally equivalent.
Signed-off-by: Josh de Kock <josh@itanimul.li>
Signed-off-by: wm4 <nfxjfg@googlemail.com>
|
|
* commit '71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5':
configure: Use cppflags check helper functions where appropriate
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit '0ce3761c781f2c2de40a5a8a99563878804f47cc':
configure: Add stdlib.h #include to CPPFLAGS check helper functions
Merged-by: James Almer <jamrial@gmail.com>
|
|
This reverts commit 740e557d6eac3b579dfed53ed92ae70e2089c77c, reversing
changes made to 932e28b13e9ae29262dfd28419b700e03716e85e.
The commit apparently broke builds with shared libs, and "suggesting"
the use of external libraries that need to be explicitly enable has
dubious usefulness anyway.
|
|
* commit 'bcaedef1189a3531aa4dfb020627eb0133ffa89c':
configure: Add require_cpp_condition() convenience function
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit 'aba7fdcc8baaed35e804c7882b70a848a0e566c7':
configure: Add require_header() convenience function
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit 'a97563c889fefd81ad6b3758471434d8c2e2e550':
configure: Simplify libxcb check
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit '66988320794a107f2a460eaa71dbd9fab8056842':
configure: Add proper weak dependency of drawtext filter on libfontconfig
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit '24d5680bbc01fc124709d522d348572ad4672563':
configure: Simplify inline asm check with appropriate helper function
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit 'b3825723dceffc64240da7b0e562bd1fd024da26':
configure: Merge compiler/libc/os hacks sections
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3':
Mark some arrays that never change as const.
Merged-by: James Almer <jamrial@gmail.com>
|
|
* commit 'ab87af41636b081dd3562423999351b5444fa09e':
configure: Add proper weak dependency of avformat on network
Merged-by: James Almer <jamrial@gmail.com>
|
|
This patchset enhances Alexis Ballier's original patch and validates
it using Qualcomm's Venus hardware (driver recently landed upstream
[1]).
This has been tested on Qualcomm's DragonBoard 410c and 820c
Configure/make scripts have been validated on Ubuntu 10.04 and
16.04.
Tested decoders:
- h264
- h263
- mpeg4
- vp8
- vp9
- hevc
Tested encoders:
- h264
- h263
- mpeg4
Tested transcoding (concurrent encoding/decoding)
Some of the changes introduced:
- v4l2: code cleanup and abstractions added
- v4l2: follow the new encode/decode api.
- v4l2: fix display size for NV12 output pool.
- v4l2: handle EOS (EPIPE and draining)
- v4l2: vp8 and mpeg4 decoding and encoding.
- v4l2: hevc and vp9 support.
- v4l2: generate EOF on dequeue errors.
- v4l2: h264_mp4toannexb filtering.
- v4l2: fixed make install and fate issues.
- v4l2: codecs enabled/disabled depending on pixfmt defined
- v4l2: pass timebase/framerate to the context
- v4l2: runtime decoder reconfiguration.
- v4l2: add more frame information
- v4l2: free hardware resources on last reference being released
- v4l2: encoding: disable b-frames for upstreaming (patch required)
[1] https://lwn.net/Articles/697956/
System Level view:
v42l_m2m_enc/dec --> v4l2_m2m --> v4l2_context --> v4l2_buffers
Reviewed-by: Jorge Ramirez <jorge.ramirez-ortiz@linaro.org>
Reviewed-by: Alexis Ballier <aballier@gentoo.org>
Tested-by: Jorge Ramirez <jorge.ramirez-ortiz@linaro.org>
Signed-off-by: wm4 <nfxjfg@googlemail.com>
|