1
1
mirror of https://github.com/wader/fq.git synced 2024-12-26 15:02:28 +03:00
fq/format/vpx/vpx.go
Mattias Wadman 1b32b42f93 decode: Major decode API refactor
Generate more code
More generic and comfortable API
Improve and Update format decoder to new API
Add some more format tests
2021-11-15 21:12:07 +01:00

28 lines
468 B
Go

package vpx
import "github.com/wader/fq/pkg/decode"
var vpxLevelNames = decode.UToStr{
10: "Level 1",
11: "Level 1.1",
20: "Level 2",
21: "Level 2.1",
30: "Level 3",
31: "Level 3.1",
40: "Level 4",
41: "Level 4.1",
50: "Level 5",
51: "Level 5.1",
52: "Level 5.2",
60: "Level 6",
61: "Level 6.1",
62: "Level 6.2",
}
var vpxChromeSubsamplingNames = decode.UToStr{
0: "4:2:0 vertical",
1: "4:2:0 colocated with luma (0,0)",
2: "4:2:2",
3: "4:4:4",
}