|
FFmpeg
|
#include "config_components.h"#include <stdbool.h>#include <multimedia/player_framework/native_avcapability.h>#include <multimedia/player_framework/native_avcodec_videoencoder.h>#include <native_window/external_window.h>#include "libavutil/fifo.h"#include "libavutil/hwcontext_oh.h"#include "libavutil/imgutils.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/thread.h"#include "avcodec.h"#include "codec_internal.h"#include "encode.h"#include "hwconfig.h"#include "ohcodec.h"Go to the source code of this file.
Data Structures | |
| struct | OHCodecEncContext |
Macros | |
| #define | OFFSET(x) offsetof(OHCodecEncContext, x) |
| #define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
| #define | DECLARE_OHCODEC_CLASS(name) |
| #define | DECLARE_OHCODEC_ENCODER(short_name, long_name, codec_id) |
Variables | |
| static enum AVPixelFormat | ohcodec_pix_fmts [] |
| static const AVCodecHWConfigInternal *const | oh_hw_configs [] |
| static const FFCodecDefault | ohcodec_defaults [] |
| static const AVOption | ohcodec_venc_options [] |
| #define OFFSET | ( | x | ) | offsetof(OHCodecEncContext, x) |
| #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
| #define DECLARE_OHCODEC_CLASS | ( | name | ) |
| #define DECLARE_OHCODEC_ENCODER | ( | short_name, | |
| long_name, | |||
| codec_id | |||
| ) |
|
static |
Definition at line 76 of file ohenc.c.
Referenced by oh_encode_init().
|
static |
Definition at line 113 of file ohenc.c.
Referenced by oh_encode_init().
|
static |
Definition at line 215 of file ohenc.c.
Referenced by oh_encode_on_need_input(), oh_encode_on_output(), and oh_encode_start().
|
static |
Definition at line 232 of file ohenc.c.
Referenced by oh_encode_send_sw_frame(), and oh_encode_start().
|
static |
Definition at line 246 of file ohenc.c.
Referenced by oh_encode_start().
|
static |
Definition at line 265 of file ohenc.c.
Referenced by oh_encode_start().
|
static |
Definition at line 284 of file ohenc.c.
Referenced by oh_encode_init().
|
static |
|
static |
|
static |
Definition at line 386 of file ohenc.c.
Referenced by oh_encode_receive().
|
static |
Definition at line 454 of file ohenc.c.
Referenced by oh_encode_receive().
|
static |
Definition at line 471 of file ohenc.c.
Referenced by oh_encode_receive().
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.17