Commit a69e27f6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Broadcom CrystalHD decoder support

This new module works with BCM70015 Crystal HD video decoders
It handles hardware decoding of H264, VC-1 and mpeg2

So far, it only works on GNU/Linux with the appropriate driver and
library. Windows version is still limited.

This is the first part, since mpeg4, interlaced and BCM70012 are not
working yet.
parent d722087d
......@@ -25,6 +25,7 @@ Access
Codecs
* You can now use ffmpeg-mt in conjunction with vlc
* Important fixes for RealVideo 3.0 and 4.0 playback, notably in MKV
* Experimental Hardware decoding using Broadcom CrystalHD cards
Core:
* Playback rate doesn't get resetted to 1 between items anymore
......
......@@ -2451,6 +2451,25 @@ then
VLC_ADD_LIBS([omxil], [$LIBDL])
fi
dnl
dnl CrystalHD codec plugin
dnl
AC_ARG_ENABLE(crystalhd,
[ --enable-crystalhd crystalhd codec plugin (default disabled)])
if test "${enable_crystalhd}" == "yes"; then
AC_CHECK_HEADERS(libcrystalhd/libcrystalhd_if.h, [
VLC_ADD_PLUGIN([crystalhd])
VLC_ADD_LIBS([crystalhd], [-lcrystalhd])
],[
AC_CHECK_HEADERS(libcrystalhd/bc_drv_if.h, [
VLC_ADD_PLUGIN([crystalhd])
VLC_ADD_LIBS([crystalhd], [-lbcmDIL])
],[
AC_MSG_ERROR("Could not find CrystalHD development headers")
])
])
fi
dnl
dnl mad plugin
dnl
......
......@@ -37,6 +37,7 @@ SOURCES_aes3 = aes3.c
SOURCES_subsdec = subsass.c subsdec.c subsdec.h
SOURCES_subsusf = subsusf.c subsdec.h
SOURCES_t140 = t140.c
SOURCES_crystalhd = crystalhd.c
libvlc_LTLIBRARIES += \
liba52_plugin.la \
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment