#1937 closed enhancement (fixed)
Add libyuv to third party component — at Version 7
Reported by: | riza | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.5.5 |
Component: | third-party | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description (last modified by nanang)
We recommend libyuv which provides video scaling and conversion method.
However, currently we only support libyuv as a stand alone project, with these drawbacks:
- Following the recommended steps to build the library, it is required to also download chromium project which is large in size (approximately 10GB).
- Changes on the libyuv project might break the existing build configuration.
This ticket will add libyuv to the third party folder, use a specific version and include only the necessary source.
Below is the steps to build and use libyuv:
For GNU targets
- By default, libyuv will always be built automatically. This automatic build can be disabled via configure script param --disable-libyuv or --disable-video, also it will not be built when ffmpeg swscale is detected.
- if you want to use external libyuv, specify --with-external-libyuv and set header/library search paths via CFLAGS and LDFLAGS environment variables.
Additional step for iOS targets
- Add third-party/lib/libyuv-[TARGET].a to application project in XCode.
For Visual Studio
- libyuv will always be built automatically.
- To enable libyuv, add this to your config_site.h:
#define PJMEDIA_HAS_LIBYUV 1
Change History (7)
comment:1 Changed 8 years ago by riza
comment:2 Changed 8 years ago by riza
In 5358:
comment:3 Changed 8 years ago by riza
In 5360:
comment:4 Changed 8 years ago by nanang
In 5361:
comment:5 Changed 8 years ago by nanang
In 5362:
comment:6 Changed 8 years ago by nanang
- Resolution set to fixed
- Status changed from new to closed
comment:7 Changed 8 years ago by nanang
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
In 5354: