diff options
author | Dmitry Shachnev <mitya57@gmail.com> | 2021-02-20 15:18:07 +0300 |
---|---|---|
committer | Dmitry Shachnev <mitya57@gmail.com> | 2021-04-12 23:02:44 +0300 |
commit | 1c2a8655ac3dd5f8de5294a77ac5e585add82229 (patch) | |
tree | a56d008106bda284798e6e2faf5e7fd12f0b2695 /src/plugins/gstreamer | |
parent | 8b72da5f4b2d81444c731bc4e8eafca59e693bf6 (diff) |
tst_qvideoframe: Increase buffer sizes used in image() tests
YUV420P and YV12 formats use three planes which need 18432 bytes in
total:
- height × bytesPerLine = 64 × 256 = 16384 bytes;
- height/2 × width/2 × uvPixelStride = 32 × 32 × 1 = 1024 bytes;
- height/2 × width/2 × uvPixelStride = 32 × 32 × 1 = 1024 bytes.
NV12 and NV21 formats use two planes which need 24576 bytes in total:
- height × bytesPerLine = 64 × 256 = 16384 bytes;
- height/2 × bytesPerLine = 32 × 256 = 8192 bytes.
Fixes https://bugs.debian.org/982973.
Pick-to: 5.15
Change-Id: I68433dbb5370a6e4cdd2a85e2a9554fab642f5b6
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/plugins/gstreamer')
0 files changed, 0 insertions, 0 deletions