Changes from previous sets: --------------------------- Patch 3 - (keep the ref frame according to the format in decoder): ----------------------------------------------------------------- Move the code that copies the capture buffer to the reference buffer to a separate function 'copy_cap_to_ref' Patches 4-6 - fixes according to the code review. Patch 5 (Introducing stateless fwht defs and struct): ----------------------------------------------------- add width,height fields to v4l2_ctrl_fwht_params Patches 7-9 are new Dafna Hirschfeld (9): media: vicodec: Move raw frame preparation code to a function media: vicodec: add field 'buf' to fwht_raw_frame media: vicodec: keep the ref frame according to the format in decoder media: vicodec: add struct for encoder/decoder instance media: vicodec: Introducing stateless fwht defs and structs media: vicodec: Register another node for stateless decoder media: vb2: Add func that return buffer by timestamp media: vicodec: call v4l2_m2m_buf_copy_metadata also upon error media: vicodec: Add support for stateless decoder. .../media/common/videobuf2/videobuf2-v4l2.c | 14 + drivers/media/platform/vicodec/codec-fwht.c | 68 ++- drivers/media/platform/vicodec/codec-fwht.h | 11 +- .../media/platform/vicodec/codec-v4l2-fwht.c | 416 +++++----------- .../media/platform/vicodec/codec-v4l2-fwht.h | 3 + drivers/media/platform/vicodec/vicodec-core.c | 465 +++++++++++++----- drivers/media/v4l2-core/v4l2-ctrls.c | 6 + include/media/videobuf2-v4l2.h | 3 + include/uapi/linux/v4l2-controls.h | 12 + include/uapi/linux/videodev2.h | 1 + 10 files changed, 555 insertions(+), 444 deletions(-) -- 2.17.1