Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Zhao Zhili <quinkblack@foxmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Kieran Kunhya <kieran618@googlemail.com>
Subject: Re: [FFmpeg-devel] [PATCH v2 0/3] Add OpenHarmony hardware codec wrapper
Date: Wed, 16 Jul 2025 22:26:32 +0800
Message-ID: <tencent_2F00196A3A7CCAAFD239A9C205B5BC68DA0A@qq.com> (raw)
In-Reply-To: <CABGuwEkC2NZwf8SC-ufp-UFvKofPDHS2bW=-6D6Fb8n0c_OVAQ@mail.gmail.com>



> 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 <quinkblack@foxmail.com> wrote:
>> 
>> 
>> 
>>> On Jul 6, 2025, at 16:05, Zhao Zhili <quinkblack-at-foxmail.com@ffmpeg.org> wrote:
>>> 
>>> From: Zhao Zhili <zhilizhao@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-request@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-request@ffmpeg.org with subject "unsubscribe".

      reply	other threads:[~2025-07-16 14:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-06  8:05 Zhao Zhili
2025-07-16 14:07 ` Zhao Zhili
2025-07-16 14:11   ` Kieran Kunhya via ffmpeg-devel
2025-07-16 14:26     ` Zhao Zhili [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_2F00196A3A7CCAAFD239A9C205B5BC68DA0A@qq.com \
    --to=quinkblack@foxmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    --cc=kieran618@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git