[FFmpeg-devel] [PATCH v2 0/3] Add OpenHarmony hardware codec wrapper
Zhao Zhili
quinkblack at foxmail.com
Wed Jul 16 17:07:55 EEST 2025
> On Jul 6, 2025, at 16:05, Zhao Zhili <quinkblack-at-foxmail.com at ffmpeg.org> wrote:
>
> 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
I plan to merge the patch this week. Any suggestions?
>
> --
> 2.46.0
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list