Lines Matching refs:synth_width
60 const ptrdiff_t synth_width = width << 1; in vc2_subband_dwt_97() local
68 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_97()
70 synthl += synth_width; in vc2_subband_dwt_97()
82 synthl[synth_width - 1] -= (17*synthl[synth_width - 2] - in vc2_subband_dwt_97()
83 synthl[synth_width - 4] + 8) >> 4; in vc2_subband_dwt_97()
84 synthl[synth_width - 3] -= (8*synthl[synth_width - 2] + in vc2_subband_dwt_97()
85 9*synthl[synth_width - 4] - in vc2_subband_dwt_97()
86 synthl[synth_width - 6] + 8) >> 4; in vc2_subband_dwt_97()
92 synthl[synth_width - 2] += (synthl[synth_width - 3] + in vc2_subband_dwt_97()
93 synthl[synth_width - 1] + 2) >> 2; in vc2_subband_dwt_97()
94 synthl += synth_width; in vc2_subband_dwt_97()
98 synthl = synth + synth_width; in vc2_subband_dwt_97()
99 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_97()
100 synthl[x] -= (8*synthl[x - synth_width] + 9*synthl[x + synth_width] - in vc2_subband_dwt_97()
101 synthl[x + 3 * synth_width] + 8) >> 4; in vc2_subband_dwt_97()
103 synthl = synth + (synth_width << 1); in vc2_subband_dwt_97()
105 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_97()
106 synthl[x + synth_width] -= (9*synthl[x] + in vc2_subband_dwt_97()
107 9*synthl[x + 2 * synth_width] - in vc2_subband_dwt_97()
108 synthl[x - 2 * synth_width] - in vc2_subband_dwt_97()
109 synthl[x + 4 * synth_width] + 8) >> 4; in vc2_subband_dwt_97()
110 synthl += synth_width << 1; in vc2_subband_dwt_97()
113 synthl = synth + (synth_height - 1) * synth_width; in vc2_subband_dwt_97()
114 for (x = 0; x < synth_width; x++) { in vc2_subband_dwt_97()
115 synthl[x] -= (17*synthl[x - synth_width] - in vc2_subband_dwt_97()
116 synthl[x - 3*synth_width] + 8) >> 4; in vc2_subband_dwt_97()
117 synthl[x - 2*synth_width] -= (9*synthl[x - 3*synth_width] + in vc2_subband_dwt_97()
118 8*synthl[x - 1*synth_width] - synthl[x - 5*synth_width] + 8) >> 4; in vc2_subband_dwt_97()
123 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_97()
124 synthl[x] += (synthl[x + synth_width] + synthl[x + synth_width] + 2) >> 2; in vc2_subband_dwt_97()
126 synthl = synth + (synth_width << 1); in vc2_subband_dwt_97()
128 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_97()
129 synthl[x] += (synthl[x - synth_width] + synthl[x + synth_width] + 2) >> 2; in vc2_subband_dwt_97()
130 synthl += synth_width << 1; in vc2_subband_dwt_97()
133 synthl = synth + (synth_height - 2) * synth_width; in vc2_subband_dwt_97()
134 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_97()
135 synthl[x] += (synthl[x - synth_width] + synthl[x + synth_width] + 2) >> 2; in vc2_subband_dwt_97()
145 const ptrdiff_t synth_width = width << 1; in vc2_subband_dwt_53() local
153 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_53()
155 synthl += synth_width; in vc2_subband_dwt_53()
166 synthl[synth_width - 1] -= (2*synthl[synth_width - 2] + 1) >> 1; in vc2_subband_dwt_53()
173 synthl[synth_width - 2] += (synthl[synth_width - 3] + synthl[synth_width - 1] + 2) >> 2; in vc2_subband_dwt_53()
175 synthl += synth_width; in vc2_subband_dwt_53()
179 synthl = synth + synth_width; in vc2_subband_dwt_53()
180 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_53()
181 synthl[x] -= (synthl[x - synth_width] + synthl[x + synth_width] + 1) >> 1; in vc2_subband_dwt_53()
183 synthl = synth + (synth_width << 1); in vc2_subband_dwt_53()
185 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_53()
186 synthl[x + synth_width] -= (synthl[x] + synthl[x + synth_width * 2] + 1) >> 1; in vc2_subband_dwt_53()
187 synthl += (synth_width << 1); in vc2_subband_dwt_53()
190 synthl = synth + (synth_height - 1) * synth_width; in vc2_subband_dwt_53()
191 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_53()
192 synthl[x] -= (2*synthl[x - synth_width] + 1) >> 1; in vc2_subband_dwt_53()
196 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_53()
197 synthl[x] += (2*synthl[synth_width + x] + 2) >> 2; in vc2_subband_dwt_53()
199 synthl = synth + (synth_width << 1); in vc2_subband_dwt_53()
201 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_53()
202 synthl[x] += (synthl[x + synth_width] + synthl[x - synth_width] + 2) >> 2; in vc2_subband_dwt_53()
203 synthl += (synth_width << 1); in vc2_subband_dwt_53()
206 synthl = synth + (synth_height - 2)*synth_width; in vc2_subband_dwt_53()
207 for (x = 0; x < synth_width; x++) in vc2_subband_dwt_53()
208 synthl[x] += (synthl[x - synth_width] + synthl[x + synth_width] + 2) >> 2; in vc2_subband_dwt_53()
220 const ptrdiff_t synth_width = width << 1; in dwt_haar() local
225 for (x = 0; x < synth_width; x += 2) { in dwt_haar()
226 synthl[y*synth_width + x + 1] = (datal[y*stride + x + 1] << s) - in dwt_haar()
228 synthl[y*synth_width + x] = (datal[y*stride + x + 0] << s) + in dwt_haar()
229 ((synthl[y*synth_width + x + 1] + 1) >> 1); in dwt_haar()
234 for (x = 0; x < synth_width; x++) { in dwt_haar()
236 synthl[(y + 1)*synth_width + x] = synthl[(y + 1)*synth_width + x] - in dwt_haar()
237 synthl[y*synth_width + x]; in dwt_haar()
238 synthl[y*synth_width + x] = synthl[y*synth_width + x] + in dwt_haar()
239 ((synthl[(y + 1)*synth_width + x] + 1) >> 1); in dwt_haar()