Changes between Version 129 and Version 130 of library_stdio


Ignore:
Timestamp:
Oct 20, 2015, 11:23:36 AM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v129 v130  
    439439This function activates the transfer of a stream of images from a set of chained user buffers to the frame buffer. It must be used in conjunction with the giet_fbf_cma_display() function. The chained buffer descriptors should have been initialized by the giet_fbf_cma_init_buf() function.
    440440
    441  === 6) void '''giet_fbf_cma_display'''( unsigned int index ) ===
    442 This function enables the transfer of the buffer identified by the <index> argument.
    443 For each user buffer, the buffer status must be used as a SET/RESET synchronisation flip-flop, that is set by the application
    444 and reset by the CMA peripheral. 
    445 
    446  === 7) void '''giet_fbf_cma_stop'''( ) ===
     441 === 6) void '''giet_fbf_cma_check'''( unsigned int index ) ===
     442For each user buffer, the status is acting a SET/RESET synchronisation flip-flop, that is set by the application when the buffer is full, and is reset by the CMA peripheral when the transfer is completed. 
     443This function set the status to enable the transfer of the buffer identified by the <index> argument.
     444
     445 === 7) void '''giet_fbf_cma_display'''( unsigned int index ) ===
     446For each user buffer, the status is acting a SET/RESET synchronisation flip-flop, that is set by the application when the buffer is full, and is reset by the CMA peripheral when the transfer is completed. 
     447This blocking function checks the status of the buffer identified by the <index> argument, and returns only when the buffer is empty.
     448
     449 === 8) void '''giet_fbf_cma_stop'''( ) ===
    447450This function desactivates the CMA channel allocated to the calling thread.
    448451
    449  === 8) void '''giet_fbf_sync_read'''( unsigned int offset , void* buffer , unsigned int length ) ===
     452 === 9) void '''giet_fbf_sync_read'''( unsigned int offset , void* buffer , unsigned int length ) ===
    450453This blocking function use a memcopy strategy to transfer data from the frame buffer to an user buffer.
    451454 * '''offset''' defines the offset (in bytes) in the frame buffer,
     
    453456 * '''length'''  is the number of bytes to be transfered.
    454457
    455  === 9) void '''giet_fbf_sync_write'''( unsigned int offset , void* buffer , unsigned int length ) ===
     458 === 10) void '''giet_fbf_sync_write'''( unsigned int offset , void* buffer , unsigned int length ) ===
    456459This blocking function use a memcopy strategy to transfer data from an user buffer to the frame buffer.
    457460 * '''offset''' defines the offset (in bytes) in the frame buffer,