mfplat/buffer: Implement IMF2DBuffer::ContiguousCopyFrom().
commitda1885ce230ed7097b7513e7cb8abc7b7158e41e
authorGiovanni Mascellani <gmascellani@codeweavers.com>
Mon, 11 Jul 2022 10:54:25 +0000 (11 12:54 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 8 May 2023 08:55:29 +0000 (8 10:55 +0200)
treed6e3e47cfe789e93bd60f9970c4e7c63de0d4953
parentcd719c7c44e51ea592a60d6c31e26e9eb78cdd3a
mfplat/buffer: Implement IMF2DBuffer::ContiguousCopyFrom().

This is a generic implementation, which is probably fine for buffers
backed by system memory. The implementation for buffers backed by
GPU memory can probably be optimized.
dlls/mfplat/buffer.c
dlls/mfplat/tests/mfplat.c