• Home
  • Raw
  • Download

Lines Matching refs:height

213                                  int width, int height, int stride)  in spatial_decompose53i()  argument
216 DWTELEM *b0 = buffer + avpriv_mirror(-2 - 1, height - 1) * stride; in spatial_decompose53i()
217 DWTELEM *b1 = buffer + avpriv_mirror(-2, height - 1) * stride; in spatial_decompose53i()
219 for (y = -2; y < height; y += 2) { in spatial_decompose53i()
220 DWTELEM *b2 = buffer + avpriv_mirror(y + 1, height - 1) * stride; in spatial_decompose53i()
221 DWTELEM *b3 = buffer + avpriv_mirror(y + 2, height - 1) * stride; in spatial_decompose53i()
223 if (y + 1 < (unsigned)height) in spatial_decompose53i()
225 if (y + 2 < (unsigned)height) in spatial_decompose53i()
228 if (y + 1 < (unsigned)height) in spatial_decompose53i()
230 if (y + 0 < (unsigned)height) in spatial_decompose53i()
286 int width, int height, int stride) in spatial_decompose97i() argument
289 DWTELEM *b0 = buffer + avpriv_mirror(-4 - 1, height - 1) * stride; in spatial_decompose97i()
290 DWTELEM *b1 = buffer + avpriv_mirror(-4, height - 1) * stride; in spatial_decompose97i()
291 DWTELEM *b2 = buffer + avpriv_mirror(-4 + 1, height - 1) * stride; in spatial_decompose97i()
292 DWTELEM *b3 = buffer + avpriv_mirror(-4 + 2, height - 1) * stride; in spatial_decompose97i()
294 for (y = -4; y < height; y += 2) { in spatial_decompose97i()
295 DWTELEM *b4 = buffer + avpriv_mirror(y + 3, height - 1) * stride; in spatial_decompose97i()
296 DWTELEM *b5 = buffer + avpriv_mirror(y + 4, height - 1) * stride; in spatial_decompose97i()
298 if (y + 3 < (unsigned)height) in spatial_decompose97i()
300 if (y + 4 < (unsigned)height) in spatial_decompose97i()
303 if (y + 3 < (unsigned)height) in spatial_decompose97i()
305 if (y + 2 < (unsigned)height) in spatial_decompose97i()
307 if (y + 1 < (unsigned)height) in spatial_decompose97i()
309 if (y + 0 < (unsigned)height) in spatial_decompose97i()
319 void ff_spatial_dwt(DWTELEM *buffer, DWTELEM *temp, int width, int height, in ff_spatial_dwt() argument
328 width >> level, height >> level, in ff_spatial_dwt()
333 width >> level, height >> level, in ff_spatial_dwt()
384 int height, int stride_line) in spatial_compose53i_buffered_init() argument
387 avpriv_mirror(-1 - 1, height - 1) * stride_line); in spatial_compose53i_buffered_init()
388 cs->b1 = slice_buffer_get_line(sb, avpriv_mirror(-1, height - 1) * stride_line); in spatial_compose53i_buffered_init()
393 int height, int stride) in spatial_compose53i_init() argument
395 cs->b0 = buffer + avpriv_mirror(-1 - 1, height - 1) * stride; in spatial_compose53i_init()
396 cs->b1 = buffer + avpriv_mirror(-1, height - 1) * stride; in spatial_compose53i_init()
402 int width, int height, in spatial_compose53i_dy_buffered() argument
410 avpriv_mirror(y + 1, height - 1) * in spatial_compose53i_dy_buffered()
413 avpriv_mirror(y + 2, height - 1) * in spatial_compose53i_dy_buffered()
416 if (y + 1 < (unsigned)height && y < (unsigned)height) { in spatial_compose53i_dy_buffered()
424 if (y + 1 < (unsigned)height) in spatial_compose53i_dy_buffered()
426 if (y + 0 < (unsigned)height) in spatial_compose53i_dy_buffered()
430 if (y - 1 < (unsigned)height) in spatial_compose53i_dy_buffered()
432 if (y + 0 < (unsigned)height) in spatial_compose53i_dy_buffered()
441 IDWTELEM *temp, int width, int height, in spatial_compose53i_dy() argument
447 IDWTELEM *b2 = buffer + avpriv_mirror(y + 1, height - 1) * stride; in spatial_compose53i_dy()
448 IDWTELEM *b3 = buffer + avpriv_mirror(y + 2, height - 1) * stride; in spatial_compose53i_dy()
450 if (y + 1 < (unsigned)height) in spatial_compose53i_dy()
452 if (y + 0 < (unsigned)height) in spatial_compose53i_dy()
455 if (y - 1 < (unsigned)height) in spatial_compose53i_dy()
457 if (y + 0 < (unsigned)height) in spatial_compose53i_dy()
544 int height, int stride_line) in spatial_compose97i_buffered_init() argument
546 cs->b0 = slice_buffer_get_line(sb, avpriv_mirror(-3 - 1, height - 1) * stride_line); in spatial_compose97i_buffered_init()
547 cs->b1 = slice_buffer_get_line(sb, avpriv_mirror(-3, height - 1) * stride_line); in spatial_compose97i_buffered_init()
548 cs->b2 = slice_buffer_get_line(sb, avpriv_mirror(-3 + 1, height - 1) * stride_line); in spatial_compose97i_buffered_init()
549 cs->b3 = slice_buffer_get_line(sb, avpriv_mirror(-3 + 2, height - 1) * stride_line); in spatial_compose97i_buffered_init()
553 static void spatial_compose97i_init(DWTCompose *cs, IDWTELEM *buffer, int height, in spatial_compose97i_init() argument
556 cs->b0 = buffer + avpriv_mirror(-3 - 1, height - 1) * stride; in spatial_compose97i_init()
557 cs->b1 = buffer + avpriv_mirror(-3, height - 1) * stride; in spatial_compose97i_init()
558 cs->b2 = buffer + avpriv_mirror(-3 + 1, height - 1) * stride; in spatial_compose97i_init()
559 cs->b3 = buffer + avpriv_mirror(-3 + 2, height - 1) * stride; in spatial_compose97i_init()
565 int width, int height, in spatial_compose97i_dy_buffered() argument
575 avpriv_mirror(y + 3, height - 1) * in spatial_compose97i_dy_buffered()
578 avpriv_mirror(y + 4, height - 1) * in spatial_compose97i_dy_buffered()
581 if (y > 0 && y + 4 < height) { in spatial_compose97i_dy_buffered()
584 if (y + 3 < (unsigned)height) in spatial_compose97i_dy_buffered()
586 if (y + 2 < (unsigned)height) in spatial_compose97i_dy_buffered()
588 if (y + 1 < (unsigned)height) in spatial_compose97i_dy_buffered()
590 if (y + 0 < (unsigned)height) in spatial_compose97i_dy_buffered()
594 if (y - 1 < (unsigned)height) in spatial_compose97i_dy_buffered()
596 if (y + 0 < (unsigned)height) in spatial_compose97i_dy_buffered()
607 IDWTELEM *temp, int width, int height, in spatial_compose97i_dy() argument
615 IDWTELEM *b4 = buffer + avpriv_mirror(y + 3, height - 1) * stride; in spatial_compose97i_dy()
616 IDWTELEM *b5 = buffer + avpriv_mirror(y + 4, height - 1) * stride; in spatial_compose97i_dy()
618 if (y + 3 < (unsigned)height) in spatial_compose97i_dy()
620 if (y + 2 < (unsigned)height) in spatial_compose97i_dy()
622 if (y + 1 < (unsigned)height) in spatial_compose97i_dy()
624 if (y + 0 < (unsigned)height) in spatial_compose97i_dy()
627 if (y - 1 < (unsigned)height) in spatial_compose97i_dy()
629 if (y + 0 < (unsigned)height) in spatial_compose97i_dy()
640 int height, int stride_line, int type, in ff_spatial_idwt_buffered_init() argument
647 spatial_compose97i_buffered_init(cs + level, sb, height >> level, in ff_spatial_idwt_buffered_init()
651 spatial_compose53i_buffered_init(cs + level, sb, height >> level, in ff_spatial_idwt_buffered_init()
660 int width, int height, int stride_line, in ff_spatial_idwt_buffered_slice() argument
669 while (cs[level].y <= FFMIN((y >> level) + support, height >> level)) { in ff_spatial_idwt_buffered_slice()
674 height >> level, in ff_spatial_idwt_buffered_slice()
680 height >> level, in ff_spatial_idwt_buffered_slice()
688 int height, int stride, int type, in spatial_idwt_init() argument
695 spatial_compose97i_init(cs + level, buffer, height >> level, in spatial_idwt_init()
699 spatial_compose53i_init(cs + level, buffer, height >> level, in spatial_idwt_init()
707 IDWTELEM *temp, int width, int height, in spatial_idwt_slice() argument
717 while (cs[level].y <= FFMIN((y >> level) + support, height >> level)) { in spatial_idwt_slice()
721 height >> level, stride << level); in spatial_idwt_slice()
725 height >> level, stride << level); in spatial_idwt_slice()
731 void ff_spatial_idwt(IDWTELEM *buffer, IDWTELEM *temp, int width, int height, in ff_spatial_idwt() argument
736 spatial_idwt_init(cs, buffer, width, height, stride, type, in ff_spatial_idwt()
738 for (y = 0; y < height; y += 4) in ff_spatial_idwt()
739 spatial_idwt_slice(cs, buffer, temp, width, height, stride, type, in ff_spatial_idwt()