Skip to content

Commit 3a0ad00

Browse files
georges-armFrank Barchard
authored and
Frank Barchard
committed
Use separate intermediate RGBA buffers in planar function tests
The existing tests reuse the intermediate buffers between the reference and optimized implementations. In particular the existing tests appear to pass even if the optimized implementation is completely empty, so long as it does not modify the desintation buffers since these are already filled with correct values from the reference code. To avoid this, allocate separate buffers for optimized and reference implementations to store intermediate data between function calls. Additionally remove unused buffers from HalfMergeUVPlane_Opt tests. Change-Id: I7e9ea21fc193e7be21cc24e2be0d7a122e068f6e Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/6074941 Reviewed-by: Frank Barchard <[email protected]>
1 parent 8f659da commit 3a0ad00

File tree

1 file changed

+215
-154
lines changed

1 file changed

+215
-154
lines changed

0 commit comments

Comments
 (0)