v_vcresampler
Vitis Drivers API Documentation
xv_vcresampler_l2.c File Reference

Functions

int XV_VcrsmplInitialize (XV_Vcresampler_l2 *InstancePtr, u16 DeviceId)
 This function initializes the core instance. More...
 
void XV_VCrsmplStart (XV_Vcresampler_l2 *InstancePtr)
 This function starts the Chroma resampler core. More...
 
void XV_VCrsmplStop (XV_Vcresampler_l2 *InstancePtr)
 This function stops the Chroma resampler core. More...
 
void XV_VCrsmplLoadDefaultCoeff (XV_Vcresampler_l2 *InstancePtr)
 This function loads default filter coefficients in the chroma resampler coefficient storage based on the selected TAP configuration. More...
 
void XV_VCrsmplrLoadExtCoeff (XV_Vcresampler_l2 *InstancePtr, u16 num_taps, const short *Coeff)
 This function loads user defined filter coefficients in the horiz. More...
 
void XV_VCrsmplSetActiveSize (XV_Vcresampler_l2 *InstancePtr, u32 width, u32 height)
 This function configures the Chroma resampler active resolution. More...
 
void XV_VCrsmplSetFormat (XV_Vcresampler_l2 *InstancePtr, XVidC_ColorFormat formatIn, XVidC_ColorFormat formatOut)
 This function configures the Chroma resampler for the required format conversion. More...
 
void XV_VCrsmplDbgReportStatus (XV_Vcresampler_l2 *InstancePtr)
 This function prints Chroma Resampler status on the console. More...
 

Variables

const short XV_vcrsmplrcoeff_taps4 [XV_VCRSMPLR_NUM_CONVERSIONS][XV_VCRSMPLR_MAX_PHASES][XV_VCRSMPLR_TAPS_4]
 Coefficient table for 4-tap vertical chroma resampling conversions. More...
 
const short XV_vcrsmplrcoeff_taps6 [XV_VCRSMPLR_NUM_CONVERSIONS][XV_VCRSMPLR_MAX_PHASES][XV_VCRSMPLR_TAPS_6]
 Coefficient table for vertical chroma resampler with 6 taps. More...
 
const short XV_vcrsmplrcoeff_taps8 [XV_VCRSMPLR_NUM_CONVERSIONS][XV_VCRSMPLR_MAX_PHASES][XV_VCRSMPLR_TAPS_8]
 Coefficient table for vertical chroma resampling with 8 taps. More...
 
const short XV_vcrsmplrcoeff_taps10 [XV_VCRSMPLR_NUM_CONVERSIONS][XV_VCRSMPLR_MAX_PHASES][XV_VCRSMPLR_TAPS_10]
 Coefficient table for vertical chroma resampler with 10 taps. More...