Changeset 736 for soft/giet_vm/applications/mjpeg/idct.c
- Timestamp:
- Dec 3, 2015, 4:40:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/mjpeg/idct.c
r723 r736 155 155 // giet_tty_alloc( 0 ); 156 156 157 PRINTF("\n[MJPEG] thread IDCT[%d] starts on P[%d,%d,%d]\n", index , x , y , p ) 157 PRINTF("\n[MJPEG] thread IDCT[%d] starts on P[%d,%d,%d] / trdid = %x\n", 158 index , x , y , p, (uint32_t)trdid_idct[index] ) 159 158 160 159 161 uint32_t image = index; … … 210 212 mwmr_write( output, (uint32_t*)bout , 16 ); 211 213 212 #if (DEBUG_IDCT > 1) 213 PRINTF("\nIDCT[%d] completes block %d/%d in image %d\n", 214 index , block , nblocks , image ) 215 PRINTF(" %x %x %x %x %x %x %x %x\n" 216 " %x %x %x %x %x %x %x %x\n" 217 " %x %x %x %x %x %x %x %x\n" 218 " %x %x %x %x %x %x %x %x\n" 219 " %x %x %x %x %x %x %x %x\n" 220 " %x %x %x %x %x %x %x %x\n" 221 " %x %x %x %x %x %x %x %x\n" 222 " %x %x %x %x %x %x %x %x\n", 223 bout[0] , bout[1] , bout[2] , bout[3] , bout[4] , bout[5] , bout[6] , bout[7] , 224 bout[8] , bout[9] , bout[10], bout[11], bout[12], bout[13], bout[14], bout[15], 225 bout[16], bout[17], bout[18], bout[19], bout[20], bout[21], bout[22], bout[23], 226 bout[24], bout[25], bout[26], bout[27], bout[28], bout[29], bout[30], bout[31], 227 bout[32], bout[33], bout[34], bout[35], bout[36], bout[37], bout[38], bout[39], 228 bout[40], bout[41], bout[42], bout[43], bout[44], bout[45], bout[46], bout[47], 229 bout[48], bout[49], bout[50], bout[51], bout[52], bout[53], bout[54], bout[55], 230 bout[56], bout[57], bout[58], bout[59], bout[60], bout[61], bout[62], bout[63]) 214 #if (DEBUG_IDCT > 1) 215 if ( (index == DEBUG_CLUSTER_INDEX) || (DEBUG_CLUSTER_INDEX == 0XFFFFFFFF) ) 216 PRINTF("\nIDCT[%d] completes block %d/%d in image %d\n" 217 " %x %x %x %x %x %x %x %x\n" 218 " %x %x %x %x %x %x %x %x\n" 219 " %x %x %x %x %x %x %x %x\n" 220 " %x %x %x %x %x %x %x %x\n" 221 " %x %x %x %x %x %x %x %x\n" 222 " %x %x %x %x %x %x %x %x\n" 223 " %x %x %x %x %x %x %x %x\n" 224 " %x %x %x %x %x %x %x %x\n", 225 index , block , nblocks , image , 226 bout[0] , bout[1] , bout[2] , bout[3] , bout[4] , bout[5] , bout[6] , bout[7] , 227 bout[8] , bout[9] , bout[10], bout[11], bout[12], bout[13], bout[14], bout[15], 228 bout[16], bout[17], bout[18], bout[19], bout[20], bout[21], bout[22], bout[23], 229 bout[24], bout[25], bout[26], bout[27], bout[28], bout[29], bout[30], bout[31], 230 bout[32], bout[33], bout[34], bout[35], bout[36], bout[37], bout[38], bout[39], 231 bout[40], bout[41], bout[42], bout[43], bout[44], bout[45], bout[46], bout[47], 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]) } 231 234 } 232 235 #endif … … 234 237 235 238 #if DEBUG_IDCT 236 PRINTF("IDCT[%d] completes image %d at cycle %d\n", index , image , giet_proctime() ) 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() ) } 237 241 #endif 238 242 … … 241 245 } // end while (1) on images 242 246 243 giet_pthread_exit( " idctcompleted" );247 giet_pthread_exit( "IDCT completed" ); 244 248 245 249 } // end idct()
Note: See TracChangeset
for help on using the changeset viewer.