Rémi Bernon : mf/tests: Add tests changing the H264 decoder output video format.

Alexandre Julliard julliard at winehq.org
Mon May 2 16:02:08 CDT 2022


Module: wine
Branch: master
Commit: 29c67fb3ae026594b860c8a381dcca3127c8da24
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=29c67fb3ae026594b860c8a381dcca3127c8da24

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Thu Apr 28 12:24:39 2022 +0200

mf/tests: Add tests changing the H264 decoder output video format.

The h264data.bin source has been re-generated with a static pattern to
avoid differences between the nv12 and i420 frames. The output format
changes apparently drops some decoded frames in a way that's not really
relevant and may make the GStreamer implementation harder:

gst-launch-1.0 videotestsrc num-buffers=60 pattern=smpte100 ! \
    video/x-raw,format=I420,width=82,height=84,framerate=30000/1001 ! \
    videoconvert ! x264enc ! filesink location=dlls/mf/tests/h264data.bin

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mf/tests/h264data.bin  | Bin 52276 -> 2330 bytes
 dlls/mf/tests/i420frame.bin |   1 +
 dlls/mf/tests/mf.c          |  77 +++++++++++++++++++++++++++++++++++++++++---
 dlls/mf/tests/nv12frame.bin | Bin 13824 -> 13824 bytes
 dlls/mf/tests/resource.rc   |   3 ++
 5 files changed, 76 insertions(+), 5 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=29c67fb3ae026594b860c8a381dcca3127c8da24



More information about the wine-cvs mailing list