Bug 1926476 [wpt PR 48766] - Bump maximum video frame size by one bit., a=testonly

Automatic update from web-platform-tests
Bump maximum video frame size by one bit.

This increases the maximum canvas size from 268,435,456 or roughly
16384x16384 to 536,870,911 or roughly 23170x23170. This increase
still allows us to represent up to 8 bytes per pixel (which matches
our largest pixel formats) without overflowing a uint32_t.

This also updates the file to use inline constexpr per the
presubmit check and adds tests for these allocation limits.

Fixed: 374807001
Change-Id: I7eef8b488fa758bfcd0202917469d585724e23ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5955549
Commit-Queue: Eugene Zemtsov <eugene@chromium.org>
Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Eugene Zemtsov <eugene@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1372466}

--

wpt-commits: 9220b4d4810e89642f7b21609cee40de875ebce8
wpt-pr: 48766
This commit is contained in:
Dale Curtis 2024-10-23 10:25:47 +00:00 committed by moz-wptsync-bot
parent 15dc633cfe
commit 0a3d7fbf11

View File

@ -135,8 +135,8 @@ const validButUnsupportedConfigs = [
config: {
codec: 'vp8',
hardwareAcceleration: 'prefer-hardware',
width: 20000,
height: 20000,
width: 30000,
height: 30000,
bitrate: 1,
framerate: 240,
}