Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 30) sorted by relevance

12

/TwlSDK-5.4/include/twl/ssp/ARM9/
Dbmp_conv.h46 u32 SSP_YUV422ToRGB888b( const void* src, void* dst, u16 width, u16 height );
60 u32 SSP_RGB555ToRGB888b( const void* src, void* dst, u16 width, u16 height );
72 u32 SSP_GetRGB888Size( u16 width, u16 height );
85 void SSP_CreateBmpHeader( u8 *dst, u16 width, u16 height );
108 u32 SSP_GetBmpFileSize(u16 width, u16 height);
123 u32 SSP_CreateBmpFile(const void* src, void* dst, u16 width, u16 height, SSPConvertBmpType type);
Djpegenc.h46 u32 SSP_GetJpegEncoderBufferSize(u32 width, u32 height, u32 sampling, u32 option);
73 u32 width, u32 height,
102 u32 width, u32 height, in SSP_StartJpegEncoderEx() argument
109 result = SSP_StartJpegEncoder(src, dst, limit, wrk, width, height, quality, sampling, option); in SSP_StartJpegEncoderEx()
138 u32 width, u32 height, u32 sampling, u32 option);
165 u32 width, u32 height,
194 u32 width, u32 height, in SSP_StartJpegEncoderWithEncodeDataEx() argument
201 …result = SSP_StartJpegEncoderWithEncodeData(dst, limit, wrk, width, height, quality, sampling, opt… in SSP_StartJpegEncoderWithEncodeDataEx()
250 u32 width, u32 height,
281 u32 width, u32 height, in SSP_StartJpegEncoderLiteEx() argument
[all …]
Djpegdec.h94 u16 height; // Actual image height member
132 BOOL SSP_StartJpegDecoder(u8* data, u32 size, void* dst, s16* width, s16* height, u32 option);
155 static inline BOOL SSP_StartJpegDecoderEx(u8* data, u32 size, void* dst, s16* width, s16* height, u… in SSP_StartJpegDecoderEx() argument
161 result = SSP_StartJpegDecoder(data, size, dst, width, height, option); in SSP_StartJpegDecoderEx()
Dexifenc.h103 u32 SSP_ExifEncode(u8* l_dst, u32 width, u32 height, const u8* thumb_src, u32 thumb_size);
/TwlSDK-5.4/include/twl/camera/common/
Dutil.h95 CAMERASize CAMERA_WidthHeightToSizeCore( u16 width, u16 height );
96 SDK_INLINE CAMERASize CAMERA_WidthHeightToSize( u16 width, u16 height ) in CAMERA_WidthHeightToSize() argument
100 return CAMERA_WidthHeightToSizeCore(width, height); in CAMERA_WidthHeightToSize()
133 CAMERASize CAMERA_HeightToSizeCore( u16 height );
134 SDK_INLINE CAMERASize CAMERA_HeightToSize( u16 height ) in CAMERA_HeightToSize() argument
138 return CAMERA_HeightToSizeCore(height); in CAMERA_HeightToSize()
/TwlSDK-5.4/build/demos/wm/wep-1/src/
Dgraphics.c75 void drawPseudo2DTexQuad(int sx, int sy, int width, int height, int texw, int texh) in drawPseudo2DTexQuad() argument
92 G3_Vtx((fx16)((sx + width) * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad()
96 G3_Vtx((fx16)(sx * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad()
100 void drawPseudo2DColorQuad(int sx, int sy, int width, int height, GXRgb color) in drawPseudo2DColorQuad() argument
109 G3_Vtx((fx16)((sx + width) * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DColorQuad()
110 G3_Vtx((fx16)(sx * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DColorQuad()
Dmenu.c93 win->height = win->itemnum * win->lineheight + 8; in addItemToWindow()
115 win->count = win->height; in closeWindow()
132 y = win->y + (win->height / 2) - (win->count / 2); in drawWindow()
176 if (win->count >= win->height) in updateWindow()
187 win->count = win->height; in updateWindow()
253 if (win->count > win->height) in updateWindow()
255 win->count = win->height; in updateWindow()
/TwlSDK-5.4/build/demos/wm/dataShare-Model/src/
Dgraphics.c76 void drawPseudo2DTexQuad(int sx, int sy, int width, int height, int texw, int texh) in drawPseudo2DTexQuad() argument
93 G3_Vtx((fx16)((sx + width) * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad()
97 G3_Vtx((fx16)(sx * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DTexQuad()
101 void drawPseudo2DColorQuad(int sx, int sy, int width, int height, GXRgb color) in drawPseudo2DColorQuad() argument
110 G3_Vtx((fx16)((sx + width) * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DColorQuad()
111 G3_Vtx((fx16)(sx * PSEUDO2D_ONE), (fx16)((sy + height) * PSEUDO2D_ONE), 0); in drawPseudo2DColorQuad()
Dmenu.c98 win->height = (win->itemnum - 1) * win->lineheight + 8; in addItemToWindow()
147 win->count = win->height; in closeWindow()
164 y = win->y + (win->height / 2) - (win->count / 2); in drawWindow()
208 if (win->count >= win->height) in updateWindow()
219 win->count = win->height; in updateWindow()
285 if (win->count > win->height) in updateWindow()
287 win->count = win->height; in updateWindow()
/TwlSDK-5.4/build/libraries/camera/common/src/
Dcamera_util.c103 CAMERASize CAMERA_WidthHeightToSizeCore( u16 width, u16 height ) in CAMERA_WidthHeightToSizeCore() argument
110 if (height == CAMERA_SizeToHeightCore((CAMERASize)size)) in CAMERA_WidthHeightToSizeCore()
151 CAMERASize CAMERA_HeightToSizeCore( u16 height ) in CAMERA_HeightToSizeCore() argument
156 if (height == CAMERA_SizeToHeightCore((CAMERASize)size)) in CAMERA_HeightToSizeCore()
/TwlSDK-5.4/include/twl/dsp/common/
Dgraphics.h81 u16 height; member
112 … u16 x, u16 y, u16 width, u16 height, DSP_GraphicsCallback callback, BOOL async);
114 … u16 x, u16 y, u16 width, u16 height, DSP_GraphicsCallback callback, BOOL async);
275 u16 x, u16 y, u16 width, u16 height) in DSP_ScalingEx() argument
279 …return DSPi_ScalingCore(src, dst, img_width, img_height, rx, ry, mode, x, y, width, height, NULL, … in DSP_ScalingEx()
285 u16 x, u16 y, u16 width, u16 height) in DSP_ScalingFxEx() argument
289 …SPi_ScalingFxCore(src, dst, img_width, img_height, rx, ry, mode, x, y, width, height, NULL, FALSE); in DSP_ScalingFxEx()
295 u16 x, u16 y, u16 width, u16 height, DSP_GraphicsCallback callback) in DSP_ScalingAsyncEx() argument
299 …return DSPi_ScalingCore(src, dst, img_width, img_height, rx, ry, mode, x, y, width, height, callba… in DSP_ScalingAsyncEx()
305 … u16 x, u16 y, u16 width, u16 height, DSP_GraphicsCallback callback) in DSP_ScalingFxAsyncEx() argument
[all …]
/TwlSDK-5.4/build/demos/wm/dataShare-Model/include/
Dgraphics.h25 extern void drawPseudo2DTexQuad(int sx, int sy, int width, int height, int texw, int texh);
26 extern void drawPseudo2DColorQuad(int sx, int sy, int width, int height, GXRgb color);
Dmenu.h44 int width, height; member
/TwlSDK-5.4/build/demos/wm/wep-1/include/
Dgraphics.h25 extern void drawPseudo2DTexQuad(int sx, int sy, int width, int height, int texw, int texh);
26 extern void drawPseudo2DColorQuad(int sx, int sy, int width, int height, GXRgb color);
Dmenu.h44 int width, height; member
/TwlSDK-5.4/include/twl/camera/ARM9/
Dcamera.h30 #define CAMERA_GET_FRAME_BYTES(width, height) (CAMERA_GET_LINE_BYTES(width) * (height)) argument
346 int CAMERA_GetMaxLinesRoundCore(u16 width, u16 height);
347 SDK_INLINE int CAMERA_GetMaxLinesRound(u16 width, u16 height) in CAMERA_GetMaxLinesRound() argument
351 return CAMERA_GetMaxLinesRoundCore(width, height); in CAMERA_GetMaxLinesRound()
/TwlSDK-5.4/build/tools/ppmconv/
Dppmconv.c161 int height; in main() local
175 if (ReadHeader(fp, &width, &height, &depth) && depth == 255) in main()
177 size = width * height * 3; in main()
178 printf("\t/* %s: WIDTH=%d HEIGHT=%d DEPTH=%d */\n", argv[1], width, height, depth); in main()
Dppmconv8.c240 int height; in main() local
255 if (ReadHeader(fp, &width, &height, &depth) && depth == 255) in main()
257 size = width * height * 3; in main()
262 printf("const unsigned char %s_Texel[%d * %d] =\n{\n", argv[2], width, height); in main()
263 printf("\t/* %s: WIDTH=%d HEIGHT=%d DEPTH=%d */\n", argv[1], width, height, in main()
Dppmconvbg.c102 static void OutputIndex(FILE * fp, char *label, int max_colors, int width, int height, u8 *pixel);
405 static void OutputIndex(FILE * fp, char *label, int max_colors, int width, int height, u8 *pixel) in OutputIndex() argument
414 fprintf(fp, "const int Num_%s_Texel = %d * %d;\n\n", label, width, height); in OutputIndex()
417 for (i = 0; i < height; i += 8) in OutputIndex()
447 for (i = 0; i < height; i += 8) in OutputIndex()
496 int height; in Convert() local
509 result = ReadHeader(fp, &width, &height, &depth); in Convert()
513 num_pixels = width * height; in Convert()
553 OutputIndex(fp, valuelabel, colormax, width, height, index_buffer); in Convert()
/TwlSDK-5.4/build/libraries/dsp/ARM9.TWL/src/
Ddsp_graphics.c299 … u16 x, u16 y, u16 width, u16 height, DSP_GraphicsCallback callback, BOOL async) in DSPi_ScalingCore() argument
347 sc_param.height = height; in DSPi_ScalingCore()
380 … u16 x, u16 y, u16 width, u16 height, DSP_GraphicsCallback callback, BOOL async) in DSPi_ScalingFxCore() argument
429 sc_param.height = height; in DSPi_ScalingFxCore()
/TwlSDK-5.4/build/demos.TWL/dsp/scaling-1/src/
Dmain.c77 static void WriteScreenBuffer(u16 *data, u32 width, u32 height, u16 *scr);
325 static void WriteScreenBuffer(u16 *data, u32 width, u32 height, u16 *scr) in WriteScreenBuffer() argument
332 if( height > HW_LCD_HEIGHT ) in WriteScreenBuffer()
338 lp_count = height; in WriteScreenBuffer()
/TwlSDK-5.4/build/demos.TWL/dsp/scaling-2/src/
Dmain.c76 static void WriteScreenBuffer(u16 *data, u32 width, u32 height, u16 *scr);
344 static void WriteScreenBuffer(u16 *data, u32 width, u32 height, u16 *scr) in WriteScreenBuffer() argument
351 if( height > HW_LCD_HEIGHT ) in WriteScreenBuffer()
357 lp_count = height; in WriteScreenBuffer()
/TwlSDK-5.4/build/demos.TWL/tcl/tcl-1/src/
Dmain.c473 s16 width, height; in TwlMain() local
484 height = SSP_JPEG_THUMBNAIL_HEIGHT; in TwlMain()
490 height = TCL_JPEG_HEIGHT; in TwlMain()
504 pDecodeTmpBuf = (u16*)OS_Alloc( width * height * sizeof(u16) ); in TwlMain()
520 width, height, in TwlMain()
534 DownSampling( pDecodeTmpBuf, width, height, in TwlMain()
/TwlSDK-5.4/build/demos/spi/tp-2/src/
Dmain.c85 u16 width, height; in DrawLine() local
90 height = (u16)((y1 >= y2) ? (y1 - y2) : (y2 - y1)); // height = | y1 - y2 | in DrawLine()
93 if (width > height) in DrawLine()
/TwlSDK-5.4/build/libraries/camera/ARM9.TWL/src/
Dcamera.c430 int CAMERA_GetMaxLinesRoundCore(u16 width, u16 height) in CAMERA_GetMaxLinesRoundCore() argument
436 if( height % lines == 0 ) in CAMERA_GetMaxLinesRoundCore()

12