/*****************************************************************************
* set.h: quantization init
*****************************************************************************
- * Copyright (C) 2003-2012 x264 project
+ * Copyright (C) 2003-2016 x264 project
*
* Authors: Loren Merritt <lorenm@u.washington.edu>
* Laurent Aimar <fenrir@via.ecp.fr>
x264_cqm_jvt8i, x264_cqm_jvt8p
};
+// 1080i25_avci50, 1080p25_avci50
+static const uint8_t x264_cqm_avci50_4ic[16] =
+{
+ 16,22,28,40,
+ 22,28,40,44,
+ 28,40,44,48,
+ 40,44,48,60
+};
+
+// 1080i25_avci50,
+static const uint8_t x264_cqm_avci50_1080i_8iy[64] =
+{
+ 16,18,19,21,27,33,81,87,
+ 18,19,21,24,30,33,81,87,
+ 19,21,24,27,30,78,84,90,
+ 21,24,27,30,33,78,84,90,
+ 24,27,30,33,78,81,84,90,
+ 24,27,30,33,78,81,84,93,
+ 27,30,33,78,78,81,87,93,
+ 30,33,33,78,81,84,87,96
+};
+
+// 1080p25_avci50, 720p25_avci50, 720p50_avci50
+static const uint8_t x264_cqm_avci50_p_8iy[64] =
+{
+ 16,18,19,21,24,27,30,33,
+ 18,19,21,24,27,30,33,78,
+ 19,21,24,27,30,33,78,81,
+ 21,24,27,30,33,78,81,84,
+ 24,27,30,33,78,81,84,87,
+ 27,30,33,78,81,84,87,90,
+ 30,33,78,81,84,87,90,93,
+ 33,78,81,84,87,90,93,96
+};
+
+// 1080i25_avci100, 1080p25_avci100
+static const uint8_t x264_cqm_avci100_1080_4ic[16] =
+{
+ 16,20,26,32,
+ 20,26,32,38,
+ 26,32,38,44,
+ 32,38,44,50
+};
+
+// 720p25_avci100, 720p50_avci100
+static const uint8_t x264_cqm_avci100_720p_4ic[16] =
+{
+ 16,21,27,34,
+ 21,27,34,41,
+ 27,34,41,46,
+ 34,41,46,54
+};
+
+// 1080i25_avci100,
+static const uint8_t x264_cqm_avci100_1080i_8iy[64] =
+{
+ 16,19,20,23,24,26,32,42,
+ 18,19,22,24,26,32,36,42,
+ 18,20,23,24,26,32,36,63,
+ 19,20,23,26,32,36,42,63,
+ 20,22,24,26,32,36,59,63,
+ 22,23,24,26,32,36,59,68,
+ 22,23,24,26,32,42,59,68,
+ 22,23,24,26,36,42,59,72
+};
+
+// 1080p25_avci100,
+static const uint8_t x264_cqm_avci100_1080p_8iy[64] =
+{
+ 16,18,19,20,22,23,24,26,
+ 18,19,20,22,23,24,26,32,
+ 19,20,22,23,24,26,32,36,
+ 20,22,23,24,26,32,36,42,
+ 22,23,24,26,32,36,42,59,
+ 23,24,26,32,36,42,59,63,
+ 24,26,32,36,42,59,63,68,
+ 26,32,36,42,59,63,68,72
+};
+
+// 720p25_avci100, 720p50_avci100
+static const uint8_t x264_cqm_avci100_720p_8iy[64] =
+{
+ 16,18,19,21,22,24,26,32,
+ 18,19,19,21,22,24,26,32,
+ 19,19,21,22,22,24,26,32,
+ 21,21,22,22,23,24,26,34,
+ 22,22,22,23,24,25,26,34,
+ 24,24,24,24,25,26,34,36,
+ 26,26,26,26,26,34,36,38,
+ 32,32,32,34,34,36,38,42
+};
+
int x264_cqm_init( x264_t *h );
void x264_cqm_delete( x264_t *h );
int x264_cqm_parse_file( x264_t *h, const char *filename );