Changeset 748 for soft/giet_vm/applications/mjpeg/idct.c
- Timestamp:
- Dec 16, 2015, 1:03:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/mjpeg/idct.c
r736 r748 19 19 20 20 // macro to use a shared TTY 21 #define PRINTF(...) 22 giet_tty_printf(__VA_ARGS__); \23 lock_release( &tty_lock);21 #define PRINTF(...) do { lock_acquire( &tty_lock ); \ 22 giet_tty_printf(__VA_ARGS__); \ 23 lock_release( &tty_lock ); } while(0); 24 24 25 25 // Useful constants … … 214 214 #if (DEBUG_IDCT > 1) 215 215 if ( (index == DEBUG_CLUSTER_INDEX) || (DEBUG_CLUSTER_INDEX == 0XFFFFFFFF) ) 216 216 PRINTF("\nIDCT[%d] completes block %d/%d in image %d\n" 217 217 " %x %x %x %x %x %x %x %x\n" 218 218 " %x %x %x %x %x %x %x %x\n" … … 231 231 bout[40], bout[41], bout[42], bout[43], bout[44], bout[45], bout[46], bout[47], 232 232 bout[48], bout[49], bout[50], bout[51], bout[52], bout[53], bout[54], bout[55], 233 bout[56], bout[57], bout[58], bout[59], bout[60], bout[61], bout[62], bout[63]) }233 bout[56], bout[57], bout[58], bout[59], bout[60], bout[61], bout[62], bout[63]); 234 234 } 235 235 #endif … … 238 238 #if DEBUG_IDCT 239 239 if ( (index == DEBUG_CLUSTER_INDEX) || (DEBUG_CLUSTER_INDEX == 0XFFFFFFFF) ) 240 { PRINTF("\nIDCT[%d] completes image %d at cycle %d\n", index , image , giet_proctime() ) } 240 PRINTF("\nIDCT[%d] completes image %d at cycle %d\n", index , image , giet_proctime() ); 241 241 #endif 242 242
Note: See TracChangeset
for help on using the changeset viewer.