NAME

Qt::Multimedia::QVideoSurfaceFormat

PUBLIC METHODS

QVideoSurfaceFormat()
QVideoSurfaceFormat(const QVideoSurfaceFormat & format)
QVideoSurfaceFormat(const QSize & size, QVideoFrame::PixelFormat pixelFormat, QAbstractVideoBuffer::HandleType handleType)
QVideoSurfaceFormat(const QSize & size, QVideoFrame::PixelFormat pixelFormat, QAbstractVideoBuffer::HandleType handleType = QAbstractVideoBuffer::NoHandle)
~QVideoSurfaceFormat()
int frameHeight()
qreal frameRate()
QSize frameSize()
int frameWidth()
QAbstractVideoBuffer::HandleType handleType()
bool isValid()
bool operator!=(const QVideoSurfaceFormat & format)
QVideoSurfaceFormat & operator=(const QVideoSurfaceFormat & format)
bool operator==(const QVideoSurfaceFormat & format)
QSize pixelAspectRatio()
QVideoFrame::PixelFormat pixelFormat()
QVariant property(const char * name)
QList<QByteArray> propertyNames()
QVideoSurfaceFormat::Direction scanLineDirection()
void setFrameRate(qreal rate)
void setFrameSize(const QSize & size)
void setFrameSize(int width, int height)
void setPixelAspectRatio(const QSize & ratio)
void setPixelAspectRatio(int width, int height)
void setProperty(const char * name, const QVariant & value)
void setScanLineDirection(QVideoSurfaceFormat::Direction direction)
void setViewport(const QRect & viewport)
void setYCbCrColorSpace(QVideoSurfaceFormat::YCbCrColorSpace colorSpace)
QSize sizeHint()
QRect viewport()
QVideoSurfaceFormat::YCbCrColorSpace yCbCrColorSpace()

ENUM VALUES

TopToBottom
BottomToTop
YCbCr_Undefined
YCbCr_BT601
YCbCr_BT709
YCbCr_xvYCC601
YCbCr_xvYCC709
YCbCr_JPEG
YCbCr_CustomMatrix

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html