Changes between Version 5 and Version 6 of Ticket #1776
- Timestamp:
- Mar 21, 2015 2:40:16 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1776 – Description
v5 v6 1 1 Support for libyuv library which provides YUV scaling and conversion functionality (https://code.google.com/p/libyuv/). 2 2 3 Requirement: 4 - Libyuv library. For building the library, we recommend using the steps described [https://code.google.com/p/libyuv/wiki/GettingStarted here] .3 == Requirement == 4 - Libyuv library. For building the library, we recommend using the steps described [https://code.google.com/p/libyuv/wiki/GettingStarted here], except for Android target as explained below. 5 5 6 6 This implementation will provide video scaling and conversion functionality. … … 8 8 Below are the steps to use the codec: 9 9 10 For GNU targets: 10 == For GNU targets == 11 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 12 1. Run PJSIP's {{{configure}}} and specify the Libyuv folder using {{{--with-libyuv}}} option. E.g: … … 15 15 }}} 16 16 17 For iOS targets: 17 == For iOS targets == 18 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 19 1. Run PJSIP's {{{configure-iphone}}} and specify the Libyuv folder using {{{--with-libyuv}}} option. E.g: … … 26 26 - {{{armv7s}}} it is still not supported because of the limitation from chromium build tools. 27 27 28 For Visual Studio: 28 == For Android targets == 29 1. Get libyuv from [https://github.com/illuspas/libyuv-android here] (tried to build using the official source, but failed). 30 1. From the {{{libyuv-android}}} directory, run {{{ndk-build}}}. The library will be built on ({{{[libyuv_dir]/libs/armeabi}}}). 31 1. Create dir {{{out/Release}}} under {{{[libyuv_dir]/jni}}} and copy the {{{libyuv.so}}} there. E.g: 32 {{{ 33 cd [libyuv_dir] 34 mkdir -p jni/out/Release 35 cp libs/armeabi/libyuv.so jni/out/Release 36 }}} 37 1. Run PJSIP's {{{configure}}} and specify the Libyuv folder using {{{--with-libyuv}}} option. E.g: 38 {{{ 39 ./configure --with-libyuv=[libyuv_dir]/jni 40 }}} 41 42 == For Visual Studio == 29 43 1. Build the Libyuv library. 30 44 1. Add Libyuv include and library location paths to Visual Studio search path settings.