Home
last modified time | relevance | path

Searched refs:y1 (Results 1 – 20 of 20) sorted by relevance

/TwlSDK-5.1.0/include/nitro/gx/
Dg2.h105 static void G2_SetBG2Affine(const MtxFx22 *mtx, int centerX, int centerY, int x1, int y1);
106 static void G2_SetBG3Affine(const MtxFx22 *mtx, int centerX, int centerY, int x1, int y1);
112 static void G2_SetWnd0Position(int x1, int y1, int x2, int y2);
113 static void G2_SetWnd1Position(int x1, int y1, int x2, int y2);
142 static void G2S_SetBG2Affine(const MtxFx22 *mtx, int centerX, int centerY, int x1, int y1);
143 static void G2S_SetBG3Affine(const MtxFx22 *mtx, int centerX, int centerY, int x1, int y1);
149 static void G2S_SetWnd0Position(int x1, int y1, int x2, int y2);
150 static void G2S_SetWnd1Position(int x1, int y1, int x2, int y2);
174 void G2x_SetBGyAffine_(u32 addr, const MtxFx22 *mtx, int centerX, int centerY, int x1, int y1);
454 static inline void G2_SetWnd0Position(int x1, int y1, int x2, int y2) in G2_SetWnd0Position() argument
[all …]
Dg3.h207 #define GX_VIEWPORT_ASSERT(x1, y1, x2, y2) \ argument
208 SDK_ASSERT( (x1) < (x2) && (y1) < (y2) && \
210 (y1) >= 0 && (y2) < 192 )
572 #define GX_PACK_VIEWPORT_PARAM(x1, y1, x2, y2) \ argument
573 ((u32)((x1) | ((y1) << 8) | ((x2) << 16) | ((y2) << 24)))
Dg3imm.h86 static void G3_ViewPort(int x1, int y1, int x2, int y2);
697 static inline void G3_ViewPort(int x1, int y1, int x2, int y2) in G3_ViewPort() argument
699 GX_VIEWPORT_ASSERT(x1, y1, x2, y2); in G3_ViewPort()
701 reg_G3_VIEWPORT = GX_PACK_VIEWPORT_PARAM(x1, y1, x2, y2); in G3_ViewPort()
Dg3c.h97 static void G3CS_ViewPort(GXDLInfo *info, int x1, int y1, int x2, int y2);
151 void G3C_ViewPort(GXDLInfo *info, int x1, int y1, int x2, int y2);
769 static inline void G3CS_ViewPort(GXDLInfo *info, int x1, int y1, int x2, int y2) in G3CS_ViewPort() argument
771 GX_VIEWPORT_ASSERT(x1, y1, x2, y2); in G3CS_ViewPort()
773 G3CS_Direct1(info, G3OP_VIEWPORT, GX_PACK_VIEWPORT_PARAM(x1, y1, x2, y2)); in G3CS_ViewPort()
Dg3b.h104 static void G3BS_ViewPort(GXDLInfo *info, int x1, int y1, int x2, int y2);
159 void G3B_ViewPort(GXDLInfo *info, int x1, int y1, int x2, int y2);
871 static inline void G3BS_ViewPort(GXDLInfo *info, int x1, int y1, int x2, int y2) in G3BS_ViewPort() argument
873 GX_VIEWPORT_ASSERT(x1, y1, x2, y2); in G3BS_ViewPort()
875 G3BS_Direct1(info, G3OP_VIEWPORT, GX_PACK_VIEWPORT_PARAM(x1, y1, x2, y2)); in G3BS_ViewPort()
/TwlSDK-5.1.0/build/demos/spi/tp-2/src/
Dmain.c34 static void DrawLine(u16 x1, u16 y1, u16 x2, u16 y2, u16 col);
83 static void DrawLine(u16 x1, u16 y1, u16 x2, u16 y2, u16 col) in DrawLine() argument
90 height = (u16)((y1 >= y2) ? (y1 - y2) : (y2 - y1)); // height = | y1 - y2 | in DrawLine()
106 base = y1; in DrawLine()
112 py = (u16)(((px - min) * (y2 - y1)) / (x2 - x1) + base); in DrawLine()
120 if (y1 >= y2) in DrawLine()
123 max = y1; in DrawLine()
128 min = y1; in DrawLine()
136 px = (u16)((py - min) * (x2 - x1) / (y2 - y1) + base); in DrawLine()
/TwlSDK-5.1.0/include/twl/camera/ARM9/
Dcamera.h156 void CAMERA_SetTrimmingParamsCore(u16 x1, u16 y1, u16 x2, u16 y2);
157 SDK_INLINE void CAMERA_SetTrimmingParams(u16 x1, u16 y1, u16 x2, u16 y2) in CAMERA_SetTrimmingParams() argument
161 CAMERA_SetTrimmingParamsCore(x1, y1, x2, y2); in CAMERA_SetTrimmingParams()
179 void CAMERA_GetTrimmingParamsCore(u16* x1, u16* y1, u16* x2, u16* y2);
180 SDK_INLINE void CAMERA_GetTrimmingParams(u16* x1, u16* y1, u16* x2, u16* y2) in CAMERA_GetTrimmingParams() argument
184 CAMERA_GetTrimmingParamsCore(x1, y1, x2, y2); in CAMERA_GetTrimmingParams()
/TwlSDK-5.1.0/build/libraries/camera/ARM9.TWL/src/
Dcamera.c152 void CAMERA_SetTrimmingParamsCore(u16 x1, u16 y1, u16 x2, u16 y2) in CAMERA_SetTrimmingParamsCore() argument
154 …if( (x1 > x2)||(y1 > y2) ) // The ending position offset is smaller than the starting position off… in CAMERA_SetTrimmingParamsCore()
161 reg_CAM_SOFS = REG_CAM_SOFS_FIELD( y1, x1 ); in CAMERA_SetTrimmingParamsCore()
179 void CAMERA_GetTrimmingParamsCore(u16* x1, u16* y1, u16* x2, u16* y2) in CAMERA_GetTrimmingParamsCore() argument
182 *y1 = (u16)((reg_CAM_SOFS & REG_CAM_SOFS_VOFS_MASK) >> REG_CAM_SOFS_VOFS_SHIFT); in CAMERA_GetTrimmingParamsCore()
/TwlSDK-5.1.0/build/libraries/prc/common/src/
Dprc_algo_common.c262 #define FMT_BB(bb) (bb).x1,(bb).y1,(bb).x2,(bb).y2
588 boundingBox.y1 = PRC_LARGE_ENOUGH_Y; in PRCi_ExtractInputPattern_Common()
603 if (point->y < boundingBox.y1) in PRCi_ExtractInputPattern_Common()
604 boundingBox.y1 = point->y; in PRCi_ExtractInputPattern_Common()
610 wy = boundingBox.y2 - boundingBox.y1; in PRCi_ExtractInputPattern_Common()
613 dy = (boundingBox.y1 + boundingBox.y2) / 2 - w / 2; in PRCi_ExtractInputPattern_Common()
856 if (pattern->normalizeSize < (box->y2 - box->y1)) in PRCi_ExtractInputPattern_Common()
858 pattern->normalizeSize = box->y2 - box->y1; in PRCi_ExtractInputPattern_Common()
878 data->wholeBoundingBox.y1 = PRC_LARGE_ENOUGH_Y; in PRCi_CalcExtraValues_Common()
917 boundingBox.y1 = point->y; in PRCi_CalcExtraValues_Common()
[all …]
Dprc_resample.c542 int x1, y1, x2, y2, xDir, yDir, offs; in PRC_ResampleStrokes_Recursive() local
561 y1 = inputPoints[p1].y; in PRC_ResampleStrokes_Recursive()
565 yDir = y2 - y1; in PRC_ResampleStrokes_Recursive()
566 …offs = -(x1 * y2 - x2 * y1); // Items bundled together in order to reduce the amount of cal… in PRC_ResampleStrokes_Recursive()
Dprc_algo_fine.c288 tmp = inputData->wholeBoundingBox.y2 - inputData->wholeBoundingBox.y1; in PRCi_CalcStrokeDistance_Fine()
294 tmp = protoData->wholeBoundingBox.y2 - protoData->wholeBoundingBox.y1; in PRCi_CalcStrokeDistance_Fine()
Dprc_algo_superfine.c325 tmp = inputData->wholeBoundingBox.y2 - inputData->wholeBoundingBox.y1; in PRCi_CalcStrokeDistance_Superfine()
331 tmp = protoData->wholeBoundingBox.y2 - protoData->wholeBoundingBox.y1; in PRCi_CalcStrokeDistance_Superfine()
/TwlSDK-5.1.0/build/libraries/gx/ARM9/src/
Dg2.c30 void G2x_SetBGyAffine_(u32 addr, const MtxFx22 *mtx, int centerX, int centerY, int x1, int y1) in G2x_SetBGyAffine_() argument
48 dy = y1 - centerY; in G2x_SetBGyAffine_()
Dg3b.c1130 void G3B_ViewPort(GXDLInfo *info, int x1, int y1, int x2, int y2) in G3B_ViewPort() argument
1132 G3BS_ViewPort(info, x1, y1, x2, y2); in G3B_ViewPort()
Dg3c.c1289 void G3C_ViewPort(GXDLInfo *info, int x1, int y1, int x2, int y2) in G3C_ViewPort() argument
1291 G3CS_ViewPort(info, x1, y1, x2, y2); in G3C_ViewPort()
/TwlSDK-5.1.0/include/nitro/prc/
Dtypes.h71 s16 x1, y1; // Upper-left coordinate of bounding box member
/TwlSDK-5.1.0/build/demos/prc/characterRecognition-1/src/
Dmain.c47 static void DrawLine(int x1, int y1, int x2, int y2, u16 col);
365 void DrawLine(int x1, int y1, int x2, int y2, u16 col) in DrawLine() argument
372 SDK_ASSERT(x1 >= 0 && y1 >= 0 && x2 >= 0 && y2 >= 0); in DrawLine()
378 sy = (u16)y1; in DrawLine()
386 ey = (u16)y1; in DrawLine()
/TwlSDK-5.1.0/build/demos/prc/characterRecognition-2/src/
Dmain.c49 static void DrawLine(int x1, int y1, int x2, int y2, u16 col);
631 void DrawLine(int x1, int y1, int x2, int y2, u16 col) in DrawLine() argument
638 SDK_ASSERT(x1 >= 0 && y1 >= 0 && x2 >= 0 && y2 >= 0); in DrawLine()
644 sy = (u16)y1; in DrawLine()
652 ey = (u16)y1; in DrawLine()
/TwlSDK-5.1.0/build/libraries/spi/ARM9/src/
Dtp.c419 u16 x1, y1, x2, y2, dx1, dy1, dx2, dy2; in TP_GetUserInfo() local
424 y1 = info->ncd.tp.raw_y1; in TP_GetUserInfo()
433 if ((x1 == 0 && x2 == 0 && y1 == 0 && y2 == 0) || in TP_GetUserInfo()
434 (TP_CalcCalibrateParam(calibrate, x1, y1, dx1, dy1, x2, y2, dx2, dy2) != 0)) in TP_GetUserInfo()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_BmpBg_MainRam/pictures/
Dpicture_256_192_d.ppm360 4h$2d,8`/5d.4l*8t*#T,b4n#X )ZJ}3c�VW�KDx6H~@J�;@y1;l,Ez&]�h�)]�Jf�H_�F�-?{O�-R�-c�Hh�R_�-W�…