Closed GoogleCodeExporter closed 8 years ago
The primary goal of libyuv is webcam support for webrtc.
MJPEG is a popular format for USB HD webcams - e.g. Logitech C920.
A secondary part of that webcam support is special effects and jpeg files can
be used as a resource.
It does make sense to be able to build without JPEG, though.
The code is somewhat isolated into its own files.
Original comment by fbarch...@google.com
on 23 Jul 2014 at 9:55
This is what I have in mind:
set GYP_DEFINES="target_arch=ia32 LIBYUV_DISABLE_JPEG=1"
call python gyp_libyuv -fninja -G msvs_version=2010 libyuv_test.gyp
ninja -C out\Release
ninja -C out\Debug
https://webrtc-codereview.appspot.com/21019004/
Original comment by fbarch...@google.com
on 25 Jul 2014 at 9:22
That seems great. This allows to disable exactly the part we've been
commenting out...
Original comment by t...@okcupid.com
on 26 Jul 2014 at 3:11
r1038 has the disable, but switched it to lower case
set GYP_DEFINES=target_arch=ia32 libyuv_disable_jpeg=1
python gyp_libyuv -fninja -G msvs_version=2010 libyuv_test.gyp
ninja -C out\Debug
libyuv_unittest --gtest_filter=*libyuvTest.HaveJPEG
[ RUN ] libyuvTest.HaveJPEG
JPEG disabled
.[ OK ] libyuvTest.HaveJPEG (0 ms)
Original comment by fbarch...@google.com
on 28 Jul 2014 at 9:54
Original issue reported on code.google.com by
t...@okcupid.com
on 23 Jul 2014 at 12:32