Lines Matching refs:QVideoSurfaceFormat

110     QVideoSurfaceFormat format;  in constructNull()
119 QCOMPARE(format.scanLineDirection(), QVideoSurfaceFormat::TopToBottom); in constructNull()
122 QCOMPARE(format.yCbCrColorSpace(), QVideoSurfaceFormat::YCbCr_Undefined); in constructNull()
172 QVideoSurfaceFormat format(frameSize, pixelFormat, handleType); in construct()
181 QCOMPARE(format.scanLineDirection(), QVideoSurfaceFormat::TopToBottom); in construct()
184 QCOMPARE(format.yCbCrColorSpace(), QVideoSurfaceFormat::YCbCr_Undefined); in construct()
208 QVideoSurfaceFormat format(initialSize, QVideoFrame::Format_RGB32); in frameSize()
254 QVideoSurfaceFormat format(initialSize, QVideoFrame::Format_RGB32); in viewport()
267 QVideoSurfaceFormat format(initialSize, QVideoFrame::Format_RGB32); in viewport()
278 QTest::addColumn<QVideoSurfaceFormat::Direction>("direction"); in scanLineDirection_data()
281 << QVideoSurfaceFormat::TopToBottom; in scanLineDirection_data()
284 << QVideoSurfaceFormat::BottomToTop; in scanLineDirection_data()
289 QFETCH(QVideoSurfaceFormat::Direction, direction); in scanLineDirection()
292 QVideoSurfaceFormat format(QSize(16, 16), QVideoFrame::Format_RGB32); in scanLineDirection()
298 qvariant_cast<QVideoSurfaceFormat::Direction>(format.property("scanLineDirection")), in scanLineDirection()
302 QVideoSurfaceFormat format(QSize(16, 16), QVideoFrame::Format_RGB32); in scanLineDirection()
308 qvariant_cast<QVideoSurfaceFormat::Direction>(format.property("scanLineDirection")), in scanLineDirection()
332 QVideoSurfaceFormat format(QSize(64, 64), QVideoFrame::Format_RGB32); in frameRate()
340 QVideoSurfaceFormat format(QSize(64, 64), QVideoFrame::Format_RGB32); in frameRate()
352 QTest::addColumn<QVideoSurfaceFormat::YCbCrColorSpace>("colorspace"); in yCbCrColorSpace_data()
355 << QVideoSurfaceFormat::YCbCr_Undefined; in yCbCrColorSpace_data()
357 << QVideoSurfaceFormat::YCbCr_BT709; in yCbCrColorSpace_data()
359 << QVideoSurfaceFormat::YCbCr_xvYCC601; in yCbCrColorSpace_data()
361 << QVideoSurfaceFormat::YCbCr_JPEG; in yCbCrColorSpace_data()
366 QFETCH(QVideoSurfaceFormat::YCbCrColorSpace, colorspace); in yCbCrColorSpace()
369 QVideoSurfaceFormat format(QSize(64, 64), QVideoFrame::Format_RGB32); in yCbCrColorSpace()
373 … QCOMPARE(qvariant_cast<QVideoSurfaceFormat::YCbCrColorSpace>(format.property("yCbCrColorSpace")), in yCbCrColorSpace()
377 QVideoSurfaceFormat format(QSize(64, 64), QVideoFrame::Format_RGB32); in yCbCrColorSpace()
381 … QCOMPARE(qvariant_cast<QVideoSurfaceFormat::YCbCrColorSpace>(format.property("yCbCrColorSpace")), in yCbCrColorSpace()
403 QVideoSurfaceFormat format(QSize(64, 64), QVideoFrame::Format_RGB32); in pixelAspectRatio()
410 QVideoSurfaceFormat format(QSize(64, 64), QVideoFrame::Format_RGB32); in pixelAspectRatio()
417 QVideoSurfaceFormat format(QSize(64, 64), QVideoFrame::Format_RGB32); in pixelAspectRatio()
461 QVideoSurfaceFormat format(frameSize, QVideoFrame::Format_RGB32); in sizeHint()
471 QVideoSurfaceFormat format(QSize(64, 64), QVideoFrame::Format_RGB32); in staticPropertyNames()
490 QVideoSurfaceFormat format(QSize(64, 64), QVideoFrame::Format_RGB32); in dynamicProperty()
550 QVideoSurfaceFormat format1( in compare()
552 QVideoSurfaceFormat format2( in compare()
554 QVideoSurfaceFormat format3( in compare()
556 QVideoSurfaceFormat format4( in compare()
591 format2.setScanLineDirection(QVideoSurfaceFormat::BottomToTop); in compare()
597 format1.setScanLineDirection(QVideoSurfaceFormat::BottomToTop); in compare()
627 format2.setYCbCrColorSpace(QVideoSurfaceFormat::YCbCr_xvYCC601); in compare()
633 format1.setYCbCrColorSpace(QVideoSurfaceFormat::YCbCr_xvYCC601); in compare()
681 QVideoSurfaceFormat original( in copy()
683 original.setScanLineDirection(QVideoSurfaceFormat::BottomToTop); in copy()
685 QVideoSurfaceFormat copy(original); in copy()
690 QCOMPARE(copy.scanLineDirection(), QVideoSurfaceFormat::BottomToTop); in copy()
695 copy.setScanLineDirection(QVideoSurfaceFormat::TopToBottom); in copy()
697 QCOMPARE(copy.scanLineDirection(), QVideoSurfaceFormat::TopToBottom); in copy()
699 QCOMPARE(original.scanLineDirection(), QVideoSurfaceFormat::BottomToTop); in copy()
707 QVideoSurfaceFormat copy( in assign()
710 QVideoSurfaceFormat original( in assign()
712 original.setScanLineDirection(QVideoSurfaceFormat::BottomToTop); in assign()
719 QCOMPARE(copy.scanLineDirection(), QVideoSurfaceFormat::BottomToTop); in assign()
724 copy.setScanLineDirection(QVideoSurfaceFormat::TopToBottom); in assign()
726 QCOMPARE(copy.scanLineDirection(), QVideoSurfaceFormat::TopToBottom); in assign()
728 QCOMPARE(original.scanLineDirection(), QVideoSurfaceFormat::BottomToTop); in assign()