summaryrefslogtreecommitdiffstats
path: root/tests/global
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2021-02-20 15:18:07 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-04-12 20:20:14 +0000
commit51282e083d7a1c06309cf7f2fc216f6203b4fbb2 (patch)
tree9cb5258f46df360f8582209687d8ddcb2fa604dc /tests/global
parent5298dcaa5d07410128594d7f37124f7d93d5dc86 (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. Change-Id: I68433dbb5370a6e4cdd2a85e2a9554fab642f5b6 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 1c2a8655ac3dd5f8de5294a77ac5e585add82229) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/global')
0 files changed, 0 insertions, 0 deletions