msm: vidc: Add support of timestamps based frame rate

Add timestamp based frame rate detection.

Change-Id: Id0c522e01769ea6cf214c7b84c11faae6049e2ef
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
Govindaraj Rajagopal
2021-04-23 15:46:13 +05:30
parent 992a58254f
commit 003d8a79fa
10 changed files with 266 additions and 10 deletions

View File

@@ -31,6 +31,7 @@ struct msm_vidc_pool_info {
struct msm_vidc_pool allocations;
struct msm_vidc_pool mappings;
struct msm_vidc_pool buffers;
struct msm_vidc_pool timestamps;
};
struct msm_vidc_allocations_info {
@@ -122,6 +123,7 @@ struct msm_vidc_inst {
struct msm_vidc_buffers_info buffers;
struct msm_vidc_mappings_info mappings;
struct msm_vidc_allocations_info allocations;
struct msm_vidc_timestamps timestamps;
bool subscribed_input_psc;
bool subscribed_output_psc;
bool subscribed_input_prop;