Changeset 748 for soft/giet_vm/applications/mjpeg/iqzz.c
- Timestamp:
- Dec 16, 2015, 1:03:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/mjpeg/iqzz.c
r736 r748 13 13 14 14 // macro to use a shared TTY 15 #define PRINTF(...) 16 giet_tty_printf(__VA_ARGS__); \17 lock_release( &tty_lock);15 #define PRINTF(...) do { lock_acquire( &tty_lock ); \ 16 giet_tty_printf(__VA_ARGS__); \ 17 lock_release( &tty_lock ); } while(0); 18 18 19 19 ////////////////////////////////////////////////////////////// … … 56 56 57 57 PRINTF("\n[MJPEG] thread IQZZ[%d] starts on P[%d,%d,%d] / trdid = %x\n", 58 index , x , y , p, (uint32_t)trdid_iqzz[index] ) 58 index , x , y , p, (uint32_t)trdid_iqzz[index] ); 59 59 60 60 … … 68 68 #if (DEBUG_IQZZ > 1) 69 69 if ( (index == DEBUG_CLUSTER_INDEX) || (DEBUG_CLUSTER_INDEX == 0XFFFFFFFF) ) 70 {PRINTF("\nIQZZ[%d] get quantisation coefs for image %d\n"70 PRINTF("\nIQZZ[%d] get quantisation coefs for image %d\n" 71 71 "%d %d %d %d %d %d %d %d\n" 72 72 "%d %d %d %d %d %d %d %d\n" … … 85 85 QT[40],QT[41],QT[42],QT[43],QT[44],QT[45],QT[46],QT[47], 86 86 QT[48],QT[49],QT[50],QT[51],QT[52],QT[53],QT[54],QT[55], 87 QT[56],QT[57],QT[58],QT[59],QT[60],QT[61],QT[62],QT[63] ) }87 QT[56],QT[57],QT[58],QT[59],QT[60],QT[61],QT[62],QT[63] ); 88 88 #endif 89 89 … … 104 104 #if (DEBUG_IQZZ > 1) 105 105 if ( (index == DEBUG_CLUSTER_INDEX) || (DEBUG_CLUSTER_INDEX == 0XFFFFFFFF) ) 106 {PRINTF("\nIQZZ[%d] completes block %d/%d in image %d\n"106 PRINTF("\nIQZZ[%d] completes block %d/%d in image %d\n" 107 107 " %d %d %d %d %d %d %d %d\n" 108 108 " %d %d %d %d %d %d %d %d\n" … … 121 121 bout[40], bout[41], bout[42], bout[43], bout[44], bout[45], bout[46], bout[47], 122 122 bout[48], bout[49], bout[50], bout[51], bout[52], bout[53], bout[54], bout[55], 123 bout[56], bout[57], bout[58], bout[59], bout[60], bout[61], bout[62], bout[63]) }123 bout[56], bout[57], bout[58], bout[59], bout[60], bout[61], bout[62], bout[63]); 124 124 #endif 125 125 } // end for blocks … … 127 127 #if DEBUG_IQZZ 128 128 if ( (index == DEBUG_CLUSTER_INDEX) || (DEBUG_CLUSTER_INDEX == 0XFFFFFFFF) ) 129 { PRINTF("\nIQZZ[%d] completes image %d at cycle %d\n", index , image , giet_proctime() ) } 129 PRINTF("\nIQZZ[%d] completes image %d at cycle %d\n", index , image , giet_proctime() ); 130 130 #endif 131 131
Note: See TracChangeset
for help on using the changeset viewer.