Home
last modified time | relevance | path

Searched refs:WIDTH (Results 1 – 7 of 7) sorted by relevance

/TwlSDK-5.4/build/demos.TWL/camera/simpleShoot-1/src/
Dmain.c27 #define WIDTH 256 // Image width macro
30 #define LINES_AT_ONCE CAMERA_GET_MAX_LINES(WIDTH) // Number of lines transferred in one cycle
31 #define BYTES_PER_LINE CAMERA_GET_LINE_BYTES(WIDTH) // Number of bytes in one line's transfer
44 static u16 buffer[2][WIDTH*HEIGHT] ATTRIBUTE_ALIGN(32);
66 static u16 shoot_buffer[WIDTH*HEIGHT] ATTRIBUTE_ALIGN(32);
131 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in CameraIntrError()
188 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in CameraDmaRecvIntr()
237 MI_CpuClearFast(shoot_buffer, WIDTH*HEIGHT*sizeof(u16)); in TwlMain()
238 GXS_LoadBG3Bmp(shoot_buffer, 0, WIDTH*HEIGHT*sizeof(u16)); in TwlMain()
282 CAMERA_SetTrimmingParams(0, 0, WIDTH, HEIGHT); in TwlMain()
[all …]
/TwlSDK-5.4/build/demos.TWL/camera/simpleShoot-2/src/
Dmain.c27 #define WIDTH 256 // Image width macro
30 #define LINES_AT_ONCE CAMERA_GET_MAX_LINES(WIDTH) // Number of lines transferred in one cycle
31 #define BYTES_PER_LINE CAMERA_GET_LINE_BYTES(WIDTH) // Number of bytes in one line's transfer
44 static u16 buffer[2][WIDTH*HEIGHT] ATTRIBUTE_ALIGN(32);
72 static u16 shoot_buffer[WIDTH*HEIGHT] ATTRIBUTE_ALIGN(32);
106 …MI_CpuCopyFast(buffer[rp], (void*)(movie_buffer+(WIDTH*HEIGHT*movie_buffer_count)), BYTES_PER_LINE… in VBlankIntr()
160 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in CameraIntrError()
217 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in CameraDmaRecvIntr()
266 MI_CpuClearFast(shoot_buffer, WIDTH*HEIGHT*sizeof(u16)); in TwlMain()
267 GXS_LoadBG3Bmp(shoot_buffer, 0, WIDTH*HEIGHT*sizeof(u16)); in TwlMain()
[all …]
/TwlSDK-5.4/build/demos.TWL/camera/camera-1/src/
Dmain.c23 #define WIDTH 256 // Image width macro
26 #define LINES_AT_ONCE CAMERA_GET_MAX_LINES(WIDTH) // Number of lines transferred in one cycle
27 #define BYTES_PER_LINE CAMERA_GET_LINE_BYTES(WIDTH) // Number of bytes in one line's transfer
45 static u16 buffer[2][WIDTH*HEIGHT] ATTRIBUTE_ALIGN(32);
145 CAMERA_SetTransferLines(CAMERA_GET_MAX_LINES(WIDTH)); in TwlMain()
161 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in TwlMain()
226 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in TwlMain()
265 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in TwlMain()
303 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in TwlMain()
381 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in CameraIntrError()
[all …]
/TwlSDK-5.4/build/demos.TWL/camera/camera-4/src/
Dmain.c23 #define WIDTH 256 // Image width macro
26 #define LINES_AT_ONCE CAMERA_GET_MAX_LINES(WIDTH) // Number of lines transferred in one cycle
27 #define BYTES_PER_LINE CAMERA_GET_LINE_BYTES(WIDTH) // Number of bytes in one line's transfer
48 static u16 buffer[2][WIDTH*HEIGHT] ATTRIBUTE_ALIGN(32);
166 CAMERA_SetTransferLines(CAMERA_GET_MAX_LINES(WIDTH)); in TwlMain()
169 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in TwlMain()
216 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in TwlMain()
324 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in CameraIntrError()
382 …A_DmaRecvAsync(NDMA_NO, buffer[wp], CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in CameraDmaRecvIntr()
/TwlSDK-5.4/build/demos.TWL/camera/camera-3/src/
Dmain.c23 #define WIDTH 256 // Image width macro
26 #define LINES_AT_ONCE CAMERA_GET_MAX_LINES(WIDTH) // Number of lines transferred in one cycle
27 #define BYTES_PER_LINE CAMERA_GET_LINE_BYTES(WIDTH) // Number of bytes in one line's transfer
231 CAMERA_SetTransferLines(CAMERA_GET_MAX_LINES(WIDTH)); in TwlMain()
234 …sync(NDMA_NO, GetNextCaptureAddr(), CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in TwlMain()
281 …sync(NDMA_NO, GetNextCaptureAddr(), CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in TwlMain()
334 …sync(NDMA_NO, GetNextCaptureAddr(), CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in CameraIntrError()
378 …sync(NDMA_NO, GetNextCaptureAddr(), CAMERA_GetBytesAtOnce(WIDTH), CAMERA_GET_FRAME_BYTES(WIDTH, HE… in CameraDmaRecvIntr()
/TwlSDK-5.4/build/demos.TWL/camera/camera-2/src/
Dmain.c24 #define WIDTH 256 // Image width macro
27 #define LINES_AT_ONCE CAMERA_GET_MAX_LINES(WIDTH) // Number of lines transferred in one cycle
28 #define BYTES_PER_LINE CAMERA_GET_LINE_BYTES(WIDTH) // Number of bytes in one line's transfer
49 static u16 buffer[2][WIDTH*HEIGHT] ATTRIBUTE_ALIGN(32);
143 CAMERA_SetTransferLines(CAMERA_GET_MAX_LINES(WIDTH)); in TwlMain()
160 CAMERA_DmaPipeInfinity(NDMA_NO, pipeBuffer, CAMERA_GetBytesAtOnce(WIDTH), NULL, NULL); in TwlMain()
266 u32 *dest = (u32*)buffer[wp] + lineNumber * WIDTH / 2; in CameraDmaIntr()
267 for (i = 0; i < WIDTH * LINES_AT_ONCE / 2; i++) in CameraDmaIntr()
274 MI_CpuCopyFast(pipeBuffer, (u16*)buffer[wp] + lineNumber * WIDTH, sizeof(pipeBuffer)); in CameraDmaIntr()
/TwlSDK-5.4/build/demos.TWL/tcl/tcl-1/src/
Dmain.c28 #define WIDTH 256 // Image width macro
46 static u16 draw_buffer[ WIDTH * HEIGHT ] ATTRIBUTE_ALIGN(32);
147 u16* thumb_img = &new_img[ ( HEIGHT - SSP_JPEG_THUMBNAIL_HEIGHT ) / 2 * WIDTH + in DownSampling()
148 ( WIDTH - SSP_JPEG_THUMBNAIL_WIDTH ) / 2 ]; in DownSampling()
209 MI_CpuClearFast( draw_buffer, WIDTH * HEIGHT * sizeof(u16) ); in TwlMain()
210 GX_LoadBG3Bmp( draw_buffer, 0, WIDTH * HEIGHT * sizeof(u16) ); in TwlMain()
531 MI_CpuClearFast( draw_buffer, WIDTH * HEIGHT * sizeof(u16) ); in TwlMain()
535 draw_buffer, WIDTH, HEIGHT ); in TwlMain()
553 if( !success_flag ) MI_CpuClearFast( draw_buffer, WIDTH * HEIGHT * sizeof(u16) ); in TwlMain()
554 DC_FlushRange( draw_buffer, WIDTH * HEIGHT * sizeof(u16) ); in TwlMain()
[all …]