FFmpeg
Data Fields
gdigrab Struct Reference

GDI Device Demuxer context. More...

Data Fields

const AVClassclass
 Class for private options. More...
 
int frame_size
 Size in bytes of the frame pixel data. More...
 
int header_size
 Size in bytes of the DIB header. More...
 
AVRational time_base
 Time base. More...
 
int64_t time_frame
 Current time. More...
 
int draw_mouse
 Draw mouse cursor (private option) More...
 
int show_region
 Draw border (private option) More...
 
AVRational framerate
 Capture framerate (private option) More...
 
int width
 Width of the grab frame (private option) More...
 
int height
 Height of the grab frame (private option) More...
 
int offset_x
 Capture x offset (private option) More...
 
int offset_y
 Capture y offset (private option) More...
 
HWND hwnd
 Handle of the window for the grab. More...
 
HDC source_hdc
 Source device context. More...
 
HDC dest_hdc
 Destination, source-compatible DC. More...
 
BITMAPINFO bmi
 Information describing DIB format. More...
 
HBITMAP hbmp
 Information on the bitmap captured. More...
 
voidbuffer
 The buffer containing the bitmap image data. More...
 
RECT clip_rect
 The subarea of the screen or window to clip. More...
 
HWND region_hwnd
 Handle of the region border window. More...
 
int cursor_error_printed
 

Detailed Description

GDI Device Demuxer context.

Definition at line 40 of file gdigrab.c.

Field Documentation

const AVClass* gdigrab::class

Class for private options.

Definition at line 41 of file gdigrab.c.

int gdigrab::frame_size

Size in bytes of the frame pixel data.

Definition at line 43 of file gdigrab.c.

Referenced by gdigrab_read_header(), and gdigrab_read_packet().

int gdigrab::header_size

Size in bytes of the DIB header.

Definition at line 44 of file gdigrab.c.

Referenced by gdigrab_read_header(), and gdigrab_read_packet().

AVRational gdigrab::time_base

Time base.

Definition at line 45 of file gdigrab.c.

Referenced by gdigrab_read_header(), and gdigrab_read_packet().

int64_t gdigrab::time_frame

Current time.

Definition at line 46 of file gdigrab.c.

Referenced by gdigrab_read_header(), and gdigrab_read_packet().

int gdigrab::draw_mouse

Draw mouse cursor (private option)

Definition at line 48 of file gdigrab.c.

Referenced by gdigrab_read_packet().

int gdigrab::show_region

Draw border (private option)

Definition at line 49 of file gdigrab.c.

Referenced by gdigrab_read_close(), gdigrab_read_header(), and gdigrab_read_packet().

AVRational gdigrab::framerate

Capture framerate (private option)

Definition at line 50 of file gdigrab.c.

Referenced by gdigrab_read_header().

int gdigrab::width

Width of the grab frame (private option)

Definition at line 51 of file gdigrab.c.

Referenced by gdigrab_read_header().

int gdigrab::height

Height of the grab frame (private option)

Definition at line 52 of file gdigrab.c.

Referenced by gdigrab_read_header().

int gdigrab::offset_x

Capture x offset (private option)

Definition at line 53 of file gdigrab.c.

Referenced by gdigrab_read_header().

int gdigrab::offset_y

Capture y offset (private option)

Definition at line 54 of file gdigrab.c.

Referenced by gdigrab_read_header().

HWND gdigrab::hwnd

Handle of the window for the grab.

Definition at line 56 of file gdigrab.c.

Referenced by gdigrab_read_close(), gdigrab_read_header(), gdigrab_region_wnd_init(), gdigrab_region_wnd_update(), and paint_mouse_pointer().

HDC gdigrab::source_hdc

Source device context.

Definition at line 57 of file gdigrab.c.

Referenced by gdigrab_read_close(), gdigrab_read_header(), gdigrab_read_packet(), and paint_mouse_pointer().

HDC gdigrab::dest_hdc

Destination, source-compatible DC.

Definition at line 58 of file gdigrab.c.

Referenced by gdigrab_read_close(), gdigrab_read_header(), gdigrab_read_packet(), and paint_mouse_pointer().

BITMAPINFO gdigrab::bmi

Information describing DIB format.

Definition at line 59 of file gdigrab.c.

Referenced by gdigrab_read_header(), and gdigrab_read_packet().

HBITMAP gdigrab::hbmp

Information on the bitmap captured.

Definition at line 60 of file gdigrab.c.

Referenced by gdigrab_read_close(), and gdigrab_read_header().

void* gdigrab::buffer

The buffer containing the bitmap image data.

Definition at line 61 of file gdigrab.c.

Referenced by gdigrab_read_header(), and gdigrab_read_packet().

RECT gdigrab::clip_rect

The subarea of the screen or window to clip.

Definition at line 62 of file gdigrab.c.

Referenced by gdigrab_read_header(), gdigrab_read_packet(), gdigrab_region_wnd_init(), and paint_mouse_pointer().

HWND gdigrab::region_hwnd

Handle of the region border window.

Definition at line 64 of file gdigrab.c.

Referenced by gdigrab_region_wnd_destroy(), gdigrab_region_wnd_init(), and gdigrab_region_wnd_update().

int gdigrab::cursor_error_printed

Definition at line 66 of file gdigrab.c.

Referenced by gdigrab_read_header().


The documentation for this struct was generated from the following file: