From: Loren Merritt Date: Tue, 21 Jun 2005 14:49:27 +0000 (+0000) Subject: example quant matrix file X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=90793358d78f5ad79aef3cc09ea80d5ea81bb53b;p=x264.git example quant matrix file git-svn-id: svn://svn.videolan.org/x264/trunk@270 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/tools/q_matrix_jvt.cfg b/tools/q_matrix_jvt.cfg new file mode 100644 index 00000000..973cdfc2 --- /dev/null +++ b/tools/q_matrix_jvt.cfg @@ -0,0 +1,68 @@ +# This an example configuration file for initializing the quantization matrix. +# Altogether 6 matrices for 4x4 blocks and 2 matrix for 8x8 blocks. +# The values range from 1 to 255. +# If first value of matrix is equal to 0, default values ("JVT") will be used +# for that matrix. +# If a matrix is completely omitted, it will be filled with 16s. +# +# Note: JM expects CHROMAU and CHROMAV to be specified separately, whereas +# x264 forces them to use the same matrix. If U and V are specified to have +# different matrices, only the first is used. +#################################################################################### + +INTRA4X4_LUMA = + 6,13,20,28, +13,20,28,32, +20,28,32,37, +28,32,37,42 + +INTRA4X4_CHROMAU = + 6,13,20,28, +13,20,28,32, +20,28,32,37, +28,32,37,42 + +INTRA4X4_CHROMAV = + 6,13,20,28, +13,20,28,32, +20,28,32,37, +28,32,37,42 + +INTER4X4_LUMA = +10,14,20,24, +14,20,24,27, +20,24,27,30, +24,27,30,34 + +INTER4X4_CHROMAU = +10,14,20,24, +14,20,24,27, +20,24,27,30, +24,27,30,34 + +INTER4X4_CHROMAV = +10,14,20,24, +14,20,24,27, +20,24,27,30, +24,27,30,34 + +INTRA8X8_LUMA = + 6,10,13,16,18,23,25,27, +10,11,16,18,23,25,27,29, +13,16,18,23,25,27,29,31, +16,18,23,25,27,29,31,33, +18,23,25,27,29,31,33,36, +23,25,27,29,31,33,36,38, +25,27,29,31,33,36,38,40, +27,29,31,33,36,38,40,42 + +INTER8X8_LUMA = + 9,13,15,17,19,21,22,24, +13,13,17,19,21,22,24,25, +15,17,19,21,22,24,25,27, +17,19,21,22,24,25,27,28, +19,21,22,24,25,27,28,30, +21,22,24,25,27,28,30,32, +22,24,25,27,28,30,32,33, +24,25,27,28,30,32,33,35 +