media: venus: helpers: rename a helper function and use buffer mode from caps
Rename is_reg_unreg_needed() to better name is_dynamic_bufmode() and use buffer mode from enumerated per codec capabilities. Signed-off-by: NStanimir Varbanov <stanimir.varbanov@linaro.org> Reviewed-by: NTomasz Figa <tfiga@chromium.org> Reviewed-by: NAlexandre Courbot <acourbot@chromium.org> Tested-by: NAlexandre Courbot <acourbot@chromium.org> Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Showing
想要评论请 注册 或 登录