mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-04 16:52:40 +08:00
[test]: modify sleep time to improve the decoding effciency
it is obvious. Change-Id: I9ce91996ff6cebad01297281a6a0f3e5632680e5 Signed-off-by: sliver.chen <sliver.chen@rock-chips.com>
This commit is contained in:
@@ -253,7 +253,14 @@ static int decode_simple(MpiDecLoopData *data)
|
||||
if (pkt_done)
|
||||
break;
|
||||
|
||||
msleep(50);
|
||||
/*
|
||||
* why sleep here:
|
||||
* mpi->decode_put_packet will failed when packet in internal queue is
|
||||
* full,waiting the package is consumed .Usually hardware decode one
|
||||
* frame which resolution is 1080p needs 2 ms,so here we sleep 3ms
|
||||
* * is enough.
|
||||
*/
|
||||
msleep(3);
|
||||
} while (1);
|
||||
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user