mf/tests: Rename transform frame dumps to BMP.

This commit is contained in:
Rémi Bernon 2022-09-19 12:38:32 +02:00 committed by Alexandre Julliard
parent ec556ff54b
commit 0402d5b5a8
6 changed files with 14 additions and 14 deletions

View file

@ -55,17 +55,17 @@ mp3decdata.bin RCDATA mp3decdata.bin
h264data.bin RCDATA h264data.bin
/* Generated from running the tests on Windows */
/* @makedep: nv12frame.bin */
nv12frame.bin RCDATA nv12frame.bin
/* @makedep: nv12frame.bmp */
nv12frame.bmp RCDATA nv12frame.bmp
/* Generated from running the tests on Windows */
/* @makedep: i420frame.bin */
i420frame.bin RCDATA i420frame.bin
/* @makedep: i420frame.bmp */
i420frame.bmp RCDATA i420frame.bmp
/* Generated from running the tests on Windows */
/* @makedep: rgb32frame.bin */
rgb32frame.bin RCDATA rgb32frame.bin
/* @makedep: rgb32frame.bmp */
rgb32frame.bmp RCDATA rgb32frame.bmp
/* Generated from running the tests on Windows */
/* @makedep: rgb32frame-vp.bin */
rgb32frame-vp.bin RCDATA rgb32frame-vp.bin
/* @makedep: rgb32frame-vp.bmp */
rgb32frame-vp.bmp RCDATA rgb32frame-vp.bmp

View file

@ -2834,7 +2834,7 @@ static void test_h264_decoder(void)
ref = IMFSample_Release(output_sample);
ok(ref == 1, "Release returned %ld\n", ref);
ret = check_mf_sample_collection(output_samples, &output_sample_desc_nv12, L"nv12frame.bin");
ret = check_mf_sample_collection(output_samples, &output_sample_desc_nv12, L"nv12frame.bmp");
ok(ret == 0, "got %lu%% diff\n", ret);
IMFCollection_Release(output_samples);
@ -2897,7 +2897,7 @@ static void test_h264_decoder(void)
ref = IMFSample_Release(output_sample);
ok(ref == 1, "Release returned %ld\n", ref);
ret = check_mf_sample_collection(output_samples, &expect_output_sample_i420, L"i420frame.bin");
ret = check_mf_sample_collection(output_samples, &expect_output_sample_i420, L"i420frame.bmp");
ok(ret == 0, "got %lu%% diff\n", ret);
IMFCollection_Release(output_samples);
@ -3550,7 +3550,7 @@ static void test_color_convert(void)
ok(output_info.cbSize == actual_width * actual_height * 4, "got cbSize %#lx\n", output_info.cbSize);
ok(output_info.cbAlignment == 1, "got cbAlignment %#lx\n", output_info.cbAlignment);
load_resource(L"nv12frame.bin", &nv12frame_data, &nv12frame_data_len);
load_resource(L"nv12frame.bmp", &nv12frame_data, &nv12frame_data_len);
ok(nv12frame_data_len == 13824, "got length %lu\n", nv12frame_data_len);
input_sample = create_sample(nv12frame_data, nv12frame_data_len);
@ -3579,7 +3579,7 @@ static void test_color_convert(void)
ref = IMFSample_Release(output_sample);
ok(ref == 1, "Release returned %ld\n", ref);
ret = check_mf_sample_collection(output_samples, &output_sample_desc, L"rgb32frame.bin");
ret = check_mf_sample_collection(output_samples, &output_sample_desc, L"rgb32frame.bmp");
ok(ret <= 4 /* small and harmless diff in Wine vs Windows */, "got %lu%% diff\n", ret);
IMFCollection_Release(output_samples);
@ -4217,7 +4217,7 @@ todo_wine {
ok(output_info.cbSize == actual_width * actual_height * 4, "got cbSize %#lx\n", output_info.cbSize);
ok(output_info.cbAlignment == 0, "got cbAlignment %#lx\n", output_info.cbAlignment);
load_resource(L"nv12frame.bin", &nv12frame_data, &nv12frame_data_len);
load_resource(L"nv12frame.bmp", &nv12frame_data, &nv12frame_data_len);
ok(nv12frame_data_len == 13824, "got length %lu\n", nv12frame_data_len);
input_sample = create_sample(nv12frame_data, nv12frame_data_len);
@ -4252,7 +4252,7 @@ todo_wine {
ref = IMFSample_Release(output_sample);
ok(ref == 1, "Release returned %ld\n", ref);
ret = check_mf_sample_collection(output_samples, &output_sample_desc, L"rgb32frame-vp.bin");
ret = check_mf_sample_collection(output_samples, &output_sample_desc, L"rgb32frame-vp.bmp");
todo_wine
ok(ret == 0 || broken(ret == 25) /* w1064v1507 / w1064v1809 incorrectly rescale */, "got %lu%% diff\n", ret);
IMFCollection_Release(output_samples);