linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush
@ 2016-12-02  2:38 Wu-Cheng Li
  2016-12-02  2:38 ` Wu-Cheng Li
  0 siblings, 1 reply; 2+ messages in thread
From: Wu-Cheng Li @ 2016-12-02  2:38 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-02  2:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02  2:38 [PATCH v1] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush Wu-Cheng Li
2016-12-02  2:38 ` Wu-Cheng Li

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).