QDebug operator<< ( QDebug os, const VideoFormat & videoFormat ){ os << "w: " << videoFormat.frameWidth() << ", h: " << videoFormat.frameHeight() << ", fps: " << videoFormat.framesPerSecond() << ", count: " << videoFormat.frameCount() << ", type: " << videoFormat.type(); return os; }
VdaMixer::VdaMixer(const QList<OpenGLTexture2D> &textures, const VideoFormat &format) : m_textures(textures) { Q_ASSERT(format.imgfmt() == IMGFMT_VDA); m_direct = ::directRendering(format.type()); }