Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qandroidvideooutput.cpp File Reference

(1f2e5d9e128a5ca13f03bf12b5529eea781515d7)

#include "qandroidvideooutput_p.h"
#include "androidsurfacetexture_p.h"
#include <rhi/qrhi.h>
#include <QtGui/private/qopenglextensions_p.h>
#include <private/qhwvideobuffer_p.h>
#include <private/qvideoframeconverter_p.h>
#include <private/qplatformvideosink_p.h>
#include <private/qvideoframe_p.h>
#include <qvideosink.h>
#include <qopenglcontext.h>
#include <qopenglfunctions.h>
#include <qvideoframeformat.h>
#include <qthread.h>
#include <qfile.h>
#include "qandroidvideooutput.moc"
#include "moc_qandroidvideooutput_p.cpp"
Include dependency graph for qandroidvideooutput.cpp:

Go to the source code of this file.

Classes

class  QAndroidVideoFrameTextures
class  QRhiWithThreadGuard
class  AndroidTextureVideoBuffer
class  ImageFromVideoFrameHelper
class  TextureCopy
class  AndroidTextureThread

Functions

static std::unique_ptr< QRhiGraphicsPipelinenewGraphicsPipeline (QRhi *rhi, QRhiShaderResourceBindings *shaderResourceBindings, QRhiRenderPassDescriptor *renderPassDescriptor, QShader vertexShader, QShader fragmentShader)
static QMatrix4x4 extTransformMatrix (AndroidSurfaceTexture *surfaceTexture)

Variables

static const float g_quad []

Function Documentation

◆ extTransformMatrix()

QMatrix4x4 extTransformMatrix ( AndroidSurfaceTexture * surfaceTexture)
static

Definition at line 254 of file qandroidvideooutput.cpp.

◆ newGraphicsPipeline()

std::unique_ptr< QRhiGraphicsPipeline > newGraphicsPipeline ( QRhi * rhi,
QRhiShaderResourceBindings * shaderResourceBindings,
QRhiRenderPassDescriptor * renderPassDescriptor,
QShader vertexShader,
QShader fragmentShader )
static

Definition at line 177 of file qandroidvideooutput.cpp.

Variable Documentation

◆ g_quad

const float g_quad
static
Initial value:
= {
-1.f, -1.f, 0.f, 0.f,
-1.f, 1.f, 0.f, 1.f,
1.f, 1.f, 1.f, 1.f,
1.f, -1.f, 1.f, 0.f
}

Definition at line 121 of file qandroidvideooutput.cpp.