Commit 9822291e authored by Stanimir Varbanov's avatar Stanimir Varbanov Committed by Mauro Carvalho Chehab

media: venus: hfi_plat: Add codecs and capabilities ops

Add ops to get the supported by the platform codecs and capabilities.
Signed-off-by: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 8f3b41dc
...@@ -47,6 +47,8 @@ struct hfi_platform_codec_freq_data { ...@@ -47,6 +47,8 @@ struct hfi_platform_codec_freq_data {
struct hfi_platform { struct hfi_platform {
unsigned long (*codec_vpp_freq)(u32 session_type, u32 codec); unsigned long (*codec_vpp_freq)(u32 session_type, u32 codec);
unsigned long (*codec_vsp_freq)(u32 session_type, u32 codec); unsigned long (*codec_vsp_freq)(u32 session_type, u32 codec);
void (*codecs)(u32 *enc_codecs, u32 *dec_codecs, u32 *count);
const struct hfi_plat_caps *(*capabilities)(unsigned int *entries);
}; };
extern const struct hfi_platform hfi_plat_v4; extern const struct hfi_platform hfi_plat_v4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment