|
FFmpeg
|
#include "config.h"#include <stdlib.h>#include <string.h>#include <xcb/xcb.h>#include "libavutil/internal.h"#include "libavutil/mathematics.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/parseutils.h"#include "libavutil/time.h"#include "libavformat/avformat.h"#include "libavformat/demux.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 |
| #define | CROSSHAIR_CURSOR 34 |
Functions | |
| static int | xcbgrab_reposition (AVFormatContext *s, xcb_query_pointer_reply_t *p, xcb_get_geometry_reply_t *geo) |
| static void | xcbgrab_image_reply_free (void *opaque, uint8_t *data) |
| static int | xcbgrab_frame (AVFormatContext *s, AVPacket *pkt) |
| static int64_t | wait_frame (AVFormatContext *s, AVPacket *pkt) |
| static void | xcbgrab_update_region (AVFormatContext *s, int win_x, int win_y) |
| 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, int *bpp) |
| static int | create_stream (AVFormatContext *s) |
| static void | draw_rectangle (AVFormatContext *s) |
| static void | setup_window (AVFormatContext *s) |
| static xcb_rectangle_t | rectangle_from_corners (xcb_point_t *corner_a, xcb_point_t *corner_b) |
| static int | select_region (AVFormatContext *s) |
| static av_cold int | xcbgrab_read_header (AVFormatContext *s) |
Variables | |
| static const AVOption | options [] |
| static const AVClass | xcbgrab_class |
| const FFInputFormat | ff_xcbgrab_demuxer |
| #define OFFSET | ( | x | ) | offsetof(XCBGrabContext, x) |
| #define D AV_OPT_FLAG_DECODING_PARAM |
|
static |
Definition at line 113 of file xcbgrab.c.
Referenced by xcbgrab_read_packet().
|
static |
Definition at line 154 of file xcbgrab.c.
Referenced by xcbgrab_frame().
|
static |
Definition at line 159 of file xcbgrab.c.
Referenced by xcbgrab_read_packet().
|
static |
Definition at line 203 of file xcbgrab.c.
Referenced by xcbgrab_read_packet().
|
static |
Definition at line 404 of file xcbgrab.c.
Referenced by xcbgrab_read_packet().
|
static |
|
static |
Definition at line 489 of file xcbgrab.c.
Referenced by xcbgrab_read_header().
|
static |
Definition at line 502 of file xcbgrab.c.
Referenced by xcbgrab_read_header().
|
static |
Definition at line 519 of file xcbgrab.c.
Referenced by create_stream().
|
static |
Definition at line 574 of file xcbgrab.c.
Referenced by xcbgrab_read_header().
|
static |
Definition at line 649 of file xcbgrab.c.
Referenced by setup_window().
|
static |
Definition at line 672 of file xcbgrab.c.
Referenced by xcbgrab_read_header().
|
static |
Definition at line 710 of file xcbgrab.c.
Referenced by select_region().
|
static |
Definition at line 721 of file xcbgrab.c.
Referenced by xcbgrab_read_header().
|
static |
|
static |
|
static |
| const FFInputFormat ff_xcbgrab_demuxer |
1.8.17