~ubuntu-branches/ubuntu/feisty/avidemux/feisty

« back to all changes in this revision

Viewing changes to avidemux/ADM_encoder/adm_encffmatrix.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2006-12-15 17:13:20 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20061215171320-w79pvpehxx2fr217
Tags: 1:2.3.0-0.0ubuntu1
* Merge from debian-multimedia.org, remaining Ubuntu change:
  - desktop file,
  - no support for ccache and make -j.
* Closes Ubuntu: #69614.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#define ADM_MATRIX_KVCD                 3
24
24
#define ADM_MATRIX_HRTMP        4
25
25
 
26
 
 static uint16_t tmpgenc_intra[64]={
27
 
                 8,16,19,22,26,27,29,34,
28
 
                16,16,22,24,27,29,34,37,
29
 
                19,22,26,27,29,34,34,38,
30
 
                22,22,26,27,29,34,37,40,
31
 
                22,26,27,29,32,35,40,48,
32
 
                26,27,29,32,35,40,48,58,
33
 
                26,27,29,34,38,46,56,69,
34
 
                27,29,35,38,46,56,69,83
35
 
 };
36
 
 static uint16_t tmpgenc_inter[64]={
37
 
                16,17,18,19,20,21,22,23, //0
38
 
                17,18,19,20,21,22,23,24,
39
 
                18,19,20,21,22,23,24,25,
40
 
                19,20,21,22,23,24,26,27,
41
 
                20,21,22,23,25,26,27,28, //4
42
 
                21,22,23,24,26,27,28,30,
43
 
                22,23,24,26,27,28,30,31,
44
 
                23,24,25,27,28,30,31,33
45
 
 };
46
 
static uint16_t anime_intra[64]={
47
 
                  8,32,32,32,32,32,32,32, //0
48
 
                 32,32,32,32,32,32,32,32,
49
 
                 32,32,32,32,32,32,32,32,
50
 
                 32,32,32,32,32,32,32,32,
51
 
                 32,32,32,32,32,32,32,32, //4
52
 
                 32,32,32,32,32,32,32,32,
53
 
                 32,32,32,32,32,32,32,32,
54
 
                 32,32,32,32,32,32,32,32
55
 
};
56
 
static uint16_t anime_inter[64]={
57
 
                16,16,16,16,16,16,16,16, //0
58
 
                16,16,16,16,16,16,16,16,
59
 
                16,16,16,16,16,16,16,16,
60
 
                16,16,16,16,16,16,16,16,
61
 
                16,16,16,16,16,16,16,16, //4
62
 
                16,16,16,16,16,16,16,16,
63
 
                16,16,16,16,16,16,16,16,
64
 
                16,16,16,16,16,16,16,16,
65
 
};
66
 
//----------------------------------------------
67
 
static uint16_t kvcd_intra[64]={
68
 
                  8, 9,12,22,26,27,29,34, //0
69
 
                  9,10,14,26,27,29,37,37,
70
 
                 12,14,18,27,29,34,37,38,
71
 
                 22,26,27,31,36,37,38,40,
72
 
 
73
 
                 26,27,29,36,39,38,40,48, //4
74
 
                 27,29,34,37,38,40,48,58,
75
 
                 29,34,37,38,40,48,58,69,
76
 
                 34,37,38,40,48,58,69,79
77
 
};
78
 
static uint16_t kvcd_inter[64]={
79
 
                16,18,20,22,24,26,28,30, //0
80
 
                18,20,22,24,26,28,30,32, //0
81
 
                20,22,24,26,28,30,32,34, //0
82
 
                22,24,26,28,30,32,34,36, //0
83
 
 
84
 
                24,26,28,30,32,34,36,38, //0
85
 
                26,28,30,32,34,36,38,40, //0
86
 
                28,30,32,34,36,38,40,42, //0
87
 
                30,32,34,36,38,40,42,44 //0
88
 
};
89
 
//----------------------------------------------
90
 
