Home
last modified time | relevance | path

Searched refs:brect (Results 1 – 8 of 8) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DGeometry.h34 inline void ClipRect(double x, double y, BlendRect &brect) in ClipRect() argument
36 if (y < brect.bot) brect.bot = y; in ClipRect()
37 if (y > brect.top) brect.top = y; in ClipRect()
38 if (x < brect.lft) brect.lft = x; in ClipRect()
39 if (x > brect.rgt) brect.rgt = x; in ClipRect()
42 inline void ClipRect(BlendRect rrect, BlendRect &brect) in ClipRect() argument
44 if (rrect.bot < brect.bot) brect.bot = rrect.bot; in ClipRect()
45 if (rrect.top > brect.top) brect.top = rrect.top; in ClipRect()
46 if (rrect.lft < brect.lft) brect.lft = rrect.lft; in ClipRect()
47 if (rrect.rgt > brect.rgt) brect.rgt = rrect.rgt; in ClipRect()
DBlend.cpp164 FrameToMosaicRect(mb->width, mb->height, mb->trs, mb->brect); in runBlend()
166 ClipRect(mb->brect, global_rect); in runBlend()
410 mb->vcrect = mb->brect; in DoMergeAndBlend()
413 ComputeMask(csite, mb->vcrect, mb->brect, rect, imgMos, site_idx); in DoMergeAndBlend()
571 ProcessPyramidForThisFrame(csite, mb->vcrect, mb->brect, rect, imgMos, mb->trs, site_idx); in DoMergeAndBlend()
800 void Blend::ComputeMask(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinf… in ComputeMask() argument
810 if (vcrect.lft == brect.lft) in ComputeMask()
815 if (vcrect.bot == brect.bot) in ComputeMask()
820 if (vcrect.rgt == brect.rgt) in ComputeMask()
825 if (vcrect.top == brect.top) in ComputeMask()
[all …]
DBlend.h103 void FrameToMosaicRect(int width, int height, double trs[3][3], BlendRect &brect);
104 void ClipBlendRect(CSite *csite, BlendRect &brect);
108 …void ComputeMask(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinfo &img…
109 …void ProcessPyramidForThisFrame(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rec…
DMosaicTypes.h73 BlendRect brect; // This frame warped to the Mosaic coordinate system variable
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DGeometry.h34 inline void ClipRect(double x, double y, BlendRect &brect) in ClipRect() argument
36 if (y < brect.bot) brect.bot = y; in ClipRect()
37 if (y > brect.top) brect.top = y; in ClipRect()
38 if (x < brect.lft) brect.lft = x; in ClipRect()
39 if (x > brect.rgt) brect.rgt = x; in ClipRect()
42 inline void ClipRect(BlendRect rrect, BlendRect &brect) in ClipRect() argument
44 if (rrect.bot < brect.bot) brect.bot = rrect.bot; in ClipRect()
45 if (rrect.top > brect.top) brect.top = rrect.top; in ClipRect()
46 if (rrect.lft < brect.lft) brect.lft = rrect.lft; in ClipRect()
47 if (rrect.rgt > brect.rgt) brect.rgt = rrect.rgt; in ClipRect()
DBlend.cpp164 FrameToMosaicRect(mb->width, mb->height, mb->trs, mb->brect); in runBlend()
166 ClipRect(mb->brect, global_rect); in runBlend()
410 mb->vcrect = mb->brect; in DoMergeAndBlend()
413 ComputeMask(csite, mb->vcrect, mb->brect, rect, imgMos, site_idx); in DoMergeAndBlend()
571 ProcessPyramidForThisFrame(csite, mb->vcrect, mb->brect, rect, imgMos, mb->trs, site_idx); in DoMergeAndBlend()
820 void Blend::ComputeMask(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinf… in ComputeMask() argument
830 if (vcrect.lft == brect.lft) in ComputeMask()
835 if (vcrect.bot == brect.bot) in ComputeMask()
840 if (vcrect.rgt == brect.rgt) in ComputeMask()
845 if (vcrect.top == brect.top) in ComputeMask()
[all …]
DBlend.h103 void FrameToMosaicRect(int width, int height, double trs[3][3], BlendRect &brect);
104 void ClipBlendRect(CSite *csite, BlendRect &brect);
108 …void ComputeMask(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinfo &img…
109 …void ProcessPyramidForThisFrame(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rec…
DMosaicTypes.h73 BlendRect brect; // This frame warped to the Mosaic coordinate system variable