|
FFmpeg
|
#include <fcntl.h>#include <unistd.h>#include <drm.h>#include <drm_fourcc.h>#include <drm_mode.h>#include <xf86drm.h>#include <xf86drmMode.h>#include "libavutil/hwcontext.h"#include "libavutil/hwcontext_drm.h"#include "libavutil/internal.h"#include "libavutil/mathematics.h"#include "libavutil/opt.h"#include "libavutil/pixfmt.h"#include "libavutil/pixdesc.h"#include "libavutil/time.h"#include "libavformat/avformat.h"#include "libavformat/internal.h"Go to the source code of this file.
Data Structures | |
| struct | KMSGrabContext |
Macros | |
| #define | OFFSET(x) offsetof(KMSGrabContext, x) |
| #define | FLAGS AV_OPT_FLAG_DECODING_PARAM |
Functions | |
| static void | kmsgrab_free_desc (void *opaque, uint8_t *data) |
| static void | kmsgrab_free_frame (void *opaque, uint8_t *data) |
| static int | kmsgrab_read_packet (AVFormatContext *avctx, AVPacket *pkt) |
| static av_cold int | kmsgrab_read_header (AVFormatContext *avctx) |
| static av_cold int | kmsgrab_read_close (AVFormatContext *avctx) |
Variables | |
| struct { | |
| enum AVPixelFormat pixfmt | |
| uint32_t drm_format | |
| } | kmsgrab_formats [] |
| static const AVOption | options [] |
| static const AVClass | kmsgrab_class |
| AVInputFormat | ff_kmsgrab_demuxer |
| #define OFFSET | ( | x | ) | offsetof(KMSGrabContext, x) |
| #define FLAGS AV_OPT_FLAG_DECODING_PARAM |
Definition at line 68 of file kmsgrab.c.
Referenced by kmsgrab_read_packet().
Definition at line 77 of file kmsgrab.c.
Referenced by kmsgrab_read_packet().
|
static |
|
static |
|
static |
| enum AVPixelFormat pixfmt |
Definition at line 202 of file kmsgrab.c.
Referenced by alloc_frame(), kmsgrab_read_header(), rfc4175_parse_format(), and v4l2_get_raw_format().
| const { ... } kmsgrab_formats[] |
Referenced by kmsgrab_read_header().
|
static |
|
static |
| AVInputFormat ff_kmsgrab_demuxer |
1.8.6