added PSNR function to imgproc; refactored highgui positioning test (which still fails)

This commit is contained in:
Vadim Pisarevsky
2012-04-25 14:31:54 +00:00
parent bd49b9b8aa
commit fb292b1b27
5 changed files with 201 additions and 239 deletions

View File

@@ -61,7 +61,19 @@ namespace cvtest
{
string fourccToString(int fourcc);
struct VideoFormat
{
VideoFormat() { fourcc = -1; }
VideoFormat(const string& _ext, int _fourcc) : ext(_ext), fourcc(_fourcc) {}
bool empty() const { return ext.empty(); }
string ext;
int fourcc;
};
extern const VideoFormat g_specific_fmt_list[];
}
#endif