This series fixes a number of bugs and compliance failures in the vicodec driver. Combined with new/fixed tests in v4l2-compliance (see https://git.linuxtv.org/hverkuil/v4l-utils.git/log/?h=vicodec) vicodec can now be used in regression testing. There will probably be a few more changes once the codec spec is finalized, but I'm hopeful that those changes will be minor. Having this merged will make it easier to work on improved codec core support in v4l2-mem2mem.c. Regards, Hans Hans Verkuil (9): vicodec: move v4l2_ctrl_request_complete after spin_unlock vicodec: always return a valid format. vicodec: fix initial stateless sizeimage value vicodec: pass on enc output format to capture side vicodec: add V4L2_CID_MIN_BUFFERS_FOR_OUTPUT vicodec: set KEY/PFRAME flag when decoding vicodec: use correct sizeimage value when draining vicodec: stateless codecs do not have EOS and SOURCE_CHANGE events vicodec: improve handling of ENC_CMD_STOP/START drivers/media/platform/vicodec/vicodec-core.c | 257 ++++++++++++++---- 1 file changed, 199 insertions(+), 58 deletions(-) -- 2.20.1