We welcome community contributions to Intel® Media SDK. Thank you for your time!
Please note that review and merge might take some time at this point.
Intel Media SDK is licensed under MIT license. By contributing to the project, you agree to the license and copyright terms therein and release your contribution under these terms.
Steps:
- Validate that your changes don't break a build. See build instruction
- Pass testing
- Wait while your patchset is reviewed and tested by our internal validation cycle
Python* 3.5 is required to run tests. The following instruction assumes that Intel Media SDK cloned to ~/msdk
folder.
cd /opt/intel/mediasdk/lib64
# rename all libmfx*, for example:
sudo mv libmfxhw64.so libmfxhw64.so.default
cd /opt/intel/mediasdk/plugins/
# rename all plugins, for example:
sudo mv libmfx_hevcd_hw64.so libmfx_hevcd_hw64.so.default
sudo mv libmfx_h264la_hw64.so libmfx_h264la_hw64.so.default
sudo mv libmfx_hevce_hw64.so libmfx_hevce_hw64.so.default
sudo mv libmfx_vp8d_hw64.so libmfx_vp8d_hw64.so.default
cd ~/msdk
export MFX_HOME=`pwd`
perl tools/builder/build_mfx.pl --cmake=intel64.make.release
make -j8 -C __cmake/intel64.make.release
cd ~/msdk/tests
python3.5 ted.py --gold
python3.5 ted.py
All tests should pass. If not, you need to provide an explanation of why streams generated using the modified library are not bit-exact with the original ones.