video: driver: Add support to handle GOP and its dependencies

Add support to below mentioned properties:
- HFI_PROP_LAYER_ENCODING_TYPE
- HFI_PROP_LAYER_COUNT
- HFI_PROP_MAX_GOP_FRAMES
- HFI_PROP_MAX_B_FRAMES.

Change-Id: I3be975a48dc668d0ec83f6ff13837488fc570b78
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
This commit is contained in:
Akshata Sahukar
2021-03-11 13:21:21 -08:00
parent 5d45f82cbb
commit 98e799da29
8 changed files with 423 additions and 64 deletions

View File

@@ -103,6 +103,7 @@ struct msm_vidc_inst {
struct msm_vidc_inst_cap_entry children;
struct msm_vidc_inst_cap_entry firmware;
enum hfi_rate_control hfi_rc_type;
enum hfi_layer_encoding_type hfi_layer_type;
bool request;
struct vb2_queue vb2q[MAX_PORT];
struct msm_vidc_rectangle crop;