aboutsummaryrefslogtreecommitdiff
path: root/linux.mk
AgeCommit message (Collapse)Author
2023-12-08Split convert_test and convert_argb_test to allow building on small systems ↵Frank Barchard
that run out of memory compiling unittests. Update build files to include the new tests and source code. Bug: libyuv:956 Change-Id: I6ec0beb6dc9570f0597d7df1835d616489dbaece Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5103585 Reviewed-by: Mirko Bonadei <mbonadei@chromium.org> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
2022-03-19RGBScale function using 3 steps: RGB24ToARGB, ARGBScale, ARGBToRGB24Frank Barchard
1920x1080 to/from 1280x720 to ARGB on Intel Skylake Xeon RGBScaleTo1920x1080_Bilinear (2625 ms) RGBScaleFrom1920x1080_Bilinear (2115 ms) ARGBScaleTo1920x1080_Bilinear (1668 ms) ARGBScaleFrom1920x1080_Bilinear (1164 ms) Bug: b/224814071 Change-Id: Ifc7611b597409771728b13c9c39e5a7e06131021 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3537341 Reviewed-by: Wan-Teh Chang <wtc@google.com> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
2022-01-26Remove MMI supportFrank Barchard
Bug: libyuv:916 Change-Id: I345b7e271ceb4b32fe91e292915e66be40812810 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3415817 Reviewed-by: Frank Barchard <fbarchard@chromium.org> Reviewed-by: Wan-Teh Chang <wtc@google.com> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
2021-02-19Scale 12 functions that are scale 16 but with only low 12 bits validFrank Barchard
Rename yuvconstants to .c and use round from math.h Bug: libyuv:882, b/180472591 Change-Id: I70720bf3e0833ba00df0d721f12020fba0b07a03 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2706966 Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
2021-02-12add yuvconvstants utilFrank Barchard
miscellaneous cleanup of other code/comments Bug: libyuv:873, libyuv:877 Change-Id: I0d8caf9a65908ff8898b25494f7c724775f84fa3 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2692930 Reviewed-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: Frank Barchard <fbarchard@chromium.org>
2020-10-28MJPGToNV12 added and build files sortedFrank Barchard
Bug: None Change-Id: I87aa64a14bb3f0785f984f492e56fcf2313431ce Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2502780 Reviewed-by: Evan Shrubsole <eshr@google.com> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
2020-09-29NV12Scale function and ScaleUV for packed UV plane bilinear scalingFrank Barchard
Bug: libyuv:718, libyuv:838, b/168918847 Change-Id: I3300c1e7d51407b9c3201cf52b68e2e11346ff5f Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2427868 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by: richard winterton <rrwinterton@gmail.com>
2020-04-28i444tonv12_eg example programFrank Barchard
Bug: libyuv:858 Change-Id: I1b970f57a6ff6288afc8f60b2244e51bf6d30e78 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2169341 Reviewed-by: richard winterton <rrwinterton@gmail.com> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
2018-08-03MMI ifdef guards and add source to various build files.Frank Barchard
Bug: libyuv:810,libyuv:811 Test: cmake . && make Change-Id: I521b45ccb6e49ff70823e415efa99fc5b9daad99 Reviewed-on: https://chromium-review.googlesource.com/1162503 Reviewed-by: Johann Koenig <johannkoenig@google.com>
2018-04-13update linux makefile with mips/msa filesJohann
BUG=webm:1509 Change-Id: I74db6e287952b343021c0a17a80c973517080517 Reviewed-on: https://chromium-review.googlesource.com/996311 Reviewed-by: Frank Barchard <fbarchard@chromium.org> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
2017-12-14Remove Mips DSPR2 codeFrank Barchard
Bug: libyuv:765 Test: build for mips still passes Change-Id: I99105ad3951d2210c0793e3b9241c178442fdc37 Reviewed-on: https://chromium-review.googlesource.com/826404 Reviewed-by: Weiyong Yao <braveyao@chromium.org> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
2017-11-09Re-enable x86 assembly without requiring -msse2Frank Barchard
clang does not require -msse2 or -msse for inline, except the "x" parameter. So change this to "m" for 32 bit. 64 bit requires sse2 so use "x" for 64 bit. gcc requires -msse for xmm registers in clobber list. Reduce compiler requirement from -msse2 to -msse for enabling assembly. Bug: libyuv:754, libyuv:757 Test: CC=clang CXX=clang++ CFLAGS="-m32" CXXFLAGS="-m32 -mno-sse -O2" make -f linux.mk Change-Id: I86df72cfee80b7d349561c1fd7c97ad360767255 Reviewed-on: https://chromium-review.googlesource.com/759303 Reviewed-by: richard winterton <rrwinterton@gmail.com> Reviewed-by: Frank Barchard <fbarchard@google.com> Commit-Queue: Frank Barchard <fbarchard@google.com>
2017-11-08Revert "Enable SSE2 code without -msse"Frank Barchard
This reverts commit 01e994d74e4e3937ee1a3efdc048320a1e51f818. Change-Id: Ie76710d0f4e641e071889c5125fd3be23cdcdb59 Reviewed-on: https://chromium-review.googlesource.com/758499 Reviewed-by: Frank Barchard <fbarchard@google.com>
2017-11-08Enable SSE2 code without -msseFrank Barchard
Bug: libyuv:754 Test: CC=clang CXX=clang++ CFLAGS="-m32" CXXFLAGS="-m32 -mno-sse -O2" make -f linux.mk Change-Id: I74bf8d032013694e65ea7637bc38d3253db53ff2 Reviewed-on: https://chromium-review.googlesource.com/758043 Reviewed-by: Frank Barchard <fbarchard@google.com>
2017-07-21Rename convert to yuvconvert for linux.mkFrank Barchard
TBR=kjellander@chromium.org BUG=None TEST=make -f linux.mk Change-Id: I747c2eb6ed03cacddf3265e65088472507f3436c Reviewed-on: https://chromium-review.googlesource.com/581874 Commit-Queue: Frank Barchard <fbarchard@google.com> Reviewed-by: Frank Barchard <fbarchard@google.com>
2017-01-27Rename mips source files to dspr2.Frank Barchard
Add MSA detect to unittest. Change macro to disable DSPR2 code to LIBYUV_DISABLE_DSPR2 BUG=libyuv:634 TEST=try bots Change-Id: I9e0aa2452204fc529bb6f9e6fd93c4e1c379bba6 Reviewed-on: https://chromium-review.googlesource.com/433463 Reviewed-by: Henrik Kjellander <kjellander@chromium.org> Commit-Queue: Frank Barchard <fbarchard@google.com>
2016-07-06Remove -lc++ link and document -fno-exceptionsFrank Barchard
-lc++ can cause link error on some systems and is not necessary on gcc 4.6+ so remove the link option and document how to build for gcc 4.4 TEST=CC=gcc-4.4 CXXFLAGS=-fno-exceptions CXX=g++-4.4 make -f linux.mk clean all BUG=libyuv:616 Review URL: https://codereview.chromium.org/2126703003 .
2016-07-06Avoid gcc 4.4 indexing a vector_size(32) array error.Frank Barchard
Mking color conversion use simple arrays within structure, which will be referenced via register pointer. R=harryjin@google.com BUG=libyuv:616 TEST=CC=gcc-4.4 CXX=g++-4.4 LD=ld-4.4 make -f linux.mk Review URL: https://codereview.chromium.org/2127863003 .
2016-04-20Add all library source files to linux.mkFrank Barchard
Allows arm and mips linux builds. Add psnr and cpuid utility targets. BUG=libyuv:586 TESTED=make -f linux.mk TBR=kjellander@chromium.org Review URL: https://codereview.chromium.org/1906653003 .
2015-07-27Adds files and functions for rotate any, but does not hook them up to the ↵Frank Barchard
caller. rotate any R=harryjin@google.com BUG=libyuv:464 Review URL: https://webrtc-codereview.appspot.com/53769004.
2015-07-14break rotate into files by cpu in preparation for optimization.Frank Barchard
R=bcornell@google.com BUG=libyuv:464 Review URL: https://webrtc-codereview.appspot.com/51289004.
2015-06-09add scale_any to linux.mk make file.Frank Barchard
BUG=453 TESTED=untested R=harryjin@google.com Review URL: https://webrtc-codereview.appspot.com/50239004.
2015-06-09rename source files from row_posix.cc etc to row_gcc.cc to avoid gyp build ↵fbarchard@google.com
filtering out source files from build when on windows with clang. The source code contained in row_gcc.cc is gcc syntax inline assembly available for any platform that supports gcc or clang for intel cpus. BUG=440 TESTED=try bots R=harryjin@google.com Review URL: https://webrtc-codereview.appspot.com/56579004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1430 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-02-09Remove bayer format support from libyuv. This format is very rare and used ↵fbarchard@google.com
on legacy hardware. Its not well optimized and has bugs related to odd widths. Removing the format will allow tests to pass under more circumstances, run faster and allow focus on higher priority quality and performance issues. BUG=301 TESTED=local unittests build/pass on windows gyp build. R=harryjin@google.com Review URL: https://webrtc-codereview.appspot.com/38059004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1270 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-10-02cmake file for libyuv and remove -o from linux.mk for osx support.fbarchard@google.com
BUG=366 TESTED=untested R=harryjin@google.com Review URL: https://webrtc-codereview.appspot.com/31569004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1104 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-01-28Switch to CXX for linux.mkfbarchard@google.com
BUG=none TESTED=untested R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/7759005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@977 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-11-28Move scale row functions to scale_win etcfbarchard@google.com
BUG=none TEST=untested R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/4509005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@879 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-11-20rename Makefile to avoid name clash with gclient runhooksfbarchard@google.com
BUG=none TEST=none R=wuwang@google.com Review URL: https://webrtc-codereview.appspot.com/4079005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@869 16f28f9a-4ce2-e073-06de-1de4eb20be90