multimedia: construct video frame textures fully formed
Pass the source frame at construction instead of configuring
half-built textures with post-hoc setters. Closed borrowed/owned
factories replace the generic template, and per-plane upload
becomes a pure function taking transferred ownership by value,
which makes each call site's ownership transfer explicit.
Change-Id: I1a397a2660115d807f63fd4ebc0286f9abf7b9c7
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | 908e33abc71c9274b64cb1914110ece320922765 |
| parent | 5b44993c863675b6b9c40a168cde5de4d64aac4c |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Mon, 19 Oct 2026 04:05:36 +0000 |
- M src/multimedia/video/qhwvideobuffer.cpp
- M src/multimedia/video/qhwvideobuffer_p.h
- M src/multimedia/video/qvideoframeconverter.cpp
- M src/multimedia/video/qvideoframetexturefromsource.cpp
- M src/multimedia/video/qvideoframetexturefromsource_p.h
- M src/multimedia/video/qvideotexturehelper.cpp
- M src/multimedia/video/qvideotexturehelper_p.h