v_mix
Vitis Drivers API Documentation
|
This header file contains layer 2 API's of the mixer core driver.The functions contained herein provides a high level implementation of features provided by the IP, abstracting away the register level details from the user
Mixer IP Features
The Mixer IP supports following features
Dependency
This driver makes use of the video enumerations and data types defined in the Xilinx Video Common Driver (video_common_vX.x) and as such the common driver must be included as dependency to compile this driver
Initialization & Configuration
The device driver enables higher layer software (e.g., an application) to communicate with the mixer core.
Driver is built with layered architecture
Before using the layer-2 API's user must initialize the core by calling API XVMix_Initialize(). This function will look for a configuration structure for the device and initialize it to defined HW settings. It is recommended user always make use of Layer-2 API to interact with this core. Advanced users always have the capability to directly interact with the IP core using Layer-1 API's that perform low level register peek/poke.
Pre-Requisite's
If optional layers are included in the IP then
Interrupts
Driver is configured to operate both in polling as well as interrupt mode.
Virtual Memory
This driver supports Virtual Memory. The RTOS is responsible for calculating the correct device base address in Virtual Memory space.
Threads
This driver is not thread safe. Any needs for threads or thread mutual exclusion must be satisfied by the layer above this driver.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00 rco 10/29/15 Initial Release 12/14/15 Added interrupt handler 02/12/16 Added Stride and memory Alignement requirements 02/25/16 Replace GetColorFromat function with a macro 03/08/16 Replace GetColorFromat macro with function and added master layer video format 2.00 rco 07/21/16 Used UINTPTR instead of u32 for Baseaddress 08/03/16 Add Logo Pixel Alpha support 3.00 vyc 10/04/17 Add second buffer pointer for semi-planar formats 4.00 vyc 04/04/18 Add 8th overlayer Move logo layer enable from bit 8 to bit 15 6.00 pg 01/10/20 Add Colorimetry Feature