msm: vidc: New buffer counts exchange
Implement new buffer count exchange method between clients
and driver, which is common for both Encoder and Decoder.
CRs-Fixed: 2022735
Change-Id: I83287e06ad0389868be936d9685be8354bede007
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
diff --git a/drivers/media/platform/msm/vidc/vidc_hfi_api.h b/drivers/media/platform/msm/vidc/vidc_hfi_api.h
index 11c4b98..151a82a 100644
--- a/drivers/media/platform/msm/vidc/vidc_hfi_api.h
+++ b/drivers/media/platform/msm/vidc/vidc_hfi_api.h
@@ -607,6 +607,7 @@
struct hal_buffer_count_actual {
enum hal_buffer buffer_type;
u32 buffer_count_actual;
+ u32 buffer_count_min_host;
};
struct hal_buffer_size_minimum {
@@ -826,8 +827,8 @@
enum hal_buffer buffer_type;
u32 buffer_size;
u32 buffer_region_size;
- u32 buffer_hold_count;
u32 buffer_count_min;
+ u32 buffer_count_min_host;
u32 buffer_count_actual;
u32 contiguous;
u32 buffer_alignment;