FFmpeg
4.3.7
|
#include <linux/videodev2.h>
#include <sys/ioctl.h>
#include <search.h>
#include "libavcodec/avcodec.h"
#include "libavcodec/internal.h"
#include "libavutil/pixdesc.h"
#include "libavutil/pixfmt.h"
#include "libavutil/opt.h"
#include "profiles.h"
#include "v4l2_context.h"
#include "v4l2_m2m.h"
#include "v4l2_fmt.h"
Go to the source code of this file.
Macros | |
#define | MPEG_CID(x) V4L2_CID_MPEG_VIDEO_##x |
#define | MPEG_VIDEO(x) V4L2_MPEG_VIDEO_##x |
#define | OFFSET(x) offsetof(V4L2m2mPriv, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
#define | V4L_M2M_CAPTURE_OPTS |
#define | M2MENC_CLASS(NAME, OPTIONS_NAME) |
#define | M2MENC(NAME, LONGNAME, OPTIONS_NAME, CODEC) |
Variables | |
static const AVOption | mpeg4_options [] |
static const AVOption | options [] |
static const AVCodecDefault | v4l2_m2m_defaults [] |
#define MPEG_CID | ( | x | ) | V4L2_CID_MPEG_VIDEO_##x |
Definition at line 37 of file v4l2_m2m_enc.c.
Referenced by v4l2_check_b_frame_support(), v4l2_prepare_encoder(), and v4l2_send_frame().
#define MPEG_VIDEO | ( | x | ) | V4L2_MPEG_VIDEO_##x |
Definition at line 38 of file v4l2_m2m_enc.c.
Referenced by v4l2_h264_profile_from_ff(), v4l2_mpeg4_profile_from_ff(), and v4l2_prepare_encoder().
#define OFFSET | ( | x | ) | offsetof(V4L2m2mPriv, x) |
Definition at line 371 of file v4l2_m2m_enc.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 372 of file v4l2_m2m_enc.c.
#define V4L_M2M_CAPTURE_OPTS |
Definition at line 374 of file v4l2_m2m_enc.c.
#define M2MENC_CLASS | ( | NAME, | |
OPTIONS_NAME | |||
) |
Definition at line 396 of file v4l2_m2m_enc.c.
#define M2MENC | ( | NAME, | |
LONGNAME, | |||
OPTIONS_NAME, | |||
CODEC | |||
) |
Definition at line 404 of file v4l2_m2m_enc.c.
|
inlinestatic |
Definition at line 40 of file v4l2_m2m_enc.c.
Referenced by v4l2_prepare_encoder().
|
inlinestatic |
Definition at line 52 of file v4l2_m2m_enc.c.
Referenced by v4l2_check_b_frame_support(), v4l2_prepare_encoder(), and v4l2_send_frame().
|
inlinestatic |
Definition at line 73 of file v4l2_m2m_enc.c.
Referenced by v4l2_check_b_frame_support().
Definition at line 99 of file v4l2_m2m_enc.c.
Referenced by v4l2_prepare_encoder().
Definition at line 126 of file v4l2_m2m_enc.c.
Referenced by v4l2_prepare_encoder().
|
static |
Definition at line 147 of file v4l2_m2m_enc.c.
Referenced by v4l2_prepare_encoder().
|
inlinestatic |
Definition at line 162 of file v4l2_m2m_enc.c.
Referenced by v4l2_prepare_encoder().
|
static |
requirements
settingss
Definition at line 173 of file v4l2_m2m_enc.c.
Referenced by v4l2_encode_init().
|
static |
Definition at line 273 of file v4l2_m2m_enc.c.
|
static |
Definition at line 286 of file v4l2_m2m_enc.c.
|
static |
Definition at line 316 of file v4l2_m2m_enc.c.
|
static |
Definition at line 366 of file v4l2_m2m_enc.c.
M2MENC | ( | mpeg4 | , |
"MPEG4" | , | ||
mpeg4_options | , | ||
AV_CODEC_ID_MPEG4 | |||
) |
M2MENC | ( | h263 | , |
"H.263" | , | ||
options | , | ||
AV_CODEC_ID_H263 | |||
) |
M2MENC | ( | h264 | , |
"H.264" | , | ||
options | , | ||
AV_CODEC_ID_H264 | |||
) |
M2MENC | ( | hevc | , |
"HEVC" | , | ||
options | , | ||
AV_CODEC_ID_HEVC | |||
) |
M2MENC | ( | vp8 | , |
"VP8" | , | ||
options | , | ||
AV_CODEC_ID_VP8 | |||
) |
|
static |
Definition at line 379 of file v4l2_m2m_enc.c.
|
static |
Definition at line 385 of file v4l2_m2m_enc.c.
|
static |
Definition at line 390 of file v4l2_m2m_enc.c.