Commit 78636ab
torchvision decoder. fix artifacts, blury images for frame dimensions not multiple of 8 (#7523)
Summary:
Pull Request resolved: #7523
In MUI we found an artifact for video with resolution 426x426, not equal to 8.
We find that root cause is torchvision decoder, which MUI uses extensively
Tiny black bar on the right in the image
Before the fix
{F949912112}
After the fix
{F949913076}
Full video
https://pxl.cl/2CN1G
https://pxl.cl/2CN1L
Differential Revision: D45035410
fbshipit-source-id: 2d4f6a4812df075fc4677e6b96dc2e0029ea6e921 parent 4d86879 commit 78636ab
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
184 | 202 | | |
185 | 203 | | |
186 | 204 | | |
| |||
0 commit comments