EDT PDV SDK Documentation 6.1.0
pdv_interlace.h File Reference

(git 7e5a862, 2023-11-28)

PCI DV Library routines to reorder/interpolate image buffers from cameras (header file). More...

#include "libpdv.h"
#include "pdv_dependent.h"
#include "edt_portability.h"
Include dependency graph for pdv_interlace.h:

Functions

int pdv_unload_postproc_module (PdvPostProc *pCtrl)
 Unload post-processing library calls previously loaded with pdv_load_postproc_module() More...
 
void pdv_set_full_bayer_parameters (int nSourceDepth, double scale[3], double gamma, int nBlackOffset, int bRedRowFirst, int bGreenPixelFirst, int quality, int bias, int gradientcolor)
 
int pdv_has_deinterleaver (PdvDev pdv_p)
 Check if de-interleaving post-processor has been initialized. More...
 
int pdv_deinterlace (PdvDev pdv_p, PdvDependent dd_p, u_char *dmabuf, u_char *output_buf)
 Run de-interleave post-processing. More...
 

Detailed Description

PCI DV Library routines to reorder/interpolate image buffers from cameras (header file).

Function Documentation

◆ pdv_unload_postproc_module()

int pdv_unload_postproc_module ( PdvPostProc *  pCtrl)

Unload post-processing library calls previously loaded with pdv_load_postproc_module()

Parameters
pCtrlThe post-processing handle to unload. dlclose() (Linux) / FreeLibrary() (Windows) will be called on the PdvPostProc.dll_handle member.
Returns
0 on success.

◆ pdv_has_deinterleaver()

int pdv_has_deinterleaver ( PdvDev  pdv_p)

Check if de-interleaving post-processor has been initialized.

Parameters
pdv_pThe open PDV device handle.
Returns
1 if true, 0 if false or error.

◆ pdv_deinterlace()

int pdv_deinterlace ( PdvDev  pdv_p,
PdvDependent  dd_p,
u_char *  dmabuf,
u_char *  output_buf 
)

Run de-interleave post-processing.

Parameters
pdv_pThe open PDV device handle.
dd_pFrame grabber/camera settings. Can be NULL to use the internal PdvDependent struct from pdv_p.
dmabufThe frame buffer to process.
output_bufThe destination buffer to store the post-processed data.
Returns
0 on success.