Repository navigation
Commit 08d0428
committed
test: keep the VP9 resolution change test above the NVDEC minimum
hardwareFollowsResolutionChange halved 320x240 to 160x120 and asserted that
the decoder was still a hardware one. NVDEC does not decode VP9 below 128
pixels on the shorter side, so it refuses that size, as it should, and the
stream goes on in libvpx; the test failed on an NVIDIA GPU for that reason.
The call now sends 640x480 and halves it to 320x240, which every hardware
decoder takes.
Run on an NVIDIA GeForce RTX 3080 with NVDEC built on Windows, which is the
same decoder code over the same cuvid API: the test passes with NVDEC the
only decoder accepted as hardware.1 parent d84ba77 commit 08d0428
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
185 | 189 | | |
186 | 190 | | |
187 | 191 | | |
188 | 192 | | |
189 | 193 | | |
190 | 194 | | |
191 | 195 | | |
192 | | - | |
| 196 | + | |
193 | 197 | | |
194 | 198 | | |
195 | | - | |
| 199 | + | |
196 | 200 | | |
197 | 201 | | |
198 | 202 | | |
| |||
0 commit comments