FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
X11GrabContext 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 65 of file x11grab.c.

Field Documentation

const AVClass* X11GrabContext::class

Class for private options.

Definition at line 66 of file x11grab.c.

int X11GrabContext::frame_size

Size in bytes of a grabbed frame.

Definition at line 67 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

AVRational X11GrabContext::time_base

Time base.

Definition at line 68 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

int64_t X11GrabContext::time_frame

Current time.

Definition at line 69 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

int X11GrabContext::width
int X11GrabContext::height
int X11GrabContext::x_off

Horizontal top-left corner coordinate.

Definition at line 73 of file x11grab.c.

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

int X11GrabContext::y_off

Vertical top-left corner coordinate.

Definition at line 74 of file x11grab.c.

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

Display* X11GrabContext::dpy

X11 display from which x11grab grabs frames.

Definition at line 76 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().

XImage* X11GrabContext::image

X11 image holding the grab.

Definition at line 77 of file x11grab.c.

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

int X11GrabContext::use_shm

!0 when using XShm extension

Definition at line 78 of file x11grab.c.

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

XShmSegmentInfo X11GrabContext::shminfo

When using XShm, keeps track of XShm infos.

Definition at line 79 of file x11grab.c.

Referenced by setup_shm(), and x11grab_read_close().

int X11GrabContext::draw_mouse

Set by a private option.

Definition at line 80 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

int X11GrabContext::follow_mouse

Set by a private option.

Definition at line 81 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

int X11GrabContext::show_region

set by a private option.

Definition at line 82 of file x11grab.c.

Referenced by x11grab_read_packet().

AVRational X11GrabContext::framerate

Set by a private option.

Definition at line 83 of file x11grab.c.

Referenced by x11grab_read_header().

int X11GrabContext::palette_changed

Definition at line 84 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

uint32_t X11GrabContext::palette[256]

Definition at line 85 of file x11grab.c.

Referenced by x11grab_read_header(), and x11grab_read_packet().

Cursor X11GrabContext::c

Definition at line 87 of file x11grab.c.

Referenced by paint_mouse_pointer().

Window X11GrabContext::region_win

This is used by show_region option.

Definition at line 88 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: