[FFmpeg-devel,v3] fate: add api-h264-slice test

Submitted by Michael Niedermayer on Oct. 9, 2018, 9:29 p.m.

Details

Message ID 20181009212917.GU26838@michaelspb
State New
Headers show

Commit Message

Michael Niedermayer Oct. 9, 2018, 9:29 p.m.
On Tue, Oct 09, 2018 at 01:07:15PM +0100, joshdk@ob-encoder.com wrote:
> From: Josh de Kock <joshdk@obe.tv>
> 
> This test ensures that you are able to send N number of slice NALUs in slice threaded mode to be decoded simultaneously
> ---
> 
>  Tested with `./configure --cc='cc -m32'` now, seems to be fine. Will send sample to Michael on IRC.
> 
>  tests/api/Makefile              |   1 +
>  tests/api/api-h264-slice-test.c | 212 ++++++++++++++++++++++
>  tests/fate/api.mak              |   4 +
>  tests/ref/fate/api-h264-slice   | 309 ++++++++++++++++++++++++++++++++
>  4 files changed, 526 insertions(+)
>  create mode 100644 tests/api/api-h264-slice-test.c
>  create mode 100644 tests/ref/fate/api-h264-slice

fails om mingw64 and mingw32

make -j12 fate-api-h264-slice 
TEST    api-h264-slice

Patch hide | download patch | download mbox

--- tests/ref/fate/api-h264-slice	2018-10-09 21:53:49.339321988 +0200
+++ tests/data/fate/api-h264-slice	2018-10-09 23:25:00.511437251 +0200
@@ -1,309 +0,0 @@ 
-#format: frame checksums
-#version: 2
-#hash: MD5
-#tb 0: 1/30
-#media_type 0: video
-#codec_id 0: rawvideo
-#dimensions 0: 352x288
...


wine  tests/api/api-h264-slice-test.exe 2 fate-suite//h264/crew_cif.nal api-h264-slice.h264
Couldn't read size: Success




[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact