• Gopu Govindaswamy's avatar
    avcodec/libx265: use x265 Multi-library Interface to query the API · 94c20de4
    Gopu Govindaswamy authored
    ffmpeg can now use the x265 multi-library interface to make a runtime
    selection between a number of libx265 libraries (perhaps 8bpp and 16bpp).
    
    ffmpeg will link to one build of libx265 (statically or
    dynamically) and this linked version of libx265 will support one
    bit-depth (8 or 10 bits). At runtime, ffmpeg now has the option to request the
    encoder to use a different bit depth(8 or 10). If the requested bitdepth
    is zero, or if it matches the bitdepth of the system default libx265 (the
    currently linked library), then this library will be used for encode.
    If ffmpeg requests a different bit-depth, the linked libx265 will attempt
    to dynamically bind a shared library with the requested bit-depth from the install
    location (default or user-specified).
    
    new x265 API:
         const x265_api* api = x265_api_get(int bitDepth);
         x265_api - holds the libx265 public API functions
         bitDepth - requested API for 8bpp or 16bpp
    
         note: Use 0 to indicate native bit depth of the linked libx265 and
               x265_api_get(0) is guaranteed to return a non-null pointer
    Signed-off-by: 's avatarGopu Govindaswamy <gopu@multicorewareinc.com>
    Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
    94c20de4
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
arch.mak Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
cmdutils_common_opts.h Loading commit data...
cmdutils_opencl.c Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
ffmpeg.h Loading commit data...
ffmpeg_dxva2.c Loading commit data...
ffmpeg_filter.c Loading commit data...
ffmpeg_opt.c Loading commit data...
ffmpeg_vda.c Loading commit data...
ffmpeg_vdpau.c Loading commit data...
ffplay.c Loading commit data...
ffprobe.c Loading commit data...
ffserver.c Loading commit data...
ffserver_config.c Loading commit data...
ffserver_config.h Loading commit data...
library.mak Loading commit data...
version.sh Loading commit data...