]> git.sesse.net Git - x264/blob - tools/q_matrix_jvt.cfg
windows: Use native threads by default
[x264] / tools / q_matrix_jvt.cfg
1 # This an example configuration file for initializing the quantization matrix.
2 # Altogether 6 matrices for 4x4 blocks and 2 matrix for 8x8 blocks.
3 # The values range from 1 to 255.
4 # If first value of matrix is equal to 0, default values ("JVT") will be used
5 # for that matrix.
6 # If a matrix is completely omitted, it will be filled with 16s.
7 #
8 # Note: JM expects CHROMAU and CHROMAV to be specified separately, whereas
9 # x264 forces them to use the same matrix. If U and V are specified to have
10 # different matrices, only the first is used.
11 ####################################################################################
12
13 INTRA4X4_LUMA =
14  6,13,20,28,
15 13,20,28,32,
16 20,28,32,37,
17 28,32,37,42
18
19 INTRA4X4_CHROMAU =
20  6,13,20,28,
21 13,20,28,32,
22 20,28,32,37,
23 28,32,37,42
24
25 INTRA4X4_CHROMAV =
26  6,13,20,28,
27 13,20,28,32,
28 20,28,32,37,
29 28,32,37,42
30
31 INTER4X4_LUMA =
32 10,14,20,24,
33 14,20,24,27,
34 20,24,27,30,
35 24,27,30,34
36
37 INTER4X4_CHROMAU =
38 10,14,20,24,
39 14,20,24,27,
40 20,24,27,30,
41 24,27,30,34
42
43 INTER4X4_CHROMAV =
44 10,14,20,24,
45 14,20,24,27,
46 20,24,27,30,
47 24,27,30,34
48
49 INTRA8X8_LUMA =
50  6,10,13,16,18,23,25,27,
51 10,11,16,18,23,25,27,29,
52 13,16,18,23,25,27,29,31,
53 16,18,23,25,27,29,31,33,
54 18,23,25,27,29,31,33,36,
55 23,25,27,29,31,33,36,38,
56 25,27,29,31,33,36,38,40,
57 27,29,31,33,36,38,40,42
58
59 INTER8X8_LUMA =
60  9,13,15,17,19,21,22,24,
61 13,13,17,19,21,22,24,25,
62 15,17,19,21,22,24,25,27,
63 17,19,21,22,24,25,27,28,
64 19,21,22,24,25,27,28,30,
65 21,22,24,25,27,28,30,32,
66 22,24,25,27,28,30,32,33,
67 24,25,27,28,30,32,33,35
68