All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanimir Varbanov <stanimir.varbanov@linaro.org>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: Hans Verkuil <hverkuil@xs4all.nl>,
	Nicolas Dufresne <nicolas@ndufresne.ca>
Subject: HEIC encoder/decoder
Date: Thu, 10 Dec 2020 01:10:39 +0200	[thread overview]
Message-ID: <5c5cd205-5c7f-1450-1f84-7d0e573dc90f@linaro.org> (raw)

Hello,

I have to implement HEIC image encoder (and later decoder) in Venus
driver and I wonder how to distinguish image vs video encoding using
HEVC and possibly AVC codecs.

I could imagine those two options:

* introduce a new compressed format V4L2_PIX_FMT_HEVC_IMAGE and reuse
video encoder as of now, or

* make a separate video node which supports HEVC with profiles Main
Still Picture and Main 10 Still picture only. The problem here is that
AVC doesn't provide profiles for still pictures, and in this case the
driver cannot distinguish what the client wants video or image
encoding/decoding.

It is a bit more complicated but I'd like to receive comments / ideas at
what would be the best way.

-- 
regards,
Stan

[1] https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format
[2] https://source.android.com/devices/camera/heif

             reply	other threads:[~2020-12-09 23:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09 23:10 Stanimir Varbanov [this message]
2020-12-10  9:19 ` HEIC encoder/decoder Hans Verkuil
2020-12-15 15:10   ` Stanimir Varbanov

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=5c5cd205-5c7f-1450-1f84-7d0e573dc90f@linaro.org \
    --to=stanimir.varbanov@linaro.org \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=nicolas@ndufresne.ca \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.