mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-10-28 18:07:12 +08:00
Commit Graph
Select branches
Hide Pull Requests
chrome-m149
infra/config
main
stable
Select branches
Hide Pull Requests
chrome-m149
infra/config
main
stable
-
caf3952548
YUV and ARGB to RGB formats w/ Any variations to allow destination to be misaligned and any number of bytes BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/368009
fbarchard@google.com
2012-01-27 01:45:22 +00:00 -
56c1847fd5
bump version to match revision. add unittest BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/369016
fbarchard@google.com
2012-01-26 22:37:31 +00:00 -
2fc56673c1
cpuid build fix for linux/non BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/366007
fbarchard@google.com
2012-01-26 19:05:59 +00:00 -
e3ebe7a5cd
Neon instructions detect without using NDK so it will work within Android, and on other linux arm based platforms and builds BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/358008
fbarchard@google.com
2012-01-26 02:14:52 +00:00 -
0abb8dda2d
detect neon for ndk but not sdk BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/366005
fbarchard@google.com
2012-01-25 19:34:49 +00:00 -
7be186ab2b
Add libyuv/version.h header to help users determine api BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/369009
fbarchard@google.com
2012-01-24 20:57:38 +00:00 -
5343a7301b
Make Bayer functions with same parameters as RGB conversions allowing consistant usage and testing. Functions are implemented with wrappers to single function for 4 fourccs. New I420ToBayer functions implemented similar to 2 step I420ToRGB565 etc. BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/367002
fbarchard@google.com
2012-01-24 19:43:29 +00:00 -
9460279178
scale function relaxed pointer checks and unrolled scale34 and scale38 BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/369004
fbarchard@google.com
2012-01-21 06:46:34 +00:00 -
42831e0aae
Mirror a plane at a time so each can check cpu/alignment independently BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/370001
fbarchard@google.com
2012-01-21 02:54:17 +00:00 -
ba03e4d99e
Relax alignment checks especially when doing 2 step conversions BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/368004
fbarchard@google.com
2012-01-21 00:16:29 +00:00 -
510fe70cb5
Assembly tuned for rgb565 etc functions. pipelines for atom/core2. BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/368002
fbarchard@google.com
2012-01-20 19:12:48 +00:00 -
882ddbd9c2
wrapper for yuv to argb that handles destination misalignment and odd widths by using a memcpy BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/364001
fbarchard@google.com
2012-01-20 18:10:14 +00:00 -
0e6ce93c84
address munge for rowreverse. And computer green mask based on red mask to save one shift. BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/363001
fbarchard@google.com
2012-01-20 00:42:00 +00:00 -
d1943b39e5
add dest alignment check for NV12ToARGB BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/360003
fbarchard@google.com
2012-01-19 21:24:15 +00:00 -
fc99814a92
NV12ToARGB function for ios BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/352014
fbarchard@google.com
2012-01-19 19:20:06 +00:00 -
1eb4034778
ConvertFrom remove sample size and add stride BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/356001
fbarchard@google.com
2012-01-19 18:54:35 +00:00 -
24d2656b65
ARGBToRGB24 and ARGBToRAW optimized BUG=none TEST=media_unittest Review URL: https://webrtc-codereview.appspot.com/348013
fbarchard@google.com
2012-01-19 01:45:57 +00:00 -
8af21a57f5
remove wrapper functions that call 2 row functions internally BUG=none TEST=still builds/runs Review URL: https://webrtc-codereview.appspot.com/350016
fbarchard@google.com
2012-01-19 00:28:31 +00:00 -
9eefb2e8dd
ARGBToRGB functions optimized BUG=none TEST=media_unittest.exe --gunit_catch_exceptions=0 --yuvconverter_repeat=1000 --gunit_filter=LmiVideoFrameTest.ConvertTo*R* Review URL: https://webrtc-codereview.appspot.com/355002
fbarchard@google.com
2012-01-18 23:56:30 +00:00 -
782659b07c
ConvertFromI420Stride is same as ConvertFromI420 but accepts a stride per row. Only works on single plane formats BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/353007
fbarchard@google.com
2012-01-18 21:25:06 +00:00 -
ecb3f4cc4e
Reorder functions for consistency when doing RGB functions. Order should now be ARGB, BGRA, ABGR, RGB24, RAW, RGB565, ARGB1555, ARGB4444 BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/352013
fbarchard@google.com
2012-01-18 18:54:51 +00:00 -
44477b260a
RGB565 etc to I420 had UV function pointer set wrong for _C version. BUG=none TEST=media_unittest Review URL: https://webrtc-codereview.appspot.com/353006
fbarchard@google.com
2012-01-18 00:27:58 +00:00 -
1de81bca84
NV12ToRGB565 rewritten. Row functions with SSSE3 and NEON. Stride by bytes (bug fix). Handle odd sizes. Support inversion. BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/344012
fbarchard@google.com
2012-01-13 19:27:42 +00:00 -
ccd6d9b2de
ARGB1555ToARGBRow_SSE2 BUG=none TEST=media_unittest Review URL: http://webrtc-codereview.appspot.com/349006
fbarchard@google.com
2012-01-13 19:26:50 +00:00 -
6aa761da6d
RGB565ToARGB_SSE2 BUG=none TEST=media_unittest Review URL: http://webrtc-codereview.appspot.com/347011
fbarchard@google.com
2012-01-13 00:59:49 +00:00 -
ba1f526926
rewrite of I420ToRGB565 etc using row functions BUG=none TEST=media_unittest Review URL: http://webrtc-codereview.appspot.com/345004
fbarchard@google.com
2012-01-12 19:22:41 +00:00 -
20005e64e3
fix convertToI420 rowbytes and add assembly calls BUG=none TEST=camtool Review URL: http://webrtc-codereview.appspot.com/343008
fbarchard@google.com
2012-01-11 21:16:10 +00:00 -
17272be539
SSE2 version of 4444 to 8888 BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/344005
fbarchard@google.com
2012-01-11 20:22:35 +00:00 -
a7d977ceae
RGBP, RGBO, R444 fourcc support BUG=none TEST=camtool with xo175 Review URL: http://webrtc-codereview.appspot.com/347001
fbarchard@google.com
2012-01-09 20:01:08 +00:00 -
61c9b20bd6
Fix video_common.h path.
andrew@webrtc.org
2012-01-05 18:23:37 +00:00 -
ea8d0eb0d1
ScaleFilterRows optimized for NEON.
frkoenig@google.com
2012-01-04 23:04:07 +00:00 -
17f198cd46
cleanup of include order, std include comments on what function they are for, and guard naming to match folder BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/333028
fbarchard@google.com
2012-01-04 02:21:05 +00:00 -
6011ff7353
Fix YUVToARGB/BGRA/ABGR linking.
frkoenig@google.com
2012-01-04 00:15:17 +00:00 -
7a24bd8577
allow null dst_y on biplanar and triplanar functions BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/335015
fbarchard@google.com
2012-01-03 23:54:00 +00:00 -
8dd523da69
subs sooner for neon and remove unnecessary alignment check for SplitUV_NEON BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/335014
fbarchard@google.com
2012-01-03 23:06:18 +00:00 -
afcde1b226
Adding video_common to libyuv include list Review URL: http://webrtc-codereview.appspot.com/331018
mikhal@webrtc.org
2011-12-27 23:59:42 +00:00 -
0090434e53
libyuv: Moving video_common to the include directory and updating rgb convert orientation. Review URL: http://webrtc-codereview.appspot.com/333022
mikhal@webrtc.org
2011-12-27 23:22:44 +00:00 -
0000a2ad52
.private_extern for OSX 32 bit but not for other platforms BUG=none TEST=build and run scale and rotate. Review URL: http://webrtc-codereview.appspot.com/330014
fbarchard@google.com
2011-12-21 18:30:15 +00:00 -
c9911bcba1
more functions added for convertFromI420 BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/333015
fbarchard@google.com
2011-12-21 03:37:37 +00:00 -
52f5bb91be
A ConvertFromI420 function. Supports basic conversion with no clipping, inversion or rotation, for a subset of formats - most of the single plane formats, all 3 plane formats and no 2 plane formats. (ie nv12) BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/329011
fbarchard@google.com
2011-12-21 02:06:21 +00:00 -
62e63b25ff
Remove .global from asm blocks to reduce external visibility BUG=none TEST=functions still build/link on 32 bit linux/osx Review URL: http://webrtc-codereview.appspot.com/330011
fbarchard@google.com
2011-12-21 00:04:04 +00:00 -
9d206a29cd
cygwin compatibility fix for ifdef underscores, and __inline for C vs inline which is C++ BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/335003
fbarchard@google.com
2011-12-19 19:04:46 +00:00 -
aebc430478
ConvertToI420 accept I400 BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/328009
fbarchard@google.com
2011-12-16 21:02:53 +00:00 -
8b6d7d72f9
I400 to 420 for MJPG internals BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/328008
fbarchard@google.com
2011-12-16 19:43:29 +00:00 -
45b9ef0f6a
scale call copyplane in planarfunctions BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/335002
fbarchard@google.com
2011-12-16 03:34:09 +00:00 -
75df30c1da
YUY2ToI420 handle unaligned pointers BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/329001
fbarchard@google.com
2011-12-15 23:57:14 +00:00 -
103878d59f
push esi/edi changed to mov eax, esi mov edx, edi BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/330004
fbarchard@google.com
2011-12-15 22:50:56 +00:00 -
2f11976b88
munged addressing for copyrows BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/333001
fbarchard@google.com
2011-12-15 21:49:03 +00:00 -
e7ae4e1062
nv12 stores ordered for better core2 performance. 221->211ms BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/330001
fbarchard@google.com
2011-12-15 20:01:43 +00:00 -
373cdbdc58
reorder stores for FastConvertYUVToABGRRow_SSSE3 and FastConvertYUVToBGRARow_SSSE3. ReverseRow_SSE2. cpu detect allow environment variable override set LIBYUV_DISABLE_SSSE3=1 set LIBYUV_DISABLE_SSE2=1. Reorder stores in rotate for core2 BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/317010
fbarchard@google.com
2011-12-14 21:10:07 +00:00 -
8b9759c4a7
I400ToARGB use 8.8 fixed point to avoid a shift. gcc generate constants to avoid fpic performance stall BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/322013
fbarchard@google.com
2011-12-14 04:17:39 +00:00 -
9cece4b198
change int8 to signed char for compatibility with chromium type BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/318012
fbarchard@google.com
2011-12-14 02:05:23 +00:00 -
5a277f87d9
Fix codereview.settings for git.
andrew@webrtc.org
2011-12-13 23:58:07 +00:00 -
3fe369661a
FastConvertYUVToARGBRow_SSSE3 use 2 pack and then 2 stores, which works better on Core2 BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/323007
fbarchard@google.com
2011-12-13 02:49:22 +00:00 -
19a248ab63
fix for underscore on gcc 32 bit for linux BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/325001
fbarchard@google.com
2011-12-12 20:21:52 +00:00 -
fe5ff7ed54
clang on linux prefers no args for rep movsl/stosl. ifdef for C that removes namespace. extern c allows c++ to be used to compile, including with namespace, but C program can link libyuv BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/320004
fbarchard@google.com
2011-12-10 07:45:58 +00:00 -
abe1613f51
Remove missing headers from libyuv.gyp. Review URL: http://webrtc-codereview.appspot.com/321002
andrew@webrtc.org
2011-12-09 19:12:19 +00:00 -
1d61cd91bb
mingw behaves like apple as far as labels go BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/322002
fbarchard@google.com
2011-12-08 19:57:48 +00:00 -
e0bf6f0934
Fix build for OSX.
frkoenig@google.com
2011-12-07 01:54:13 +00:00 -
e5ffa14f31
CopyRow_X86 for gcc BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/300007
fbarchard@google.com
2011-12-05 22:45:32 +00:00 -
c2b74366ec
CopyRows_X86 had parameters wrong TESTED=videotool save to file NEEDS_QA=false Review URL: http://webrtc-codereview.appspot.com/304006
fbarchard@google.com
2011-12-02 23:19:27 +00:00 -
ca26f860b9
ARGBRect use SetRows32 to do full image. 744 ms -> 288 ms on Linux, 688 ms -> 277 ms on Mac. Started ARGBCopy function. BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/290006
fbarchard@google.com
2011-12-01 23:29:14 +00:00 -
120b8d7ee7
ARGBRect optimized for visual c that will do rep stosd. Fix x/y calculation. BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/292008
fbarchard@google.com
2011-11-28 19:28:41 +00:00 -
3e8a577bb3
add ARGBRect, fix for 444 support in ConvertToI420 BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/289003
fbarchard@google.com
2011-11-23 18:58:38 +00:00 -
10f5556a9f
I444 fourcc and ConvertToI420 support BUG=none TEST=untested Review URL: http://webrtc-codereview.appspot.com/290001
fbarchard@google.com
2011-11-23 00:01:24 +00:00 -
1c5136d069
use IS_ALIGNED for width and stride to avoid mod that generates 6 instructions BUG=none TEST=disassemble to confirm smaller/simplier alignment checks Review URL: http://webrtc-codereview.appspot.com/287001
fbarchard@google.com
2011-11-22 18:15:17 +00:00 -
3c00cf04f3
inline cpuid for better branch prediction BUG=none TEST=disassembly shows 6 instructions (due to auto init) Review URL: http://webrtc-codereview.appspot.com/285001
fbarchard@google.com
2011-11-22 00:40:39 +00:00 -
12d048335d
I420Mirror rewrite, I420Copy movdqa, I444To420, I420To422 Review URL: http://webrtc-codereview.appspot.com/267025
fbarchard@google.com
2011-11-21 23:54:38 +00:00 -
1616c315e0
I420ToYUY2 SSE2 version. 5.5x faster BUG=none TEST=LmiVideoFrameTest.ConvertToYUY2Buffer Review URL: http://webrtc-codereview.appspot.com/283001
fbarchard@google.com
2011-11-20 18:34:15 +00:00 -
5e56498d4b
Fix FastConvertYUVToABGRRow_SSSE3 for posix.
frkoenig@google.com
2011-11-19 01:43:44 +00:00 -
93d003f874
YUVToARGB, YUVToBGRA,YUVToABGR optimized.
frkoenig@google.com
2011-11-19 01:39:57 +00:00 -
bc8f28eb52
remove row table, make C use math that mimics SIMD for exactness. Also 2x faster than old code which mimiced old SIMD via tables. 9000 ms instead of 20000 ms BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/267020
fbarchard@google.com
2011-11-18 21:03:54 +00:00 -
15c3d45cbe
Change WIN32 to _M_IX86 and use YUV_DISABLE_ASM consistently BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/277008
fbarchard@google.com
2011-11-17 22:13:17 +00:00 -
1c2d8be1e1
port yuv to rgb to mac BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/269017
fbarchard@google.com
2011-11-17 21:57:54 +00:00 -
8219d27a19
i422 to i420 sse2 BUG=none TEST=media_unittest Review URL: http://webrtc-codereview.appspot.com/269016
fbarchard@google.com
2011-11-16 19:06:31 +00:00 -
c59000bf0f
osx 64 bit does not want _ in variable names BUG=none TEST=build with m64 Review URL: http://webrtc-codereview.appspot.com/268011
fbarchard@google.com
2011-11-15 22:27:45 +00:00 -
228bdc24e4
port yuv to rgb ssse3 to gcc BUG=none TEST=media_unittest Review URL: http://webrtc-codereview.appspot.com/269015
fbarchard@google.com
2011-11-15 21:58:26 +00:00 -
4cf70bd6db
compare SumSquareError_SSE2 ported to gcc BUG=none TEST=media_unittest Review URL: http://webrtc-codereview.appspot.com/279005
fbarchard@google.com
2011-11-15 18:44:31 +00:00 -
2430e04e0a
fix internal compiler error on mac by removing const from vectors BUG=none TEST=compile on mac Review URL: http://webrtc-codereview.appspot.com/266013
fbarchard@google.com
2011-11-11 21:57:06 +00:00 -
eaedc1d727
remove mmx functions BUG=none TEST=builds Review URL: http://webrtc-codereview.appspot.com/269010
fbarchard@google.com
2011-11-11 18:41:47 +00:00 -
c82af4a59c
Order includes.
frkoenig@google.com
2011-11-11 00:54:34 +00:00 -
d4ff5b42e6
document ConvertToI420 parameters BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/267008
fbarchard@google.com
2011-11-11 00:06:01 +00:00 -
1b06484b4a
libyuv: clean up: 1. Removing libyuv:: when not needed 2. Test clean-up Review URL: http://webrtc-codereview.appspot.com/279002
mikhal@webrtc.org
2011-11-10 23:58:32 +00:00 -
f7a5048f54
align asm new line to column 48 BUG=none TEST=builds Review URL: http://webrtc-codereview.appspot.com/268008
fbarchard@google.com
2011-11-10 22:41:20 +00:00 -
2cb934c624
PSNR and SSIM plane comparision functions.
frkoenig@google.com
2011-11-10 20:52:24 +00:00 -
6334808d9d
remove _ from simd in row BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/270006
fbarchard@google.com
2011-11-10 20:48:35 +00:00 -
75988ad3a8
remove align16 macro BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/266012
fbarchard@google.com
2011-11-10 20:28:35 +00:00 -
706fc412ad
move code from table to common BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/269009
fbarchard@google.com
2011-11-10 20:13:57 +00:00 -
124b76e5c9
add a comparison function BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/270005
fbarchard@google.com
2011-11-10 20:13:42 +00:00 -
b744e3734a
libyuv: Updating general functions: 1. Deleting Crop and CropPad functions 2. Moving I420Mirror to planar functions 3. deleting general.h and general.cc Review URL: http://webrtc-codereview.appspot.com/269008
mikhal@webrtc.org
2011-11-10 18:44:37 +00:00 -
d93d4486eb
row functions for windows use ssse3 for yuv to rgb. mac use sse3 for rgb to yuv Review URL: http://webrtc-codereview.appspot.com/267007
fbarchard@google.com
2011-11-10 18:26:20 +00:00 -
82ba1b77ae
bayer off by one on width BUG=none TEST=media_unittest Review URL: http://webrtc-codereview.appspot.com/276003
fbarchard@google.com
2011-11-08 19:35:52 +00:00 -
86e9487d0d
Fix for InitCpuFlags for android. Review URL: http://webrtc-codereview.appspot.com/277001
frkoenig@google.com
2011-11-08 00:12:33 +00:00 -
8f4e45029f
bump revision to r62 BUG=none TEST=none Review URL: http://webrtc-codereview.appspot.com/275001
fbarchard@google.com
2011-11-07 23:23:58 +00:00 -
e518542da5
ifdef platform specific code.
frkoenig@google.com
2011-11-07 23:07:57 +00:00 -
b61497636a
ARGB to and from I420 ported to x64 BUG=none TEST=media_unittests Review URL: http://webrtc-codereview.appspot.com/266003
fbarchard@google.com
2011-11-07 21:58:52 +00:00 -
755de365c4
Change add + shift syntax for arm assembly.
frkoenig@google.com
2011-11-03 23:33:01 +00:00 -
f7e74a1a6f
Move neon rotate code from straight assembly to inline.
frkoenig@google.com
2011-11-03 22:41:59 +00:00 -
7aa6f06e70
Avoid using Q4-Q7 registers for NEON.
frkoenig@google.com
2011-11-03 00:54:50 +00:00 -
799796b272
avoid xmm7 in formatconversion BUG=none TEST=build/run on linux Review URL: http://webrtc-codereview.appspot.com/255010
fbarchard@google.com
2011-11-02 23:06:50 +00:00