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>
此提交包含在:
@@ -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);
|
||||
|
新增問題並參考
封鎖使用者