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...
 
void * buffer
 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

◆ class

const AVClass* gdigrab::class

Class for private options.

Definition at line 41 of file gdigrab.c.

◆ frame_size

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().

◆ header_size

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().

◆ time_base

AVRational gdigrab::time_base

Time base.

Definition at line 45 of file gdigrab.c.

Referenced by gdigrab_read_header(), and gdigrab_read_packet().

◆ time_frame

int64_t gdigrab::time_frame

Current time.

Definition at line 46 of file gdigrab.c.

Referenced by gdigrab_read_header(), and gdigrab_read_packet().

◆ draw_mouse

int gdigrab::draw_mouse

Draw mouse cursor (private option)

Definition at line 48 of file gdigrab.c.

Referenced by gdigrab_read_packet().

◆ show_region

int gdigrab::show_region

Draw border (private option)

Definition at line 49 of file gdigrab.c.

Referenced by gdigrab_read_header(), and gdigrab_read_packet().

◆ framerate

AVRational gdigrab::framerate

Capture framerate (private option)

Definition at line 50 of file gdigrab.c.

Referenced by gdigrab_read_header().

◆ width

int gdigrab::width

Width of the grab frame (private option)

Definition at line 51 of file gdigrab.c.

Referenced by gdigrab_read_header().

◆ height

int gdigrab::height

Height of the grab frame (private option)

Definition at line 52 of file gdigrab.c.

Referenced by gdigrab_read_header().

◆ offset_x

int gdigrab::offset_x

Capture x offset (private option)

Definition at line 53 of file gdigrab.c.

Referenced by gdigrab_read_header().

◆ offset_y

int gdigrab::offset_y

Capture y offset (private option)

Definition at line 54 of file gdigrab.c.

Referenced by gdigrab_read_header().

◆ hwnd

HWND gdigrab::hwnd

Handle of the window for the grab.

Definition at line 56 of file gdigrab.c.

Referenced by gdigrab_read_header(), and paint_mouse_pointer().

◆ source_hdc

HDC gdigrab::source_hdc

Source device context.

Definition at line 57 of file gdigrab.c.

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

◆ dest_hdc

HDC gdigrab::dest_hdc

Destination, source-compatible DC.

Definition at line 58 of file gdigrab.c.

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

◆ bmi

BITMAPINFO gdigrab::bmi

Information describing DIB format.

Definition at line 59 of file gdigrab.c.

Referenced by gdigrab_read_header(), and gdigrab_read_packet().

◆ hbmp

HBITMAP gdigrab::hbmp

Information on the bitmap captured.

Definition at line 60 of file gdigrab.c.

Referenced by gdigrab_read_header().

◆ buffer

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().

◆ clip_rect

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().

◆ region_hwnd

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().

◆ cursor_error_printed

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: