OSDN Git Service

libx265: Use the Multi-library Interface
authorGopu Govindaswamy <gopu@multicorewareinc.com>
Mon, 11 May 2015 15:25:59 +0000 (16:25 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 13 May 2015 15:14:50 +0000 (17:14 +0200)
commit3b5e5e6a29d62462d0505287042fa4c2b99c4f2b
tree3a3d55b551d30e421a797b4617c826d2ab0f3831
parent85ca012ba680bdf942d95ab98c74f6a28f447588
libx265: Use the Multi-library Interface

Use the Multi-library interface to load at runtime x265 libraries
supporting alternative bit depths (e.g. 8bit and 16bit).

The linked library will try to load the library supporting the
pixel format if it is not supported by itself.

Fallback requesting the native library (passing 0 to x265_api_get) if
a library supporting the requested bit depth is not available.

Signed-off-by: Gopu Govindaswamy <gopu@multicorewareinc.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
configure
libavcodec/libx265.c