Commit e176f5b
authored
Encoder: fix ispe property for tmap with grid. (#2730)
Decoder: check the ispe property of tmap items.
The new check will fail files with gain map grids created with previous versions of libavif. However, I believe that there are probably zero such images (apart from test images in this repo). avifenc cannot produce such images: if you specify --grid it discards the gain map (this is a bug, not intentional). So you would have to write specific code to call the API to produce such images.1 parent 6ba8922 commit e176f5b
File tree
5 files changed
+24
-6
lines changed- src
- tests/data
5 files changed
+24
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5704 | 5704 | | |
5705 | 5705 | | |
5706 | 5706 | | |
| 5707 | + | |
| 5708 | + | |
| 5709 | + | |
| 5710 | + | |
| 5711 | + | |
| 5712 | + | |
| 5713 | + | |
| 5714 | + | |
| 5715 | + | |
| 5716 | + | |
| 5717 | + | |
| 5718 | + | |
| 5719 | + | |
5707 | 5720 | | |
5708 | 5721 | | |
5709 | 5722 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1046 | 1046 | | |
1047 | 1047 | | |
1048 | 1048 | | |
1049 | | - | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
1050 | 1052 | | |
1051 | | - | |
1052 | | - | |
| 1053 | + | |
| 1054 | + | |
1053 | 1055 | | |
1054 | 1056 | | |
1055 | 1057 | | |
| |||
1885 | 1887 | | |
1886 | 1888 | | |
1887 | 1889 | | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
1888 | 1894 | | |
1889 | | - | |
| 1895 | + | |
| 1896 | + | |
1890 | 1897 | | |
1891 | 1898 | | |
1892 | 1899 | | |
1893 | 1900 | | |
1894 | | - | |
1895 | | - | |
1896 | 1901 | | |
1897 | 1902 | | |
1898 | 1903 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments