libreoffice-online/test
Michael Meeks 6c382f5415 rle: optimize inner loop bit-bashing.
Simplified code:

+ re-use the bit mask as an inner loop counter.
+ turn alpha only rows into zero length with agreed lastPix.
+ keep lastPix around on the stack.
+ handle odd widths in a duplicate slow-path

Change-Id: Ibc7630f7187ea5f4904c6fed14dda28cdfbf7523

rle: further optimize the pixel reading & de-compression.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Ifcaaa45d1de6532b3fd43015c47a37daf56c2ea5
2023-07-31 21:31:13 +01:00
..
data drop non-standard width=400 height=400 tile request in unit test 2023-06-23 16:55:25 +01:00
traces
.gitignore
countcoolkits.hpp wsd: test: time countCoolKitProcesses to catch slow unloads 2023-05-02 19:54:31 -04:00
DeltaTests.cpp rle: optimize inner loop bit-bashing. 2023-07-31 21:31:13 +01:00
fakesockettest.cpp
helpers.hpp deltas: more unit tests for wire-id fun. 2023-07-18 09:43:34 +02:00
httpcrashtest.cpp wsd: test: enable testCrashForkit 2023-07-12 07:00:41 -04:00
HttpRequestTests.cpp killpoco: replace HTTP status codes 2023-05-11 07:21:42 -04:00
HttpTestServer.hpp wsd: better socket logging 2023-04-14 11:30:14 +01:00
HttpWhiteBoxTests.cpp killpoco: replace HTTP status codes 2023-05-11 07:21:42 -04:00
httpwstest.cpp wsd: test: testInactiveClient may get jsdsialog message 2023-06-20 09:42:49 +02:00
integration-http-server.cpp killpoco: replace HTTP status codes 2023-05-11 07:21:42 -04:00
lokassert.hpp
Makefile.am wsd: test: merge UnitWopiUnlock into UnitWOPILock.cpp 2023-07-08 04:19:00 -04:00
RequestDetailsTests.cpp
run_unit.sh.in
run_unit_standalone.sh.in
StringVectorTests.cpp
test.cpp
test.hpp
testlog.hpp
TileCacheTests.cpp deltas: more unit tests for wire-id fun. 2023-07-18 09:43:34 +02:00
TileQueueTests.cpp
UnitAdmin.cpp
UnitBadDocLoad.cpp
UnitCalc.cpp drop non-standard width=400 height=400 tile request in unit test 2023-06-23 16:55:25 +01:00
UnitClient.cpp
UnitClose.cpp
UnitConvert.cpp
UnitCopyPaste.cpp wsd: test: minor improvements to UnitCopyPaste 2023-07-08 04:19:00 -04:00
UnitCursor.cpp
UnitEachView.cpp
UnitFuzz.cpp
UnitHosting.cpp killpoco: replace HTTP status codes 2023-05-11 07:21:42 -04:00
UnitHTTP.cpp
UnitHTTP.hpp
UnitInsertDelete.cpp
UnitLargePaste.cpp
UnitLoad.cpp wsd: test: correct message example in comment 2023-06-20 03:55:19 -04:00
UnitLoadTorture.cpp
UnitOAuth.cpp WaE: -Werror,-Winconsistent-missing-override 2023-06-21 16:40:47 +01:00
UnitPasswordProtected.cpp
UnitPaste.cpp
UnitPrefork.cpp wsd: better newChild unit-test event 2023-07-08 04:19:00 -04:00
UnitQuarantine.cpp wsd: better always-save-on-exit handling 2023-07-12 07:00:41 -04:00
UnitRenderingOptions.cpp
UnitRenderSearchResult.cpp
UnitRenderShape.cpp
UnitSession.cpp wsd: test: testname in UnitSession 2023-05-22 09:34:29 -04:00
UnitStorage.cpp
UnitTiffLoad.cpp
UnitTileCache.cpp
UnitTimeout.cpp
UnitTyping.cpp drop non-standard width=400 height=400 tile request in unit test 2023-06-23 16:55:25 +01:00
UnitUNOCommand.cpp
UnitWOPI.cpp
UnitWOPIAsyncUpload_ModifyClose.cpp
UnitWOPICrashModified.cpp cid#318916 Uninitialized scalar field 2023-06-14 10:10:46 +02:00
UnitWOPIDocumentConflict.cpp wsd: test: refactor assertGetFileRequest into the handler 2023-06-20 03:55:19 -04:00
UnitWOPIFailUpload.cpp wsd: better always-save-on-exit handling 2023-07-12 07:00:41 -04:00
UnitWOPIFileUrl.cpp wsd: test: use sendAndShutdown 2023-06-20 03:55:19 -04:00
UnitWOPIHttpHeaders.cpp WaE: -Werror,-Winconsistent-missing-override 2023-06-21 16:40:47 +01:00
UnitWOPIHttpRedirect.cpp wsd: test: reuse getDefaultCheckFileInfoPayload 2023-06-20 03:55:19 -04:00
UnitWOPILanguages.cpp
UnitWOPILoadEncoded.cpp
UnitWOPILock.cpp wsd: test: new UnitWopiLockReadOnly test 2023-07-12 07:00:41 -04:00
UnitWopiOwnertermination.cpp wsd: test: better Ownertermination test 2023-05-31 07:40:11 -04:00
UnitWOPIRenameFile.cpp
UnitWOPISaveAs.cpp
UnitWOPISaveAsWithEncodedFileName.cpp
UnitWOPISaveOnExit.cpp wsd: better modification detection after saving 2023-07-12 07:00:41 -04:00
UnitWOPISlow.cpp wsd: test: new test for superfluous save commands 2023-04-28 06:58:58 -04:00
UnitWOPIStuckSave.cpp
UnitWOPITemplate.cpp wsd: test: use sendAndShutdown 2023-06-20 03:55:19 -04:00
UnitWOPIVersionRestore.cpp
UnitWOPIWatermark.cpp wsd: test: minor cleanup of UnitWOPIWatermark 2023-06-20 03:55:19 -04:00
UnitWSDClient.hpp wsd: test: modernize password tests 2022-12-12 18:17:14 -05:00
UtilTests.cpp
WhiteBoxTests.cpp deltas: fold the update: command back into an empty delta: command. 2023-07-17 11:35:25 +02:00
WopiProofTests.cpp
WopiTestServer.hpp wsd: test: use configCheckFileInfo instead of handleHttpRequest 2023-06-20 03:55:19 -04:00
WOPIUploadConflictCommon.hpp wsd: test: better upload conflict test setup 2023-05-31 07:40:11 -04:00