View Full Version : YUY2-test-picture
WarpEnterprises
5th December 2002, 21:24
Wouldn't it be nice to have a test picture in YUY2 (huffyuy) containing some colors beyond the "RGB"-color space?
(to test the clipping and converting behaviour of filters and encoders)
It seems not trivial to make one as the color of all SourceFilters can be set in RGB only.
How to get or make one?
scmccarthy
6th December 2002, 07:11
I have already written a filter that converts to RGB without clipping just to see how much clipping is nesessary. Also I wrote a filter to display the ITU-R BT.801 color bars in YUY2. Computer displays are in RGB only, so any YUY2 test picture will be displayed in RGB.
So let me know if that interests you.
Stephen
WarpEnterprises
6th December 2002, 14:37
Of course, could you please mail me the source and dll for your color bar filter?
scmccarthy
8th December 2002, 07:54
I am having no luck emailing you.
Stephen
WarpEnterprises
8th December 2002, 22:51
Thanks, will test it ASAP
WarpEnterprises
16th December 2002, 23:31
As your filter was 2.5 and I'm still 2.0 I tried to recompile, had to learn a little C++ and modified the filter in that it now produces
256 frames, 256x256 with all possible shades of YUY2.
The funny thing is that the output of huffyuy is NOT the same as the original output (there are some moiré patterns).
Maybe it's useful for color clipping experiments.
scmccarthy
17th December 2002, 01:40
That's cool.
The main thing is it is a good example of how to write a filter that does not take a clip argument. I forget that I am an early adopter of 2.5.
Stephen
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.