x11_grab Struct Reference

X11 Device Demuxer context. More...

Data Fields

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

Detailed Description

X11 Device Demuxer context.

Definition at line 59 of file x11grab.c.

Field Documentation

const AVClass* x11_grab::class

Class for private options.

Definition at line 61 of file x11grab.c.

Display* x11_grab::dpy

X11 display from which x11grab grabs frames.

Definition at line 72 of file x11grab.c.

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

int x11_grab::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 x11_grab::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 x11_grab::frame_size

Size in bytes of a grabbed frame.

Definition at line 62 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

char* x11_grab::framerate

Set by a private option.

Definition at line 79 of file x11grab.c.

Referenced by x11grab_read_header().

int x11_grab::height

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

XImage* x11_grab::image

X11 image holding the grab.

Definition at line 73 of file x11grab.c.

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

Window x11_grab::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 x11_grab::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 x11_grab::show_region

set by a private option.

Definition at line 78 of file x11grab.c.

Referenced by x11grab_read_packet().

AVRational x11_grab::time_base

Time base.

Definition at line 63 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

int64_t x11_grab::time_frame

Current time.

Definition at line 64 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

int x11_grab::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().

char* x11_grab::video_size

String describing video size, set by a private option.

Definition at line 66 of file x11grab.c.

Referenced by x11grab_read_header().

int x11_grab::width

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

int x11_grab::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 x11_grab::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: