Changes between Version 98 and Version 99 of library_stdio
- Timestamp:
- Jul 18, 2015, 9:19:15 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_stdio
v98 v99 365 365 === 2) void '''giet_fbf_cma_init_buf'''( void* buf0_vbase , void* buf1_vbase , void* sts0_vaddr , void* sts1_vaddr ) === 366 366 This function initializes the chained buffer descriptors for the two source buffers and the frame buffer. 367 * '''buf0_vbase''' is the first user buffer base address, 368 * '''buf1_vbase''' is the second user buffer base address, 369 * '''sts0_vaddr''' is the virtual address of the first buffer status, 370 * '''sts1_vaddr''' is the virtual address of the second buffer status. 367 The buf0 and buf1 user buffers must be large enough to store a complete image, and must be aligned on a 64 bytes boundary. 368 The sts0 and sts1 user buffers contain just a Boolean, but they must be large enough to store 64 bytes, and must be aligned on a 64 bytes boundary. 369 * '''buf0_vbase''' : virtual address of the first data buffer. 370 * '''buf1_vbase''' : virtual address of the second data buffer, 371 * '''sts0_vaddr''' : virtual address of the first buffer status. 372 * '''sts1_vaddr''' : virtual address of the second buffer status. 371 373 372 374 === 3) void '''giet_fbf_cma_start'''( unsigned int length ) === 373 This function initializes the chained buffer DMA controller (CMA) to transfera stream of images from two 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.374 * '''length''' is the buffer size (bytes).375 This function activates the transfer of a stream of images from two 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. 376 * '''length''' is the size of the image (bytes). 375 377 376 378 === 4) void '''giet_fbf_cma_display'''( unsigned int buffer ) ===