diff options
| author | Loic Poulain <[email protected]> | 2020-08-04 14:21:57 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-09-01 14:13:29 +0200 |
| commit | 58084b3f6c543ace4af2bd9dcee2d1b1a4b4340a (patch) | |
| tree | d02c2d8f51c6dd4eb1258b98faead606c2ad0c81 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | e1c69c4eef61ffe295b747992c6fd849e6cd747d (diff) | |
media: venus: Fix reported frame intervals
On dragonboard-410c (apq8016) with HFI_VERSION_1XX, the reported
framerate is in unit of 1/65535 fps (for fine grained control).
So the current reported supported frame intervals is wrong (max
is 1/65535 fps), leading to encoding issues or format negotiation
failures with gstreamer.
Fix that by setting the framerate denominator to coherent value
based on the the framerate factor.
The factor is not always the same, e.g. with db820c (apq8096) HFI
reports framerate in fps unit. So only apply that for HFI_VERSION_1XX.
Signed-off-by: Loic Poulain <[email protected]>
Signed-off-by: Stanimir Varbanov <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions