video: driver: update basic functionality controls

- update basic functionality controls with their parents
  and children list.
- deprecate MPEG2 related code.
- rename driver internal color formats.

Change-Id: I918d6fd238486098f10c5b9ce40c895bcd9468e5
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
此提交包含在:
Akshata Sahukar
2020-12-29 17:26:50 -08:00
父節點 58cd1120ee
當前提交 c19f4aec51
共有 14 個檔案被更改,包括 775 行新增673 行删除

查看文件

@@ -221,8 +221,8 @@ void __dump(struct dump dump[], int len);
static inline bool __ubwc(enum msm_vidc_colorformat_type f)
{
switch (f) {
case MSM_VIDC_FMT_NV12_UBWC:
case MSM_VIDC_FMT_NV12_TP10_UBWC:
case MSM_VIDC_FMT_NV12C:
case MSM_VIDC_FMT_TP10C:
return true;
default:
return false;
@@ -234,11 +234,11 @@ static inline int __bpp(enum msm_vidc_colorformat_type f)
switch (f) {
case MSM_VIDC_FMT_NV12:
case MSM_VIDC_FMT_NV21:
case MSM_VIDC_FMT_NV12_UBWC:
case MSM_VIDC_FMT_RGBA8888_UBWC:
case MSM_VIDC_FMT_NV12C:
case MSM_VIDC_FMT_RGBA8888C:
return 8;
case MSM_VIDC_FMT_NV12_P010:
case MSM_VIDC_FMT_NV12_TP10_UBWC:
case MSM_VIDC_FMT_P010:
case MSM_VIDC_FMT_TP10C:
return 10;
default:
d_vpr_e("Unsupported colorformat (%x)", f);