FFmpeg
|
#include "config.h"
#include <stdlib.h>
#include <xcb/xcb.h>
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/time.h"
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
Go to the source code of this file.
Data Structures | |
struct | XCBGrabContext |
Macros | |
#define | FOLLOW_CENTER -1 |
#define | OFFSET(x) offsetof(XCBGrabContext, x) |
#define | D AV_OPT_FLAG_DECODING_PARAM |
Functions | |
static int | xcbgrab_reposition (AVFormatContext *s, xcb_query_pointer_reply_t *p, xcb_get_geometry_reply_t *geo) |
static int | xcbgrab_frame (AVFormatContext *s, AVPacket *pkt) |
static void | wait_frame (AVFormatContext *s, AVPacket *pkt) |
static void | xcbgrab_update_region (AVFormatContext *s) |
static int | xcbgrab_read_packet (AVFormatContext *s, AVPacket *pkt) |
static av_cold int | xcbgrab_read_close (AVFormatContext *s) |
static xcb_screen_t * | get_screen (const xcb_setup_t *setup, int screen_num) |
static int | pixfmt_from_pixmap_format (AVFormatContext *s, int depth, int *pix_fmt) |
static int | create_stream (AVFormatContext *s) |
static void | draw_rectangle (AVFormatContext *s) |
static void | setup_window (AVFormatContext *s) |
static av_cold int | xcbgrab_read_header (AVFormatContext *s) |
Variables | |
static const AVOption | options [] |
static const AVClass | xcbgrab_class |
AVInputFormat | ff_xcbgrab_demuxer |
#define FOLLOW_CENTER -1 |
Definition at line 80 of file xcbgrab.c.
Referenced by xcbgrab_reposition().
#define OFFSET | ( | x | ) | offsetof(XCBGrabContext, x) |
#define D AV_OPT_FLAG_DECODING_PARAM |
|
static |
Definition at line 108 of file xcbgrab.c.
Referenced by xcbgrab_read_packet().
|
static |
Definition at line 149 of file xcbgrab.c.
Referenced by xcbgrab_read_packet().
|
static |
Definition at line 190 of file xcbgrab.c.
Referenced by xcbgrab_read_packet().
|
static |
Definition at line 380 of file xcbgrab.c.
Referenced by xcbgrab_read_packet().
|
static |
|
static |
Definition at line 434 of file xcbgrab.c.
Referenced by xcbgrab_read_header().
|
static |
Definition at line 449 of file xcbgrab.c.
Referenced by xcbgrab_read_header().
|
static |
Definition at line 466 of file xcbgrab.c.
Referenced by create_stream().
|
static |
Definition at line 517 of file xcbgrab.c.
Referenced by xcbgrab_read_header().
|
static |
Definition at line 568 of file xcbgrab.c.
Referenced by setup_window().
|
static |
Definition at line 591 of file xcbgrab.c.
Referenced by xcbgrab_read_header().
|
static |
|
static |
|
static |
AVInputFormat ff_xcbgrab_demuxer |