Changes between Version 129 and Version 130 of library_stdio
- Timestamp:
- Oct 20, 2015, 11:23:36 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_stdio
v129 v130 439 439 This 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. 440 440 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 ) === 442 For 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. 443 This 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 ) === 446 For 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. 447 This 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'''( ) === 447 450 This function desactivates the CMA channel allocated to the calling thread. 448 451 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 ) === 450 453 This blocking function use a memcopy strategy to transfer data from the frame buffer to an user buffer. 451 454 * '''offset''' defines the offset (in bytes) in the frame buffer, … … 453 456 * '''length''' is the number of bytes to be transfered. 454 457 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 ) === 456 459 This blocking function use a memcopy strategy to transfer data from an user buffer to the frame buffer. 457 460 * '''offset''' defines the offset (in bytes) in the frame buffer,