[FFmpeg-devel] [PATCH v2 0/3] Add OpenHarmony hardware codec wrapper
Zhao Zhili
quinkblack at foxmail.com
Sun Jul 6 11:05:23 EEST 2025
From: Zhao Zhili <zhilizhao at tencent.com>
v2:
1. Add encoder.
2. Trial refactor of decoder.
Zhao Zhili (3):
avutil/hwcontext: Add ohcodec device and pixel format
avcodec/ohdec: Add h264/hevc OpenHarmony decoders
avcodec/ohenc: Add h264/hevc OpenHarmony encoders
Changelog | 1 +
configure | 12 +
doc/APIchanges | 6 +
libavcodec/Makefile | 5 +
libavcodec/allcodecs.c | 4 +
libavcodec/ohcodec.c | 79 ++++
libavcodec/ohcodec.h | 57 +++
libavcodec/ohdec.c | 771 +++++++++++++++++++++++++++++++++
libavcodec/ohenc.c | 695 +++++++++++++++++++++++++++++
libavcodec/version.h | 2 +-
libavutil/Makefile | 2 +
libavutil/hwcontext.c | 4 +
libavutil/hwcontext.h | 2 +
libavutil/hwcontext_internal.h | 1 +
libavutil/hwcontext_oh.c | 47 ++
libavutil/hwcontext_oh.h | 34 ++
libavutil/pixdesc.c | 4 +
libavutil/pixfmt.h | 2 +
libavutil/version.h | 4 +-
19 files changed, 1729 insertions(+), 3 deletions(-)
create mode 100644 libavcodec/ohcodec.c
create mode 100644 libavcodec/ohcodec.h
create mode 100644 libavcodec/ohdec.c
create mode 100644 libavcodec/ohenc.c
create mode 100644 libavutil/hwcontext_oh.c
create mode 100644 libavutil/hwcontext_oh.h
--
2.46.0
More information about the ffmpeg-devel
mailing list