x11grab Struct Reference

X11 Device Demuxer context. More...

Collaboration diagram for x11grab:
Collaboration graph

Data Fields

const AVClassclass
 Class for private options. More...
 
int frame_size
 Size in bytes of a grabbed frame. More...
 
AVRational time_base
 Time base. More...
 
int64_t time_frame
 Current time. More...
 
int width
 Width of the grab frame. More...
 
int height
 Height of the grab frame. More...
 
int x_off
 Horizontal top-left corner coordinate. More...
 
int y_off
 Vertical top-left corner coordinate. More...
 
Display * dpy
 X11 display from which x11grab grabs frames. More...
 
XImage * image
 X11 image holding the grab. More...
 
int use_shm
 !0 when using XShm extension More...
 
XShmSegmentInfo shminfo
 When using XShm, keeps track of XShm infos. More...
 
int draw_mouse
 Set by a private option. More...
 
int follow_mouse
 Set by a private option. More...
 
int show_region
 set by a private option. More...
 
char * framerate
 Set by a private option. More...
 
Window region_win
 This is used by show_region option. More...
 

Detailed Description

X11 Device Demuxer context.

Definition at line 61 of file x11grab.c.

Field Documentation

const AVClass* x11grab::class

Class for private options.

Definition at line 62 of file x11grab.c.

Display* x11grab::dpy
int x11grab::draw_mouse

Set by a private option.

Definition at line 76 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

int x11grab::follow_mouse

Set by a private option.

Definition at line 77 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

int x11grab::frame_size

Size in bytes of a grabbed frame.

Definition at line 63 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

char* x11grab::framerate

Set by a private option.

Definition at line 79 of file x11grab.c.

Referenced by x11grab_read_header().

int x11grab::height

Height of the grab frame.

Definition at line 68 of file x11grab.c.

Referenced by paint_mouse_pointer(), x11grab_draw_region_win(), x11grab_read_header(), x11grab_read_packet(), and x11grab_region_win_init().

XImage* x11grab::image
Window x11grab::region_win

This is used by show_region option.

Definition at line 81 of file x11grab.c.

Referenced by x11grab_draw_region_win(), x11grab_read_close(), x11grab_read_packet(), and x11grab_region_win_init().

XShmSegmentInfo x11grab::shminfo

When using XShm, keeps track of XShm infos.

Definition at line 75 of file x11grab.c.

Referenced by x11grab_read_close(), and x11grab_read_header().

int x11grab::show_region

set by a private option.

Definition at line 78 of file x11grab.c.

Referenced by x11grab_read_packet().

AVRational x11grab::time_base

Time base.

Definition at line 64 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

int64_t x11grab::time_frame

Current time.

Definition at line 65 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

int x11grab::use_shm

!0 when using XShm extension

Definition at line 74 of file x11grab.c.

Referenced by x11grab_read_close(), x11grab_read_header(), and x11grab_read_packet().

int x11grab::width

Width of the grab frame.

Definition at line 67 of file x11grab.c.

Referenced by paint_mouse_pointer(), x11grab_draw_region_win(), x11grab_read_header(), x11grab_read_packet(), and x11grab_region_win_init().

int x11grab::x_off

Horizontal top-left corner coordinate.

Definition at line 69 of file x11grab.c.

Referenced by paint_mouse_pointer(), x11grab_read_header(), x11grab_read_packet(), and x11grab_region_win_init().

int x11grab::y_off

Vertical top-left corner coordinate.

Definition at line 70 of file x11grab.c.

Referenced by paint_mouse_pointer(), x11grab_read_header(), x11grab_read_packet(), and x11grab_region_win_init().


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