Opened 10 years ago
Last modified 8 years ago
#1776 closed enhancement
Support for Libyuv — at Version 2
Reported by: | riza | Owned by: | nanang |
---|---|---|---|
Priority: | normal | Milestone: | release-2.3 |
Component: | pjmedia | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description (last modified by riza)
Support for libyuv library which provides YUV scaling and conversion functionality (https://code.google.com/p/libyuv/).
Requirement:
- Libyuv library. For building the library, we recommend using the steps described here.
This implementation will provide video scaling and conversion functionality.
Below are the steps to use the codec:
For GNU targets:
- 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).
- Run PJSIP's configure and specify the Libyuv folder using --with-libyuv option. E.g:
./configure --with-libyuv=/home/user/src/libyuv
For iOS targets:
- 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).
- Run PJSIP's configure-iphone and specify the Libyuv folder using --with-libyuv option. E.g:
./configure-iphone --with-libyuv=/home/user/src/libyuv
- Include libyuv.a to application project in XCode.
Notes for iOS targets:
- armv7s it is still not supported because of the limitation from chromium build tools.
For Visual Studio:
- Build the Libyuv library.
- Add Libyuv include and library location paths to Visual Studio search path settings.
- Add this to your config_site.h:
#define PJMEDIA_HAS_LIBYUV 1
Change History (2)
comment:1 Changed 10 years ago by riza
comment:2 Changed 10 years ago by riza
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
In 4875: