summaryrefslogtreecommitdiffstats
path: root/src/plugins/avfoundation/camera/camera.pro
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2020-08-29 15:28:34 +0200
committerVal Doroshchuk <valentyn.doroshchuk@qt.io>2020-09-09 10:22:58 +0200
commit7ebd95868747b304f1695fe1e7f25df73774b1dc (patch)
tree9d963f3de0ffb8b82b529da9c72c8483c6b0f6d1 /src/plugins/avfoundation/camera/camera.pro
parent105168773ddba593aef6e53d5de9e45428309532 (diff)
Quick: Introduce multiple textures for NV12/NV21 video frames
For QVideoFrame::Format_NV12 and Format_NV21 formats added a possibility to provide the video frames in QAbstractVideoBuffer::GLTextureHandle, MTLTextureHandle multiple textures. Currently QVideoFrame::handle() is used to have only one texture. Which limits the video frames only for RGBA format. NV12/NV21 requires 2 textures, one for chroma and for luma components. So QVideoFrane::handle() must return a list with 2 native handlers. The patch allows to render the video frames in NV12/NV21 formats with multiple textures, using current QSGTexture's to avoid uploading/downloading the data. Change-Id: I3e6e734948a43dc77bfd2dcacb69cf8ffefdb813 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/avfoundation/camera/camera.pro')
0 files changed, 0 insertions, 0 deletions