mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
Merge commit 'f1cd9b03f3fa875eb5e394281b4b688cec611658'
* commit 'f1cd9b03f3fa875eb5e394281b4b688cec611658': omx: Add support for broadcom OMX on raspberry pi Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
9
configure
vendored
9
configure
vendored
@ -162,6 +162,7 @@ Hardware-accelerated decoding/encoding:
|
||||
--enable-mmal enable decoding via MMAL [no]
|
||||
--enable-nvenc enable NVIDIA NVENC support [no]
|
||||
--enable-omx enable encoding via OpenMAX IL [no]
|
||||
--enable-omx-rpi enable encoding via OpenMAX IL for Raspberry Pi [no]
|
||||
|
||||
Individual component options:
|
||||
--disable-everything disable all components listed below
|
||||
@ -1552,6 +1553,7 @@ FEATURE_LIST="
|
||||
ftrapv
|
||||
gray
|
||||
hardcoded_tables
|
||||
omx_rpi
|
||||
runtime_cpudetect
|
||||
safe_bitstream_reader
|
||||
shared
|
||||
@ -5730,12 +5732,17 @@ enabled opengl && { check_lib GL/glx.h glXGetProcAddress "-lGL" ||
|
||||
check_lib2 ES2/gl.h glGetError "-isysroot=${sysroot} -Wl,-framework,OpenGLES" ||
|
||||
die "ERROR: opengl not found."
|
||||
}
|
||||
enabled omx_rpi && enable omx
|
||||
enabled omx && { check_header OMX_Core.h ||
|
||||
{ ! enabled cross_compile && enabled omx_rpi && {
|
||||
add_cflags -isystem/opt/vc/include/IL ; }
|
||||
check_header OMX_Core.h ; } ||
|
||||
die "ERROR: OpenMAX IL headers not found"; }
|
||||
enabled openssl && { use_pkg_config openssl openssl/ssl.h SSL_library_init ||
|
||||
check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto ||
|
||||
check_lib openssl/ssl.h SSL_library_init -lssl32 -leay32 ||
|
||||
check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 ||
|
||||
die "ERROR: openssl not found"; }
|
||||
enabled omx && { check_header OMX_Core.h || die "ERROR: OpenMAX IL headers not found"; }
|
||||
enabled qtkit_indev && { check_header_objcc QTKit/QTKit.h || disable qtkit_indev; }
|
||||
|
||||
# libdc1394 check
|
||||
|
Reference in New Issue
Block a user