FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
x11grab 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.
 
int width
 Width of the grab frame.
 
int height
 Height 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.
 
AVRational framerate
 Set by a private option.
 
int palette_changed
 
uint32_t palette [256]
 
Cursor c
 
Window region_win
 This is used by show_region option.
 

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.

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

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

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

Display* x11grab::dpy
XImage* x11grab::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().

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

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

set by a private option.

Definition at line 78 of file x11grab.c.

Referenced by x11grab_read_packet().

AVRational x11grab::framerate

Set by a private option.

Definition at line 79 of file x11grab.c.

Referenced by x11grab_read_header().

int x11grab::palette_changed

Definition at line 80 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

uint32_t x11grab::palette[256]

Definition at line 81 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

Cursor x11grab::c

Definition at line 83 of file x11grab.c.

Referenced by paint_mouse_pointer().

Window x11grab::region_win

This is used by show_region option.

Definition at line 84 of file x11grab.c.

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


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