Home | History | Annotate | Download | only in mosaic

Lines Matching refs:BORDER

61     m_pFrameYPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevs, (unsigned short) width, (unsigned short) height, BORDER);
62 m_pFrameUPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevsC, (unsigned short) (width), (unsigned short) (height), BORDER);
63 m_pFrameVPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevsC, (unsigned short) (width), (unsigned short) (height), BORDER);
217 // Rounding up, so that we don't include the gray border.
342 // Spread the image through the border
343 PyramidShort::BorderSpread(m_pFrameYPyr, BORDER, BORDER, BORDER, BORDER);
344 PyramidShort::BorderSpread(m_pFrameUPyr, BORDER, BORDER, BORDER, BORDER);
345 PyramidShort::BorderSpread(m_pFrameVPyr, BORDER, BORDER, BORDER, BORDER);
368 m_pMosaicYPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevs,(unsigned short)rect.Width(),(unsigned short)rect.Height(),BORDER);
369 m_pMosaicUPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevsC,(unsigned short)rect.Width(),(unsigned short)rect.Height(),BORDER);
370 m_pMosaicVPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevsC,(unsigned short)rect.Width(),(unsigned short)rect.Height(),BORDER);
410 // in the gray border areas. imgMos.V and imgMos.U are set to 128 for the
639 // invalid (i.e. in the gray border).
685 { // set border color in here
813 l = (l <= 0) ? -BORDER : l - BORDER;
814 else if (l < -BORDER)
815 l = -BORDER;
818 b = (b <= 0) ? -BORDER : b - BORDER;
819 else if (b < -BORDER)
820 b = -BORDER;
823 r = (r >= dptr->width) ? dptr->width + BORDER - 1 : r + BORDER;
824 else if (r >= dptr->width + BORDER)
825 r = dptr->width + BORDER - 1;
828 t = (t >= dptr->height) ? dptr->height + BORDER - 1 : t + BORDER;
829 else if (t >= dptr->height + BORDER)
830 t = dptr->height + BORDER - 1;
897 l = (l <= 0) ? -BORDER : l - BORDER;
898 else if (l < -BORDER)
899 l = -BORDER;
902 b = (b <= 0) ? -BORDER : b - BORDER;
903 else if (b < -BORDER)
904 b = -BORDER;
907 r = (r >= dptr->width) ? dptr->width + BORDER - 1 : r + BORDER;
908 else if (r >= dptr->width + BORDER)
909 r = dptr->width + BORDER - 1;
912 t = (t >= dptr->height) ? dptr->height + BORDER - 1 : t + BORDER;
913 else if (t >= dptr->height + BORDER)
914 t = dptr->height + BORDER - 1;
988 if(inSegment(x1, sptr->width, BORDER-1) &&
989 inSegment(y1, sptr->height, BORDER-1))
1004 if(inSegment(x1, sptr->width, BORDER) && inSegment(y1, sptr->height, BORDER))
1036 clipToSegment(x1, sptr->width, BORDER);
1037 clipToSegment(y1, sptr->height, BORDER);