libgpac
Documentation of the core library of GPAC
dektec_video_old.cpp File Reference
#include <DTAPI.h>
#include <gpac/modules/video_out.h>
#include <gpac/modules/audio_out.h>
#include <gpac/constants.h>
#include <gpac/setup.h>
+ Include dependency graph for dektec_video_old.cpp:

Data Structures

struct  DtContext
 

Macros

#define _DTAPI_DISABLE_AUTO_LINK
 
#define tru   1
 
#define DWIDTH   1280
 
#define DHEIGHT   720
 
#define DFORMAT   DTAPI_IOCONFIG_720P59_94
 
#define DNUMFIELDS   1
 

Functions

void dx_copy_pixels (GF_VideoSurface *dst_s, const GF_VideoSurface *src_s, const GF_Window *src_wnd)
 
static GF_Err Dektec_Blit (GF_VideoOutput *dr, GF_VideoSurface *video_src, GF_Window *src_wnd, GF_Window *dst_wnd, u32 overlay_type)
 
static GF_Err Dektec_Flush (GF_VideoOutput *dr, GF_Window *dest)
 
static GF_Err Dektec_LockBackBuffer (GF_VideoOutput *dr, GF_VideoSurface *vi, Bool do_lock)
 
static void Dektec_Shutdown (GF_VideoOutput *dr)
 
static GF_Err Dektec_ProcessEvent (GF_VideoOutput *dr, GF_Event *evt)
 
static GF_Err Dektec_resize (GF_VideoOutput *dr, u32 w, u32 h)
 
GF_Err Dektec_Setup (GF_VideoOutput *dr, void *os_handle, void *os_display, u32 init_flags)
 
GF_VideoOutputNewDektecVideoOutput ()
 
void DeleteDektecVideoOutput (void *ifce)
 
GPAC_MODULE_EXPORT const u32QueryInterfaces ()
 
GPAC_MODULE_EXPORT GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
GPAC_MODULE_EXPORT void ShutdownInterface (GF_BaseInterface *ifce)
 

Variables

static GF_GPACArg DekTecArgs []
 

Data Structure Documentation

◆ DtContext

struct DtContext
Data Fields
char * pixels
unsigned char * pixels_UYVY
u32 width
u32 height
u32 pixel_format
u32 bpp
DtDevice * dvc
DtFrameBuffer * dtf
bool isSending
s64 frameNum

Macro Definition Documentation

◆ _DTAPI_DISABLE_AUTO_LINK

#define _DTAPI_DISABLE_AUTO_LINK

◆ tru

#define tru   1

◆ DWIDTH

#define DWIDTH   1280

◆ DHEIGHT

#define DHEIGHT   720

◆ DFORMAT

#define DFORMAT   DTAPI_IOCONFIG_720P59_94

◆ DNUMFIELDS

#define DNUMFIELDS   1

Function Documentation

◆ dx_copy_pixels()

void dx_copy_pixels ( GF_VideoSurface dst_s,
const GF_VideoSurface src_s,
const GF_Window src_wnd 
)
+ Here is the caller graph for this function:

◆ Dektec_Blit()

static GF_Err Dektec_Blit ( GF_VideoOutput dr,
GF_VideoSurface video_src,
GF_Window src_wnd,
GF_Window dst_wnd,
u32  overlay_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Dektec_Flush()

static GF_Err Dektec_Flush ( GF_VideoOutput dr,
GF_Window dest 
)
static
+ Here is the caller graph for this function:

◆ Dektec_LockBackBuffer()

static GF_Err Dektec_LockBackBuffer ( GF_VideoOutput dr,
GF_VideoSurface vi,
Bool  do_lock 
)
static
+ Here is the caller graph for this function:

◆ Dektec_Shutdown()

static void Dektec_Shutdown ( GF_VideoOutput dr)
static
+ Here is the caller graph for this function:

◆ Dektec_ProcessEvent()

static GF_Err Dektec_ProcessEvent ( GF_VideoOutput dr,
GF_Event evt 
)
static
+ Here is the caller graph for this function:

◆ Dektec_resize()

static GF_Err Dektec_resize ( GF_VideoOutput dr,
u32  w,
u32  h 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Dektec_Setup()

GF_Err Dektec_Setup ( GF_VideoOutput dr,
void *  os_handle,
void *  os_display,
u32  init_flags 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ NewDektecVideoOutput()

GF_VideoOutput* NewDektecVideoOutput ( )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DeleteDektecVideoOutput()

void DeleteDektecVideoOutput ( void *  ifce)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ QueryInterfaces()

GPAC_MODULE_EXPORT const u32* QueryInterfaces ( )

◆ LoadInterface()

GPAC_MODULE_EXPORT GF_BaseInterface* LoadInterface ( u32  InterfaceType)
+ Here is the call graph for this function:

◆ ShutdownInterface()

GPAC_MODULE_EXPORT void ShutdownInterface ( GF_BaseInterface ifce)
+ Here is the call graph for this function:

Variable Documentation

◆ DekTecArgs

GF_GPACArg DekTecArgs[]
static
Initial value:
= {
GF_DEF_ARG("sdi-port", NULL, "port number of the card", "1", NULL, GF_ARG_INT, 0),
{0},
}
#define GF_ARG_INT
Definition: main.h:151
#define GF_DEF_ARG(_a, _b, _c, _d, _e, _f, _g)
Definition: main.h:166