icfans

MT6253 插值到3M的修改方法

0
阅读(250) 评论(0)

[DESCRIPTION]
– 1.客户MMI菜单已经修改好,可以出现3M Capture Size;
– 2.客户希望通过SW插值Camera到3M。
[KEYWORD]
MT6253
Interpolation
[SOLUTION]来自半导体社区
– 1. 目前53平台支持最大Camera分辨率为2M,可支持SW插值到3M;
– 2. 具体在代码中的修改方法整理如下:
– Makefile:
– YUVCAM_INTERPOLATION = SW
– YUVCAM_ENCODE_DIRECT_WRITE_FILE = FALSE
– Drv_features_6253.h
– 将HW Resize Support这个宏注释掉;
– //#define DRV_YUV_HW_RESIZE_SUPPORT
– 执行New操作。
– 3. 补充说明一下,在MMI实现3M Menu的Display:
– (Camera MMI)
(1)在对应的sensor的.h文件: image_sensor.h中定义:
#define __IMAGE_SENSOR_3M__ // 3M
(2)在mmi_features_camera.h(路径为: plutommi\customer\custresource\pluto_mmi)
中替换:
#define CAMERA_FEATURE_IMAGE_SIZE_LL_WIDTH (2048)
#define CAMERA_FEATURE_IMAGE_SIZE_LL_HEIGHT (1536)
(3) New Project.
– (Camcorder MMI)
– 修改camera_sensor_para_xxx.c中的xxx_get_capture_size_ability().