Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1534637

[PATCH v1] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush

From Wu-Cheng Li <wuchengli@chromium.org>
Newsgroups linux.kernel
Subject [PATCH v1] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush
Date 2016-12-02 03:40 +0100
Message-ID <sJLVv-5Ru-23@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v1] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush Wu-Cheng Li <wuchengli@chromium.org> - 2016-12-02 03:40 +0100

csiph-web