aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorStanimir Varbanov <[email protected]>2020-04-03 17:56:29 +0200
committerMauro Carvalho Chehab <[email protected]>2020-05-05 13:07:15 +0200
commit85872f861d4cc535b0dbfd0a9062bdbdcbed20c3 (patch)
tree570c79487778360fa10fd9cc0667d7502bcde6a2 /tools/perf/scripts/python/export-to-sqlite.py
parentbc3d870e414b42d72cd386aa20a4fc3612e4feb7 (diff)
media: venus: Mark last capture buffer
According to stateful Codec API the decoder will process all remaining buffers from before the source change event in dynamic-resolution-change state and mark the last buffer with V4L2_BUF_FLAG_LAST. In Venus case the firmware doesn't mark that last buffer and some mechanism have to be created in v4l decoder driver. Fortunately the firmware interface (HFI) claims that the decoder output buffers will be returned to v4l decoder driver before it send the insufficient event. In order to do that we save last queued in the driver capture buffer in the event_notify and issue flush on output firmware buffers queue. Once the saved buffer is returned (as a result of flush command) we mark it as LAST. For all that possible we extend HFI flush command with one more argument and one more flush_done HFI driver callback. Signed-off-by: Stanimir Varbanov <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions