diff options
author | Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> | 2022-12-21 08:34:00 +0100 |
---|---|---|
committer | libyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-01-03 20:27:28 +0000 |
commit | f583b1b4b82ef71eba776c3591c82227db615c75 (patch) | |
tree | 0e54e887255e06585ea42996ad14c6e6a563a002 /unit_test | |
parent | 3abd6f36b6e4f5a2e0ce236580a8bc1da3c7cf7e (diff) | |
download | libyuv-f583b1b4b82ef71eba776c3591c82227db615c75.tar.gz |
Add I410Copy and I410ToI420 methods
The I410To420 implementation does a two step approach for scaling down and 10-to-8 bit conversion using the Y plane as temporal storage.
Bug: libyuv:950
Change-Id: I3d35fad4b99e17253230456233fbd947e013c0ec
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4110783
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'unit_test')
-rw-r--r-- | unit_test/convert_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unit_test/convert_test.cc b/unit_test/convert_test.cc index 89ff99ba..0d6df154 100644 --- a/unit_test/convert_test.cc +++ b/unit_test/convert_test.cc @@ -180,6 +180,7 @@ TESTPLANARTOP(I212, uint16_t, 2, 2, 1, I012, uint16_t, 2, 2, 2, 12) TESTPLANARTOP(I010, uint16_t, 2, 2, 2, I420, uint8_t, 1, 2, 2, 10) TESTPLANARTOP(I210, uint16_t, 2, 2, 1, I420, uint8_t, 1, 2, 2, 10) TESTPLANARTOP(I210, uint16_t, 2, 2, 1, I422, uint8_t, 1, 2, 1, 10) +TESTPLANARTOP(I410, uint16_t, 2, 1, 1, I420, uint8_t, 1, 2, 2, 10) TESTPLANARTOP(I410, uint16_t, 2, 1, 1, I444, uint8_t, 1, 1, 1, 10) TESTPLANARTOP(I012, uint16_t, 2, 2, 2, I420, uint8_t, 1, 2, 2, 12) TESTPLANARTOP(I212, uint16_t, 2, 2, 1, I422, uint8_t, 1, 2, 1, 12) |