linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: wuchengli@chromium.org (Wu-Cheng Li)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush
Date: Fri,  2 Dec 2016 10:38:33 +0800	[thread overview]
Message-ID: <1480646314-75478-1-git-send-email-wuchengli@chromium.org> (raw)

From: Wu-Cheng Li <wuchengli@google.com>

This patch uses V4L2_DEC_CMD_STOP to implement flush -- requesting
the remaining images to be returned to userspace. The old unofficial
way was to use a size-0 input buffer and the code is removed.

Tiffany Lin (1):
  mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush

 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 151 ++++++++++++++-------
 .../media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c |  14 ++
 drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h |   2 +
 3 files changed, 117 insertions(+), 50 deletions(-)

-- 
2.8.0.rc3.226.g39d4020

             reply	other threads:[~2016-12-02  2:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02  2:38 Wu-Cheng Li [this message]
2016-12-02  2:38 ` [PATCH v1] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush Wu-Cheng Li

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=1480646314-75478-1-git-send-email-wuchengli@chromium.org \
    --to=wuchengli@chromium.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).