summaryrefslogtreecommitdiff
path: root/third_party/libyuv
AgeCommit message (Collapse)Author
2018-06-28libyuv: disable AVX512 in clangJohann
ARGBToRGB24Row_AVX512VBMI fails to compile on Mac: row_gcc.cc: instruction requires: AVX-512 VBMI ISA AVX-512 VL ISA BUG=libyuv:789 Change-Id: Ibd584e8c82e3ce86ec5460b4243f84f5dbdf4c81
2018-06-21third_party/libyuv: update to a37e7bfeJohann
Fix mingw builds for x86_32 by updating past: https://chromium.googlesource.com/libyuv/libyuv/+/8fa02df3c0591754958a50 Pick up upstream fixes for clang 5 builds with --disable-optimizations. Disable libyuv by default when building for msa. We have not been able to update libyuv because of build issues with mips. This can be revisited when we update the mips compiler used in Jenkins. BUG=webm:1509,libyuv:793,webm:1514,webm:1518 Change-Id: Id0b9947cb5e0aa74f2f74746524ab6ff2d48796f
2018-06-20libyuv: remove problematic functionsJohann
These fail to build with clang on 32 bit with --disable-optimizations Upstream libyuv has addressed these and we will get updated versions on the next roll. At the moment, we don't use libyuv for copying alpha data and so this is a quick fix. BUG=webm:1514 Change-Id: I0040c3ae048f8d896c2082deeb2e32070a32c453
2016-08-30libyuv: update to de944ed8c74909ea6fbd743a22efe1e55e851b83Jim Bankoski
Fixes windows build issue: ==> tests::VS10_x64 is broken LINK : warning C4742: 'kYvuI601Constants' has different alignment in 'third_party\libyuv\source\row_common.cc' and 'third_party\libyuv\source\planar_functions.cc': 32 and 2 [.build-x86_64-win64-vs10\vpxdec.vcxproj] LINK : warning C4744: 'kYvuI601Constants' has different type in 'third_party\libyuv\source\row_common.cc' and 'third_party\libyuv\source\planar_functions.cc': '__declspec(align(32)) struct (224 bytes)' and 'struct (224 bytes)' [.build-x86_64-win64-vs10\vpxdec.vcxproj] LINK : warning C4742: 'kYuvI601Constants' has different alignment in 'third_party\libyuv\source\row_common.cc' and 'third_party\libyuv\source\planar_functions.cc': 32 and 2 [.build-x86_64-win64-vs10\vpxdec.vcxproj] LINK : warning C4744: 'kYuvI601Constants' has different type in 'third_party\libyuv\source\row_common.cc' and 'third_party\libyuv\source\planar_functions.cc': '__declspec(align(32)) struct (224 bytes)' and 'struct (224 bytes)' [.build-x86_64-win64-vs10\vpxdec.vcxproj] LINK : warning C4742: 'kYvuI601Constants' has different alignment in 'third_party\libyuv\source\row_common.cc' and 'third_party\libyuv\source\planar_functions.cc': 32 and 2 [.build-x86_64-win64-vs10\vpxenc.vcxproj] LINK : warning C4744: 'kYvuI601Constants' has different type in 'third_party\libyuv\source\row_common.cc' and 'third_party\libyuv\source\planar_functions.cc': '__declspec(align(32)) struct (224 bytes)' and 'struct (224 bytes)' [.build-x86_64-win64-vs10\vpxenc.vcxproj] LINK : warning C4742: 'kYuvI601Constants' has different alignment in 'third_party\libyuv\source\row_common.cc' and 'third_party\libyuv\source\planar_functions.cc': 32 and 2 [.build-x86_64-win64-vs10\vpxenc.vcxproj] LINK : warning C4744: 'kYuvI601Constants' has different type in 'third_party\libyuv\source\row_common.cc' and 'third_party\libyuv\source\planar_functions.cc': '__declspec(align(32)) struct (224 bytes)' and 'struct (224 bytes)' [.build-x86_64-win64-vs10\vpxenc.vcxproj] LINK : error C2220: warning treated as error - no 'executable' file generated [.build-x86_64-win64-vs10\vpxdec.vcxproj] LINK : error C2220: warning treated as error - no 'executable' file generated [.build-x86_64-win64-vs10\vpxenc.vcxproj] Change-Id: Ic3c4fff9209f5a52ff8f8ff321548d49ba09ec06
2016-08-25libyuv: update to c244a3e9Jim Bankoski
Fixes color issue when scaling without breaking mingw. BUG=https://bugs.chromium.org/p/libyuv/issues/detail?id=605 BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1252 Change-Id: I09437d93fd65964ad57113274d8c819f3eaf2e57
2016-07-01Revert "libyuv: update to 2f101fdb"James Bankoski
Compile failures on linux platform. BUG=webm:1253 This reverts commit aa81375d73ee33d382e7f717c519db6159e497ee. Change-Id: Ibab2c4827bc21518dc03c6e9716b5015cff56fc7
2016-06-30libyuv: update to 2f101fdbJim Bankoski
Fixes color issue when scaling without breaking mingw. BUG=https://bugs.chromium.org/p/libyuv/issues/detail?id=605 BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1252 Change-Id: Ifba747feb0c6a08f2b353b820a24c6c145d440ad
2016-06-29Revert "libyuv: update to b8ddb5a2"James Bankoski
This reverts commit b8f83282f8506ad3d839440341bbe683df7d2cf6. Update was to wrong version and still has: BUG=webm:1252 Change-Id: I80f3a7c0581ab5e2dd1a84f7840e51d7c362afac
2016-06-29libyuv: update to b8ddb5a2Jim Bankoski
Fixes color issue when scaling without breaking mingw. BUG=https://bugs.chromium.org/p/libyuv/issues/detail?id=605 BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1252 Change-Id: I3920c5664def7ae7a23f60fb160d26d23bc86a27
2015-07-31update libyuv to r1456James Zern
picks up build warning fixes for visual studio 2015 Change-Id: Idea85fa70d1aeb2a46ea355b87fe41ec5b2b9520
2015-03-06Cherry pick libyuv VS fixJohann
Change-Id: I1f2e077af87d29b07eaf7acaec8d955e00da9333
2015-03-02libyuv: update to r1305Johann
MIPS build fixes https://code.google.com/p/webm/issues/detail?id=957 Change-Id: I9d53900af36d783c369b5dff27a7479cb94fd16b
2014-09-06libyuv: cherry-pick MSVC arm build fixJames Zern
Issue 24479004: Fix building with MSVC for arm https://webrtc-codereview.appspot.com/24479004/ Change-Id: I758b33a21f46e46af6e58d83b7c045262ac9c7d9
2014-08-22add libyuv/scale_neon64.ccJames Zern
from r1051, missed in r1060 snapshot update Change-Id: I3756d8d29fc0dd4c4491efa84b8f8837edde23a7
2014-08-22libyuv: update to r1060James Zern
picks up some lint, build fixes Change-Id: I0efb19385afa4ea3073a53e2b8334e57f245eea0
2014-08-12libyuv: update to r1041James Zern
Change-Id: I38dad398844ee424a7a92a745ab703645018d02b
2014-05-20Updates libyuv to version 1005Deb Mukherjee
Also adds compile check and a libyuv configure flag Change-Id: Ib9f0f4a71c4083e6f0aea7b5a5d175531ef0f66b
2014-04-22Rename FilterMode for compatibility with libyuvDeb Mukherjee
Renames FilterMode to FilterModeEnum for compatibility with google3 libyuv Change-Id: Iec845e6a6aeac4171790c87ce3dd9000ab840a36
2014-04-11rename README.webm -> README.libvpxJames Zern
matches the project name and doesn't share a media file extension Change-Id: I9ad6c0a180e36c41f8fc49120615a070ea792a30
2013-07-22libyuv: fix SSSE3 code in scale.cYunqing Wang
This patch was provided by Frank. Change-Id: Icebcbd96016a51a85dbe5e8a351ab7624ace962b
2013-06-04Fix mingw build errorJohn Koleszar
Fixes an issue where newer versions of GCC would try to compile the visual studio inline assembly. Fixes issue #571 Change-Id: I8e4500a9277447fdab0b55e5efa1f24ca97bdc03
2012-05-03Fix missing param name in NEON scaler functionsAttila Nagy
Was generating compilation errors. Change-Id: I68d7c320b2b2f2737bbbc9862f2c39675c7f678a
2011-12-13Align image buffer in multiple-resolution encoderYunqing Wang
Aligned the image buffer and stride to 32 bytes. This enables calling of optimized scaler function in libyuv, and improves the performance. Tested libyuv scaler(x86 optimization) on Linux and Windows, including: Linux 32/64bit, visual studio 32/64bit, Cygwin, and MinGW32. Also, fixed a wrong pointer in vpx_codec_encode(). Change-Id: Ibe97d7a0a745f82c43852fa4ed719be5a4db6abc
2011-12-05Multiple-resolution encoderYunqing Wang
The example encoder down-samples the input video frames a number of times with a down-sampling factor, and then encodes and outputs bitstreams with different resolutions. Support arbitrary down-sampling factor, and down-sampling factor can be different for each encoding level. For example, the encoder can be tested as follows. 1. Configure with multi-resolution encoding enabled: ../libvpx/configure --target=x86-linux-gcc --disable-codecs --enable-vp8 --enable-runtime_cpu_detect --enable-debug --disable-install-docs --enable-error-concealment --enable-multi-res-encoding 2. Run make 3. Encode: If input video is 1280x720, run: ./vp8_multi_resolution_encoder 1280 720 input.yuv 1.ivf 2.ivf 3.ivf 1 (output: 1.ivf(1280x720); 2.ivf(640x360); 3.ivf(320x180). The last parameter is set to 1/0 to show/not show PSNR.) 4. Decode: ./simple_decoder 1.ivf 1.yuv ./simple_decoder 2.ivf 2.yuv ./simple_decoder 3.ivf 3.yuv 5. View video: mplayer 1.yuv -demuxer rawvideo -rawvideo w=1280:h=720 -loop 0 -fps 30 mplayer 2.yuv -demuxer rawvideo -rawvideo w=640:h=360 -loop 0 -fps 30 mplayer 3.yuv -demuxer rawvideo -rawvideo w=320:h=180 -loop 0 -fps 30 The encoding parameters can be modified in vp8_multi_resolution_encoder.c, for example, target bitrate, frame rate... Modified API. John helped a lot with that. Thanks! Change-Id: I03be9a51167eddf94399f92d269599fb3f3d54f5