微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 如何实现插值

如何实现插值

时间:10-02 整理:3721RD 点击:
[DESCRIPTION]
如何实现插值
[SOLUTION]
1.ForYUVsensor:
mediatek/custom/common/hal/imgsensor/cfg_ftbl_xxxxx_yuv.h,或者mediatek/custom/common/hal/imgsensor/xxx_yuv/config.ftbl.xxx_yuv.h (89及后续平台)中添加对应的capturesize
比如,2M的sensor插值到3M,就在capturesize里添加3M的选项:
CONFIG_FEATURE_SI(FID_CAP_SIZE,
BY_DEFAULT(CAPTURE_SIZE_2048_1536),
CAPTURE_SIZE_320_240,CAPTURE_SIZE_640_480,
CAPTURE_SIZE_1024_768,APTURE_SIZE_1280_960,
CAPTURE_SIZE_1600_1200,APTURE_SIZE_2048_1536)
2.ForRAWsensor:
mediatek/custom/project_name/hal/CAMERA/camera/cfg_ftbl_custom_raw_main.h 或者mediatek/custom/$platform/hal/imgsensor/xxx_raw/config.ftbl.xxx_raw.h (89及后续平台)[project_name下没有的话就在mediatek/custom/common/hal/camera/camera/cfg_ftbl_custom_raw_main.h]
以3M插5M为例

  1. <font face="宋体" size="4">#if1//CaptureSize
  2. CONFIG_FEATURE(FID_CAP_SIZE,
  3. BY_DEFAULT(CAPTURE_SIZE_2560_1920),
  4. CAPTURE_SIZE_1280_960,
  5. CAPTURE_SIZE_1600_1200,CAPTURE_SIZE_2048_1536,CAPTURE_SIZE_2560_1920)
  6. #endif</font>

复制代码

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top