static uint16_t hrtmpgenc_intra[64]={
 
26
static uint16_t tmpgenc_intra[64] = {
 
27
  8, 16, 19, 22, 26, 27, 29, 34,
 
28
  16, 16, 22, 24, 27, 29, 34, 37,
 
29
  19, 22, 26, 27, 29, 34, 34, 38,
 
30
  22, 22, 26, 27, 29, 34, 37, 40,
 
31
  22, 26, 27, 29, 32, 35, 40, 48,
 
32
  26, 27, 29, 32, 35, 40, 48, 58,
 
33
  26, 27, 29, 34, 38, 46, 56, 69,
 
34
  27, 29, 35, 38, 46, 56, 69, 83
 
35
};
 
36
static uint16_t tmpgenc_inter[64] = {
 
37
  16, 17, 18, 19, 20, 21, 22, 23,       //0
 
38
  17, 18, 19, 20, 21, 22, 23, 24,
 
39
  18, 19, 20, 21, 22, 23, 24, 25,
 
40
  19, 20, 21, 22, 23, 24, 26, 27,
 
41
  20, 21, 22, 23, 25, 26, 27, 28,       //4
 
42
  21, 22, 23, 24, 26, 27, 28, 30,
 
43
  22, 23, 24, 26, 27, 28, 30, 31,
 
44
  23, 24, 25, 27, 28, 30, 31, 33
 
45
};
 
46
static uint16_t anime_intra[64] = {
 
47
  8, 32, 32, 32, 32, 32, 32, 32,        //0
 
48
  32, 32, 32, 32, 32, 32, 32, 32,
 
49
  32, 32, 32, 32, 32, 32, 32, 32,
 
50
  32, 32, 32, 32, 32, 32, 32, 32,
 
51
  32, 32, 32, 32, 32, 32, 32, 32,       //4
 
52
  32, 32, 32, 32, 32, 32, 32, 32,
 
53
  32, 32, 32, 32, 32, 32, 32, 32,
 
54
  32, 32, 32, 32, 32, 32, 32, 32
 
55
};
 
56
static uint16_t anime_inter[64] = {
 
57
  16, 16, 16, 16, 16, 16, 16, 16,       //0
 
58
  16, 16, 16, 16, 16, 16, 16, 16,
 
59
  16, 16, 16, 16, 16, 16, 16, 16,
 
60
  16, 16, 16, 16, 16, 16, 16, 16,
 
61
  16, 16, 16, 16, 16, 16, 16, 16,       //4
 
62
  16, 16, 16, 16, 16, 16, 16, 16,
 
63
  16, 16, 16, 16, 16, 16, 16, 16,
 
64
  16, 16, 16, 16, 16, 16, 16, 16,
 
65
};
 
66
//----------------------------------------------
 
67
static uint16_t kvcd_intra[64] = {
 
68
  8, 9, 12, 22, 26, 27, 29, 34, //0
 
69
  9, 10, 14, 26, 27, 29, 37, 37,
 
70
  12, 14, 18, 27, 29, 34, 37, 38,
 
71
  22, 26, 27, 31, 36, 37, 38, 40,
 
72
 
 
73
  26, 27, 29, 36, 39, 38, 40, 48,       //4
 
74
  27, 29, 34, 37, 38, 40, 48, 58,
 
75
  29, 34, 37, 38, 40, 48, 58, 69,
 
76
  34, 37, 38, 40, 48, 58, 69, 79
 
77
};
 
78
static uint16_t kvcd_inter[64] = {
 
79
  16, 18, 20, 22, 24, 26, 28, 30,       //0
 
80
  18, 20, 22, 24, 26, 28, 30, 32,       //0
 
81
  20, 22, 24, 26, 28, 30, 32, 34,       //0
 
82
  22, 24, 26, 28, 30, 32, 34, 36,       //0
 
83
 
 
84
  24, 26, 28, 30, 32, 34, 36, 38,       //0
 
85
  26, 28, 30, 32, 34, 36, 38, 40,       //0
 
86
  28, 30, 32, 34, 36, 38, 40, 42,       //0
 
87
  30, 32, 34, 36, 38, 40, 42, 44        //0
 
88
};
 
89
//----------------------------------------------
 
90
static uint16_t hrtmpgenc_intra[64] = {
91
91
// High resolution INTRA table
92
 
                8,16,18,20,24,25,26,30,
93
 
                16,16,20,23,25,26,30,30,
94
 
                18,20,22,24,26,28,29,31,
95
 
                20,21,23,24,26,28,31,31,
96
 
                21,23,24,25,28,30,30,33,
97
 
                23,24,25,28,30,30,33,36,
98
 
                24,25,26,29,29,31,34,38,
99
 
                25,26,28,29,31,34,38,42
 
92
  8, 16, 18, 20, 24, 25, 26, 30,
 
93
  16, 16, 20, 23, 25, 26, 30, 30,
 
94
  18, 20, 22, 24, 26, 28, 29, 31,
 
95
  20, 21, 23, 24, 26, 28, 31, 31,
 
96
  21, 23, 24, 25, 28, 30, 30, 33,
 
97
  23, 24, 25, 28, 30, 30, 33, 36,
 
98
  24, 25, 26, 29, 29, 31, 34, 38,
 
99
  25, 26, 28, 29, 31, 34, 38, 42
100
100
};
101
 
static uint16_t hrtmpgenc_inter[64]={
 
101
static uint16_t hrtmpgenc_inter[64] = {
102
102
// TMPEGEnc INTER table
103
 
                16,17,18,19,20,21,22,23,
104
 
                17,18,19,20,21,22,23,24,
105
 
                18,19,20,21,22,23,24,25,
106
 
                19,20,21,22,23,24,26,27,
107
 
                20,21,22,23,25,26,27,28,
108
 
                21,22,23,24,26,27,28,30,
109
 
                22,23,24,26,27,28,30,31,
110
 
                23,24,25,27,28,30,31,33
 
103
  16, 17, 18, 19, 20, 21, 22, 23,
 
104
  17, 18, 19, 20, 21, 22, 23, 24,
 
105
  18, 19, 20, 21, 22, 23, 24, 25,
 
106
  19, 20, 21, 22, 23, 24, 26, 27,
 
107
  20, 21, 22, 23, 25, 26, 27, 28,
 
108
  21, 22, 23, 24, 26, 27, 28, 30,
 
109
  22, 23, 24, 26, 27, 28, 30, 31,
 
110
  23, 24, 25, 27, 28, 30, 31, 33
111
111
};
112
112
 
113
113
// EOF