> On Jul 16, 2025, at 22:11, Kieran Kunhya via ffmpeg-devel 
> <ffmpeg-devel@ffmpeg.org> wrote:
> 
> On Wed, Jul 16, 2025 at 3:08 PM Zhao Zhili <quinkbl...@foxmail.com> wrote:
>> 
>> 
>> 
>>> On Jul 6, 2025, at 16:05, Zhao Zhili <quinkblack-at-foxmail....@ffmpeg.org> 
>>> wrote:
>>> 
>>> From: Zhao Zhili <zhiliz...@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?
>> 
>>> 
> 
> Does this hardware decoder work on a real device?

Of course. I have tested on Huawei mate 60. Here are some device list (in 
Chinese):

https://consumer.huawei.com/cn/support/harmonyos/models-next/

> 
> Kieran
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to