Added native codec module that uses "libde265" for decoding HEVC content.
(cherry picked from commit 9278f99916a87dea6cc19a653768598953cda359)

Backported for vlc-2.1 codec modules.

Conflicts:

	modules/codec/Makefile.am
Added rule to get and compile libde265.
(cherry picked from commit 8fb93f135d5016374ced89f48b19c770b49496d8)
Don't build sample programs.
(cherry picked from commit 9a7038a6db1ce5fa93eaf82bc27811fa15c090be)
Get and compile libde265 from OSX build script.
(cherry picked from commit df14ae2ac0a4f1edf26921dcb85000aba80892f8)
Enable optimization when compiling libde265.
(cherry picked from commit dea43765d2fa3047291337eb7717a8a7fefa5b73)
Fixed contrib compiler on MacOS X 10.9

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit ec6f231935596b5f8237899f4296f33b5c2a7010)
Need to include "libwinpthread-1.dll" in MinGW Windows packages.
Don't return decoded pictures when prerolling.
(cherry picked from commit 12266980b808ab16658172d0e027315130911acf)
Don't try to decode on "BLOCK_FLAG_DISCONTINUITY".
(cherry picked from commit d3a20edefa83f1875564de9112254bed9b438508)
Skip frames if computer is too slow for decoding.
(cherry picked from commit 00b02d1442c7bbc03d925346813700de42be68b6)
Added note about libde265.
(cherry picked from commit 23ff06002121f79c5ea6ab0a0b6e57eb7261f1c7)
Fixed decoding of MPEG-TS containing HEVC video.
This was reported in strukturag/vlc-libde265#1
(cherry picked from commit f07dacb2c1f0f98072b770c6c54239da3030a683)
Updated to libde265 0.7
(cherry picked from commit strukturag/vlc@9ba7833888d8d34dc545c070f134d480464a41a1)

Conflicts:

	contrib/src/libde265/SHA512SUMS
	contrib/src/libde265/rules.mak
Updated to 213791a10f45ecfa643c6ed0aae2a6a305feab32 from strukturag/vlc-libde265.
(cherry picked from commit strukturag/vlc@8808d18898feb063fc3d7fdfba12c54856a13680)
Updated to 228de148e9649abc8c08d5265a2f4aa0cab3a2ee from strukturag/vlc-libde265.
(cherry picked from commit strukturag/vlc@3e03c50c15388197a62679663fdf8d3eb7203b26)
Updated to version from strukturag/vlc-libde265@498d4802cfb4a2d644870589028dd9131d0725b9
- Now requires libde265 0.7.
- Added support for direct rendering.
- Notify codec about frames to drop and disable deblocking/SAO when dropping.
(cherry picked from commit strukturag/vlc@d852ac344bf7ad39835ccb6380cacd9ca07979f3)
Also compile C++ code with O3.
(cherry picked from commit strukturag/vlc@01dfa1712adef81548a12dcf083a7bb3a2af65e4)
Added patch to link against libraries required for static linking.
(cherry picked from commit strukturag/vlc@494c763e47123326f2a3bfeac25e4b8daa397ec4)
Merge branch 'temp' into 2.1.4-libde265-branch

Conflicts:
	contrib/src/libde265/rules.mak
	modules/codec/libde265dec.c