[mpi] : Add a block timeout control command.

When retrieving frames current API only allows to define wether
the API should block without any timeout or not block at all.
This allows to specify a block timeout via the
MPP_SET_OUTPUT_BLOCK_TIMEOUT control operation.

Change-Id: Id35ad3d48f72881184009f830c406c3a655e1a90
Signed-off-by: LongChair <LongChair@hotmail.com>
Signed-off-by: Randy Li <randy.li@rock-chips.com>
This commit is contained in:
LongChair
2017-03-21 08:46:22 +01:00
committed by Randy Li
parent 83fba535db
commit a3f463f9ce
6 changed files with 32 additions and 1 deletions

View File

@@ -75,7 +75,9 @@ typedef enum {
MPP_CMD_BASE = CMD_MODULE_MPP,
MPP_ENABLE_DEINTERLACE,
MPP_SET_INPUT_BLOCK,
MPP_SET_INTPUT_BLOCK_TIMEOUT,
MPP_SET_OUTPUT_BLOCK,
MPP_SET_OUTPUT_BLOCK_TIMEOUT,
MPP_CMD_END,
MPP_CODEC_CMD_BASE = CMD_MODULE_CODEC,