Changes between Version 5 and Version 6 of Ticket #1776


Ignore:
Timestamp:
Mar 21, 2015 2:40:16 AM (10 years ago)
Author:
nanang
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1776 – Description

    v5 v6  
    11Support for libyuv library which provides YUV scaling and conversion functionality (https://code.google.com/p/libyuv/). 
    22 
    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. 
    55 
    66This implementation will provide video scaling and conversion functionality. 
     
    88Below are the steps to use the codec: 
    99 
    10 For GNU targets: 
     10== For GNU targets == 
    11111. 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}}}). 
    12121. Run PJSIP's {{{configure}}} and specify the Libyuv folder using {{{--with-libyuv}}} option. E.g: 
     
    1515 }}} 
    1616 
    17 For iOS targets: 
     17== For iOS targets == 
    18181. 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}}}). 
    19191. Run PJSIP's {{{configure-iphone}}} and specify the Libyuv folder using {{{--with-libyuv}}} option. E.g: 
     
    2626- {{{armv7s}}} it is still not supported because of the limitation from chromium build tools. 
    2727 
    28 For Visual Studio: 
     28== For Android targets == 
     291. Get libyuv from [https://github.com/illuspas/libyuv-android here] (tried to build using the official source, but failed). 
     301. From the {{{libyuv-android}}} directory, run {{{ndk-build}}}. The library will be built on ({{{[libyuv_dir]/libs/armeabi}}}). 
     311. Create dir {{{out/Release}}} under {{{[libyuv_dir]/jni}}} and copy the {{{libyuv.so}}} there. E.g: 
     32 {{{ 
     33cd [libyuv_dir] 
     34mkdir -p jni/out/Release 
     35cp libs/armeabi/libyuv.so jni/out/Release 
     36 }}} 
     371. 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 == 
    29431. Build the Libyuv library.  
    30441. Add Libyuv include and library location paths to Visual Studio search path settings.