6 | | TODO |
| 6 | This implementation will provide video scaling and conversion functionality. |
| 7 | |
| 8 | Below are the steps to use the codec: |
| 9 | |
| 10 | For GNU targets: |
| 11 | 1. Build Libyuv library. Make sure to execute the Release build step ({{{ninja -j7 -C out/Release}}}). The library will be built on ({{{[libyuv_dir]/out/Release}}}). |
| 12 | 1. Run PJSIP's {{{configure}}} and specify the Libyuv folder using {{{--with-libyuv}}} option. E.g: |
| 13 | {{{ |
| 14 | ./configure --with-libyuv=/home/user/src/libyuv |
| 15 | }}} |
| 16 | |
| 17 | For iOS targets: |
| 18 | 1. Build Libyuv library. Make sure to execute the Release build step ({{{ninja -j7 -C out_ios/Release-iphoneos libyuv_unittest}}}). The library will be built on ({{{[libyuv_dir]/out_ios/Release-iphoneos}}}). |
| 19 | 1. Run PJSIP's {{{configure-iphone}}} and specify the Libyuv folder using {{{--with-libyuv}}} option. E.g: |
| 20 | {{{ |
| 21 | ./configure-iphone --with-libyuv=/home/user/src/libyuv |
| 22 | }}} |
| 23 | 1. Include {{{libyuv.a}}} to application project in XCode. |
| 24 | |
| 25 | Notes for iOS targets: |
| 26 | - armv7s it is still not supported because of the limitation from chromium build tools. |
| 27 | |
| 28 | For Visual Studio: |
| 29 | 1. Build the Libyuv library. |
| 30 | 1. Add Libyuv include and library location paths to Visual Studio search path settings. |
| 31 | 1. Add this to your {{{config_site.h}}}: |
| 32 | {{{ |
| 33 | #define PJMEDIA_HAS_LIBYUV 1 |
| 34 | }}} |