Changes between Initial Version and Version 2 of Ticket #1776


Ignore:
Timestamp:
Jul 14, 2014 3:33:06 AM (5 years ago)
Author:
riza
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1776 – Description

    initial v2  
    22 
    33Requirement: 
    4  - Libyuv library (follow this instruction https://code.google.com/p/libyuv/wiki/GettingStarted) 
     4 - Libyuv library. For building the library, we recommend using the steps described [https://code.google.com/p/libyuv/wiki/GettingStarted here]. 
    55 
    6 TODO 
     6This implementation will provide video scaling and conversion functionality. 
     7 
     8Below are the steps to use the codec: 
     9 
     10For GNU targets: 
     111. 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}}}). 
     121. 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 
     17For iOS targets: 
     181. 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}}}). 
     191. 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 }}} 
     231. Include {{{libyuv.a}}} to application project in XCode. 
     24 
     25Notes for iOS targets: 
     26- armv7s it is still not supported because of the limitation from chromium build tools. 
     27 
     28For Visual Studio: 
     291. Build the Libyuv library.  
     301. Add Libyuv include and library location paths to Visual Studio search path settings.  
     311. Add this to your {{{config_site.h}}}: 
     32 {{{ 
     33#define PJMEDIA_HAS_LIBYUV              1 
     34 }}}