From: "Hsia-Jun(Randy) Li" <randy.li@xxxxxxxxxxxxx> The first patch is an old patch, I resend it again. I want to make the work thats parses the bitstream to extract the sequence information or video resolution as a part of V4L2 schedule. Such a work would also consume the device's resources likes remote CPU time. Although reuse a flag which no current driver may not be a good idea. I could add a new flag for that if people like that. The second is a patch offering a generic solution for tracking buffers which have been pushed to hardware(or firmware). It didn't record which buffer that hardware(firmware) still holds for future decoding(likes the reference buffer), while it has been sent to the user(dequeue). We may need a flag for this work. Hsia-Jun(Randy) Li (1): media: v4l2-mem2mem: add a list for buf used by hw Randy Li (1): media: v4l2-mem2mem: allow device run without buf drivers/media/v4l2-core/v4l2-mem2mem.c | 30 +++++++++++++++++--------- include/media/v4l2-mem2mem.h | 10 ++++++++- 2 files changed, 29 insertions(+), 11 deletions(-) -- 2.17.1