Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Sebastien Alaiwan c6a48a2534 Drop support for CONFIG_EMULATE_HARDWARE
This experiment complexifies DSP function dispatch, without bringing
any real value (it's non-normative arbitrary behaviour).
Moreover, it only has an effect on obsolete transforms, the new ones
don't implement this mechanism.

Change-Id: Idaccdd0c14ed6b7008cd4f365c7f017ba8ccacf5
2017-04-20 18:49:39 +00:00
Sarah Parker 2f103aad88 Disable sse2 for inverse tx with emulate-hardware
This fixes compile errors when both rect-tx and emulate-hardware are
enabled.

Change-Id: I19125916bc90caf348caefe906335f9b765a2487
2017-03-06 22:59:29 +00:00
Tom Finegan 7a07ece23b Include googletest cmake support.
- Same googletest release (v1.8.0), new root in third_party.
- Update Android.mk and make build (include and file locations).
- Update cmake build (use googletest's cmake support).
- Update gtest include in all tests.

BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=76

Change-Id: I5491a2ff3c8869263cd885872c815402236c20b1
2017-02-13 18:11:11 +00:00
Angie Chiang e6aece8677 Fix RunAccuracyCheck failure
Measure the accuracy of each transform in terms of per coefficient basis.
Set up a accuracy limit corresponding to current transform
implementation.

Change-Id: Ib7db9680c963427e94e728bf453b66180ce30b89
2017-01-10 19:13:44 +00:00
Yi Luo f10cba2b39 Apply the rect fwd tx changes to SSE2 optimization
- Apply changes on tx_size: 4x8, 8x4, 8x16, 16x8.
- Turn on corresponding unit tests on SSE2.
- Partially fix aomedia:113.

Change-Id: I29d15540ab8e9e3681e9caa54e5162bcbbd7af11
2016-12-16 16:54:30 +00:00
Debargha Mukherjee f0aa420c9e Change scaling of rectangular fwd transforms
Modifies the C fwd txfms to have correct scaling. Rectangular
transforms now are always implemented in a way that the samller
side is transformed first.

The SSE2 tests are temporarily disabled until the SSSE2 code
is modified to be consistent with the C code.

Also includes a fdct32 fix.

borgtest results show a slight improvement.

Change-Id: I9417fd0b833d79e0ab13c85d3210d9ea8f2029a4
2016-12-14 06:49:57 +00:00
Yaowu Xu bde4ac8260 change to use AOMedia copyright notice
Change-Id: I82580120a154ecd7c41f4cd9bc0f8c669fca7774
2016-11-29 00:01:36 +00:00
Yi Luo 63bd6dc96b Fix rectangle transform computation overflow
- Add 16-bit saturation in fdct_round_shift().
- Add extreme value tests and round trip error tests.
- Fix inv 4x8 txfm calculation accuracy.
- Fix 4x8, 8x4, 8x16, 16x8, 16x32, 32x16 extreme value tests.
- BDRate: lowres: -0.034
          midres: -0.036
          hdres:  -0.013
BUG=webm:1340

Change-Id: I48365c1e50a03a7b1aa69b8856b732b483299fb5
2016-11-21 17:18:27 +00:00
David Barker 7825022daa Enable test system to detect transforms misusing 'stride' parameter
This would have caught the bug introduced in patch set 1 of
https://chromium-review.googlesource.com/#/c/397378/

Change-Id: I9c6d5d9c4c98aed5ac48c4fb1c4ff4131b0df1d5
2016-10-13 15:50:44 +01:00
David Barker 4d03d6fc6f Add sse2 forward / inverse 4x8 and 8x4 transforms
Change-Id: I89ed93fb20cf975c2b463cff58879521ceaa4163
2016-10-10 09:02:45 -07:00