Ignore:
Timestamp:
Dec 3, 2015, 4:40:49 PM (9 years ago)
Author:
alain
Message:

Modify the mjpeg application to support an optional
DCT hardware coprocessor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/mjpeg/libu.c

    r723 r736  
    5252    // giet_tty_alloc( 0 );
    5353
    54     PRINTF("\n[MJPEG] thread LIBU[%d] starts on P[%d,%d,%d]\n", index , x , y , p )
     54    PRINTF("\n[MJPEG] thread LIBU[%d] starts on P[%d,%d,%d] / trdid = %x\n",
     55           index , x , y , p, (uint32_t)trdid_libu[index] )
    5556
    5657    uint32_t image = index;
     
    8384
    8485#if (DEBUG_LIBU > 1)
    85 PRINTF("\nLIBU[%d] copy block[%d] for image %d\n",
    86 index, line * nblocks_w + column , image )
     86if ( (index == DEBUG_CLUSTER_INDEX) || (DEBUG_CLUSTER_INDEX == 0XFFFFFFFF) )
     87{ PRINTF("\nLIBU[%d] copy block[%d] for image %d\n",
     88         index, line * nblocks_w + column , image ) }
    8789#endif
    8890            }
     
    9799
    98100#if DEBUG_LIBU
    99 PRINTF("\nLIBU[%d] completes image %d at cycle %d\n", index , image , time )
     101if ( (index == DEBUG_CLUSTER_INDEX) || (DEBUG_CLUSTER_INDEX == 0XFFFFFFFF) )
     102{ PRINTF("\nLIBU[%d] completes image %d at cycle %d\n", index , image , time ) }
    100103#endif
    101104        // register date of display for instrumentation
     
    106109    }  // end while on images
    107110
    108     giet_pthread_exit( "libu completed" );
     111    giet_pthread_exit( "LIBU completed" );
    109112
    110113}  // end libu()
Note: See TracChangeset for help on using the changeset viewer.