Lines Matching refs:width

117                                   int width, int mul, int add, int shift,
121 const int mirror_right = (width & 1) ^ highpass;
122 const int w = (width >> 1) - 1 + (highpass & width);
147 int width, int mul, int add, int shift,
151 const int mirror_right = (width & 1) ^ highpass;
152 const int w = (width >> 1) - 1 + (highpass & width);
178 static void horizontal_decompose53i(DWTELEM *b, DWTELEM *temp, int width)
180 const int width2 = width >> 1;
182 const int w2 = (width + 1) >> 1;
188 if (width & 1)
190 lift(b + w2, temp + w2, temp, 1, 1, 1, width, -1, 0, 1, 1, 0);
191 lift(b, temp, b + w2, 1, 1, 1, width, 1, 2, 2, 0, 0);
195 int width)
199 for (i = 0; i < width; i++)
204 int width)
208 for (i = 0; i < width; i++)
213 int width, int height, int stride)
224 horizontal_decompose53i(b2, temp, width);
226 horizontal_decompose53i(b3, temp, width);
229 vertical_decompose53iH0(b1, b2, b3, width);
231 vertical_decompose53iL0(b0, b1, b2, width);
238 static void horizontal_decompose97i(DWTELEM *b, DWTELEM *temp, int width)
240 const int w2 = (width + 1) >> 1;
242 lift(temp + w2, b + 1, b, 1, 2, 2, width, W_AM, W_AO, W_AS, 1, 1);
243 liftS(temp, b, temp + w2, 1, 2, 1, width, W_BM, W_BO, W_BS, 0, 0);
244 lift(b + w2, temp + w2, temp, 1, 1, 1, width, W_CM, W_CO, W_CS, 1, 0);
245 lift(b, temp, b + w2, 1, 1, 1, width, W_DM, W_DO, W_DS, 0, 0);
249 int width)
253 for (i = 0; i < width; i++)
258 int width)
262 for (i = 0; i < width; i++)
267 int width)
271 for (i = 0; i < width; i++)
277 int width)
281 for (i = 0; i < width; i++)
286 int width, int height, int stride)
299 horizontal_decompose97i(b4, temp, width);
301 horizontal_decompose97i(b5, temp, width);
304 vertical_decompose97iH0(b3, b4, b5, width);
306 vertical_decompose97iL0(b2, b3, b4, width);
308 vertical_decompose97iH1(b1, b2, b3, width);
310 vertical_decompose97iL1(b0, b1, b2, width);
319 void ff_spatial_dwt(DWTELEM *buffer, DWTELEM *temp, int width, int height,
328 width >> level, height >> level,
333 width >> level, height >> level,
340 static void horizontal_compose53i(IDWTELEM *b, IDWTELEM *temp, int width)
342 const int width2 = width >> 1;
343 const int w2 = (width + 1) >> 1;
350 if (width & 1)
354 for (x = 2; x < width - 1; x += 2) {
358 if (width & 1) {
366 int width)
370 for (i = 0; i < width; i++)
375 int width)
379 for (i = 0; i < width; i++)
402 int width, int height,
419 for (x = 0; x < width; x++) {
425 vertical_compose53iL0(b1, b2, b3, width);
427 vertical_compose53iH0(b0, b1, b2, width);
431 horizontal_compose53i(b0, temp, width);
433 horizontal_compose53i(b1, temp, width);
441 IDWTELEM *temp, int width, int height,
451 vertical_compose53iL0(b1, b2, b3, width);
453 vertical_compose53iH0(b0, b1, b2, width);
456 horizontal_compose53i(b0, temp, width);
458 horizontal_compose53i(b1, temp, width);
465 static void snow_horizontal_compose97i(IDWTELEM *b, IDWTELEM *temp, int width)
467 const int w2 = (width + 1) >> 1;
471 for (x = 1; x < (width >> 1); x++) {
475 if (width & 1) {
482 for (x = 2; x < width - 1; x += 2) {
486 if (width & 1) {
494 int width)
498 for (i = 0; i < width; i++)
503 int width)
507 for (i = 0; i < width; i++)
512 int width)
516 for (i = 0; i < width; i++)
521 int width)
525 for (i = 0; i < width; i++)
531 int width)
535 for (i = 0; i < width; i++) {
565 int width, int height,
582 dsp->vertical_compose97i(b0, b1, b2, b3, b4, b5, width);
585 vertical_compose97iL1(b3, b4, b5, width);
587 vertical_compose97iH1(b2, b3, b4, width);
589 vertical_compose97iL0(b1, b2, b3, width);
591 vertical_compose97iH0(b0, b1, b2, width);
595 dsp->horizontal_compose97i(b0, temp, width);
597 dsp->horizontal_compose97i(b1, temp, width);
607 IDWTELEM *temp, int width, int height,
619 vertical_compose97iL1(b3, b4, b5, width);
621 vertical_compose97iH1(b2, b3, b4, width);
623 vertical_compose97iL0(b1, b2, b3, width);
625 vertical_compose97iH0(b0, b1, b2, width);
628 snow_horizontal_compose97i(b0, temp, width);
630 snow_horizontal_compose97i(b1, temp, width);
639 void ff_spatial_idwt_buffered_init(DWTCompose *cs, slice_buffer *sb, int width,
660 int width, int height, int stride_line,
673 width >> level,
679 width >> level,
687 static void spatial_idwt_init(DWTCompose *cs, IDWTELEM *buffer, int width,
707 IDWTELEM *temp, int width, int height,
720 spatial_compose97i_dy(cs + level, buffer, temp, width >> level,
724 spatial_compose53i_dy(cs + level, buffer, temp, width >> level,
731 void ff_spatial_idwt(IDWTELEM *buffer, IDWTELEM *temp, int width, int height,
736 spatial_idwt_init(cs, buffer, width, height, stride, type,
739 spatial_idwt_slice(cs, buffer, temp, width, height, stride, type,