![]() |
v_frmbuf_rd
Xilinx SDK Drivers API Documentation
|
Enumerations | |
enum | XVFrmbufRd_HandlerType { XVFRMBUFRD_HANDLER_DONE = 1, XVFRMBUFRD_HANDLER_READY } |
These constants specify different types of handler and used to differentiate interrupt requests from peripheral. More... | |
Functions | |
XVidC_ColorFormat | RdMemory2Live (XVidC_ColorFormat MemFmt) |
This function maps the memory video formats to the live/stream video formats. More... | |
int | XVFrmbufRd_Initialize (XV_FrmbufRd_l2 *InstancePtr, u16 DeviceId) |
This function initializes the core instance. More... | |
void | XVFrmbufRd_InterruptEnable (XV_FrmbufRd_l2 *InstancePtr, u32 IrqMask) |
This function enables interrupts in the core. More... | |
void | XVFrmbufRd_InterruptDisable (XV_FrmbufRd_l2 *InstancePtr, u32 IrqMask) |
This function disables interrupts in the core. More... | |
void | XVFrmbufRd_Start (XV_FrmbufRd_l2 *InstancePtr) |
This function starts the core instance. More... | |
int | XVFrmbufRd_Stop (XV_FrmbufRd_l2 *InstancePtr) |
This function stops the core instance. More... | |
int | XVFrmbufRd_WaitForIdle (XV_FrmbufRd_l2 *InstancePtr) |
This function Waits for the core to reach idle state. More... | |
int | XVFrmbufRd_SetMemFormat (XV_FrmbufRd_l2 *InstancePtr, u32 StrideInBytes, XVidC_ColorFormat MemFmt, const XVidC_VideoStream *StrmOut) |
This function configures the frame buffer read memory input. More... | |
XVidC_VideoStream * | XVFrmbufRd_GetVideoStream (XV_FrmbufRd_l2 *InstancePtr) |
This function reads the pointer to the output stream configuration. More... | |
int | XVFrmbufRd_SetBufferAddr (XV_FrmbufRd_l2 *InstancePtr, UINTPTR Addr) |
This function sets the buffer address. More... | |
UINTPTR | XVFrmbufRd_GetBufferAddr (XV_FrmbufRd_l2 *InstancePtr) |
This function reads the buffer address. More... | |
int | XVFrmbufRd_SetChromaBufferAddr (XV_FrmbufRd_l2 *InstancePtr, UINTPTR Addr) |
This function sets the buffer address for the UV plane for semi-planar formats. More... | |
UINTPTR | XVFrmbufRd_GetChromaBufferAddr (XV_FrmbufRd_l2 *InstancePtr) |
This function reads the buffer address for the UV plane for semi-planar formats. More... | |
int | XVFrmbufRd_SetFieldID (XV_FrmbufRd_l2 *InstancePtr, u32 FieldID) |
This function sets the field ID. More... | |
u32 | XVFrmbufRd_GetFieldID (XV_FrmbufRd_l2 *InstancePtr) |
This function reads the field ID. More... | |
void | XVFrmbufRd_DbgReportStatus (XV_FrmbufRd_l2 *InstancePtr) |
This function reports the frame buffer read status. More... | |
#include <xv_frmbufrd_l2.h>
These constants specify different types of handler and used to differentiate interrupt requests from peripheral.
Enumerator | |
---|---|
XVFRMBUFRD_HANDLER_DONE | Handler for ap_done. |
XVFRMBUFRD_HANDLER_READY | Handler for ap_ready. |
XVidC_ColorFormat RdMemory2Live | ( | XVidC_ColorFormat | MemFmt | ) |
#include <xv_frmbufrd_l2.c>
This function maps the memory video formats to the live/stream video formats.
MemFmt | is the video format read from memory |
Referenced by XVFrmbufRd_SetMemFormat().
void XVFrmbufRd_DbgReportStatus | ( | XV_FrmbufRd_l2 * | InstancePtr | ) |
#include <xv_frmbufrd_l2.c>
This function reports the frame buffer read status.
InstancePtr | is a pointer to core instance to be worked upon |
References XV_frmbufrd_Config::AXIMMDataWidth, XV_frmbufrd_Config::BaseAddress, XV_frmbufrd_Config::BGR8En, XV_frmbufrd_Config::BGRA8En, XV_frmbufrd_Config::BGRX8En, XV_frmbufrd::Config, XV_FrmbufRd_l2::FrmbufRd, XV_frmbufrd_Config::Interlaced, XV_frmbufrd_Config::MaxDataWidth, XV_frmbufrd_Config::PixPerClk, XV_frmbufrd_Config::RGB8En, XV_frmbufrd_Config::RGBA8En, XV_frmbufrd_Config::RGBX10En, XV_frmbufrd_Config::RGBX8En, XV_frmbufrd_Config::UYVY8En, XV_frmbufrd_Config::Y10En, XV_frmbufrd_Config::Y8En, XV_frmbufrd_Config::Y_UV10_420En, XV_frmbufrd_Config::Y_UV10En, XV_frmbufrd_Config::Y_UV8_420En, XV_frmbufrd_Config::Y_UV8En, XV_frmbufrd_Config::YUV8En, XV_frmbufrd_Config::YUVA8En, XV_frmbufrd_Config::YUVX10En, XV_frmbufrd_Config::YUVX8En, and XV_frmbufrd_Config::YUYV8En.
UINTPTR XVFrmbufRd_GetBufferAddr | ( | XV_FrmbufRd_l2 * | InstancePtr | ) |
#include <xv_frmbufrd_l2.c>
This function reads the buffer address.
InstancePtr | is a pointer to core instance to be worked upon |
References XV_FrmbufRd_l2::FrmbufRd.
UINTPTR XVFrmbufRd_GetChromaBufferAddr | ( | XV_FrmbufRd_l2 * | InstancePtr | ) |
#include <xv_frmbufrd_l2.c>
This function reads the buffer address for the UV plane for semi-planar formats.
InstancePtr | is a pointer to core instance to be worked upon |
References XV_FrmbufRd_l2::FrmbufRd.
u32 XVFrmbufRd_GetFieldID | ( | XV_FrmbufRd_l2 * | InstancePtr | ) |
#include <xv_frmbufrd_l2.c>
This function reads the field ID.
InstancePtr | is a pointer to core instance to be worked upon |
References XV_frmbufrd::Config, XV_FrmbufRd_l2::FrmbufRd, and XV_frmbufrd_Config::Interlaced.
XVidC_VideoStream* XVFrmbufRd_GetVideoStream | ( | XV_FrmbufRd_l2 * | InstancePtr | ) |
#include <xv_frmbufrd_l2.c>
This function reads the pointer to the output stream configuration.
InstancePtr | is a pointer to core instance to be worked upon |
References XV_FrmbufRd_l2::Stream.
int XVFrmbufRd_Initialize | ( | XV_FrmbufRd_l2 * | InstancePtr, |
u16 | DeviceId | ||
) |
#include <xv_frmbufrd_l2.c>
This function initializes the core instance.
InstancePtr | is a pointer to core instance to be worked upon |
DeviceId | is instance id of the core |
References XV_FrmbufRd_l2::FrmbufRd.
void XVFrmbufRd_InterruptDisable | ( | XV_FrmbufRd_l2 * | InstancePtr, |
u32 | IrqMask | ||
) |
#include <xv_frmbufrd_l2.c>
This function disables interrupts in the core.
InstancePtr | is a pointer to core instance to be worked upon |
References XV_FrmbufRd_l2::FrmbufRd.
void XVFrmbufRd_InterruptEnable | ( | XV_FrmbufRd_l2 * | InstancePtr, |
u32 | IrqMask | ||
) |
#include <xv_frmbufrd_l2.c>
This function enables interrupts in the core.
InstancePtr | is a pointer to core instance to be worked upon |
References XV_FrmbufRd_l2::FrmbufRd.
int XVFrmbufRd_SetBufferAddr | ( | XV_FrmbufRd_l2 * | InstancePtr, |
UINTPTR | Addr | ||
) |
#include <xv_frmbufrd_l2.c>
This function sets the buffer address.
InstancePtr | is a pointer to core instance to be worked upon |
Addr | is the absolute address of buffer in memory |
References XV_frmbufrd::Config, XV_FrmbufRd_l2::FrmbufRd, and XV_frmbufrd_Config::PixPerClk.
int XVFrmbufRd_SetChromaBufferAddr | ( | XV_FrmbufRd_l2 * | InstancePtr, |
UINTPTR | Addr | ||
) |
#include <xv_frmbufrd_l2.c>
This function sets the buffer address for the UV plane for semi-planar formats.
InstancePtr | is a pointer to core instance to be worked upon |
Addr | is the absolute address of buffer in memory |
References XV_frmbufrd::Config, XV_FrmbufRd_l2::FrmbufRd, and XV_frmbufrd_Config::PixPerClk.
int XVFrmbufRd_SetFieldID | ( | XV_FrmbufRd_l2 * | InstancePtr, |
u32 | FieldID | ||
) |
#include <xv_frmbufrd_l2.c>
This function sets the field ID.
InstancePtr | is a pointer to core instance to be worked upon |
Field | ID |
References XV_frmbufrd::Config, XV_FrmbufRd_l2::FrmbufRd, and XV_frmbufrd_Config::Interlaced.
int XVFrmbufRd_SetMemFormat | ( | XV_FrmbufRd_l2 * | InstancePtr, |
u32 | StrideInBytes, | ||
XVidC_ColorFormat | MemFmt, | ||
const XVidC_VideoStream * | StrmOut | ||
) |
#include <xv_frmbufrd_l2.c>
This function configures the frame buffer read memory input.
InstancePtr | is a pointer to the core instance to be worked on. |
StrideInBytes | is the memory stride in bytes |
MemFormat | is the video format to be read from memory |
StrmOut | is the pointer to output stream configuration |
References XV_frmbufrd::Config, XV_FrmbufRd_l2::FrmbufRd, XV_frmbufrd_Config::PixPerClk, RdMemory2Live(), and XV_FrmbufRd_l2::Stream.
void XVFrmbufRd_Start | ( | XV_FrmbufRd_l2 * | InstancePtr | ) |
#include <xv_frmbufrd_l2.c>
This function starts the core instance.
InstancePtr | is a pointer to core instance to be worked upon |
References XV_FrmbufRd_l2::FrmbufRd.
int XVFrmbufRd_Stop | ( | XV_FrmbufRd_l2 * | InstancePtr | ) |
#include <xv_frmbufrd_l2.c>
This function stops the core instance.
InstancePtr | is a pointer to core instance to be worked upon |
References XV_FrmbufRd_l2::FrmbufRd.
int XVFrmbufRd_WaitForIdle | ( | XV_FrmbufRd_l2 * | InstancePtr | ) |
#include <xv_frmbufrd_l2.c>
This function Waits for the core to reach idle state.
InstancePtr | is a pointer to core instance to be worked upon |
References XV_FrmbufRd_l2::FrmbufRd.