3427
- 收藏
- 点赞
- 分享
- 举报
[感谢]论坛朋友的帮忙 mpp/sample/vio 显示在HDMI 720P
本帖最后由 2272943826 于 2017-7-6 12:38 编辑
非常感谢 药导 david kg123456 ngswfx wfjdemmye wwwbbk1 zhuangweiye 前辈们的帮助
检查下面的信息:
1 通过 LVDS 输出还是 HDMI 输出
如果是,HDMI的话,分辨率是720P还是 1080P? PIC_SIZE_E g_enPicSize = PIC_HD1080; (sample_vio,海思默认输出1080P)
如果使用 HDMI 720P的话, PIC_SIZE_E g_enPicSize = PIC_HD720;
2 SENSOR_TYPE ?= SONY_IMX178_LVDS_1080P_30FPS
mpp/sample/make.param
[code]
################# select sensor type for your sample ####################
#------demo board use sublvds default----------------
#SENSOR_TYPE ?= PANASONIC_MN34220_SUBLVDS_1080P_30FPS
#SENSOR_TYPE ?= PANASONIC_MN34220_SUBLVDS_720P_120FPS
#SENSOR_TYPE ?= PANASONIC_MN34220_MIPI_1080P_30FPS
#SENSOR_TYPE ?= PANASONIC_MN34220_MIPI_720P_120FPS
#SENSOR_TYPE ?= SONY_IMX178_LVDS_5M_30FPS
SENSOR_TYPE ?= SONY_IMX178_LVDS_1080P_30FPS
#SENSOR_TYPE ?= SONY_IMX117_LVDS_1080P_30FPS
#SENSOR_TYPE ?= SONY_IMX117_LVDS_720P_30FPS
#SENSOR_TYPE ?= SONY_IMX123_LVDS_QXGA_30FPS
#SENSOR_TYPE ?= SONY_IMX185_MIPI_1080P_30FPS
#SENSOR_TYPE ?= APTINA_AR0230_HISPI_1080P_30FPS
#SENSOR_TYPE ?= APTINA_AR0237_HISPI_1080P_30FPS
#SENSOR_TYPE ?= APTINA_AR0330_MIPI_1080P_30FPS
#SENSOR_TYPE ?= APTINA_AR0330_MIPI_1536P_25FPS
#SENSOR_TYPE ?= APTINA_AR0330_MIPI_1296P_25FPS
#SENSOR_TYPE ?= OMNIVISION_OV4689_MIPI_1080P_30FPS
#SENSOR_TYPE ?= OMNIVISION_OV4689_MIPI_4M_30FPS
#SENSOR_TYPE ?= OMNIVISION_OV5658_MIPI_5M_30FPS
[/code]
[code]VIDEO_NORM_E gs_enNorm = VIDEO_ENCODING_MODE_PAL;
VO_INTF_TYPE_E g_enVoIntfType = VO_INTF_CVBS;
// PIC_SIZE_E g_enPicSize = PIC_HD1080;
PIC_SIZE_E g_enPicSize = PIC_HD720; // test it check the details 1 line 30
SAMPLE_VIDEO_LOSS_S gs_stVideoLoss;
HI_U32 gs_u32ViFrmRate = 0;
SAMPLE_VI_CONFIG_S g_stViChnConfig =
{
//PANASONIC_MN34220_SUBLVDS_1080P_30FPS,
SONY_IMX178_LVDS_1080P_30FPS, // check you own sensor check the details 2 line 38
VIDEO_ENCODING_MODE_AUTO,
ROTATE_NONE,
VI_CHN_SET_NORMAL,
WDR_MODE_NONE
};
/******************************************
step 7: start VO SD0 (bind * vi )
******************************************/
stVoPubAttr.enIntfType = g_enVoIntfType;
if (VO_INTF_BT1120 == g_enVoIntfType)
{
//stVoPubAttr.enIntfSync = VO_OUTPUT_1080P30;
stVoPubAttr.enIntfSync = VO_OUTPUT_720P60; // test it check the details 3 line 219
gs_u32ViFrmRate = 50;
}
else
{
stVoPubAttr.enIntfSync = VO_OUTPUT_PAL;
}
stVoPubAttr.u32BgColor = 0x000000ff;
check your own sensor type for step 2
typedef enum sample_vi_mode_e
{
APTINA_AR0130_DC_720P_30FPS = 0,
APTINA_9M034_DC_720P_30FPS,
SAMPLE_VI_MODE_1_D1,
SAMPLE_VI_MODE_BT1120_1080I,
SAMPLE_VI_MODE_BT1120_720P,
SAMPLE_VI_MODE_BT1120_1080P,
PANASONIC_MN34220_SUBLVDS_1080P_30FPS,
PANASONIC_MN34220_SUBLVDS_720P_120FPS,
SONY_IMX178_LVDS_1080P_30FPS,
SONY_IMX185_MIPI_1080P_30FPS,
PANASONIC_MN34220_MIPI_1080P_30FPS,
PANASONIC_MN34220_MIPI_720P_120FPS,
SONY_IMX178_LVDS_5M_30FPS,
SONY_IMX117_LVDS_1080P_30FPS,
SONY_IMX117_LVDS_720P_30FPS,
SONY_IMX123_LVDS_QXGA_30FPS,
APTINA_AR0230_HISPI_1080P_30FPS,
APTINA_AR0237_HISPI_1080P_30FPS,
APTINA_AR0330_MIPI_1080P_30FPS,
APTINA_AR0330_MIPI_1536P_25FPS,
APTINA_AR0330_MIPI_1296P_25FPS,
OMNIVISION_OV4689_MIPI_4M_30FPS,
OMNIVISION_OV4689_MIPI_1080P_30FPS,
OMNIVISION_OV5658_MIPI_5M_30FPS,
} SAMPLE_VI_MODE_E;[/code]
非常感谢 药导 david kg123456 ngswfx wfjdemmye wwwbbk1 zhuangweiye 前辈们的帮助
检查下面的信息:
1 通过 LVDS 输出还是 HDMI 输出
如果是,HDMI的话,分辨率是720P还是 1080P? PIC_SIZE_E g_enPicSize = PIC_HD1080; (sample_vio,海思默认输出1080P)
如果使用 HDMI 720P的话, PIC_SIZE_E g_enPicSize = PIC_HD720;
2 SENSOR_TYPE ?= SONY_IMX178_LVDS_1080P_30FPS
mpp/sample/make.param
[code]
################# select sensor type for your sample ####################
#------demo board use sublvds default----------------
#SENSOR_TYPE ?= PANASONIC_MN34220_SUBLVDS_1080P_30FPS
#SENSOR_TYPE ?= PANASONIC_MN34220_SUBLVDS_720P_120FPS
#SENSOR_TYPE ?= PANASONIC_MN34220_MIPI_1080P_30FPS
#SENSOR_TYPE ?= PANASONIC_MN34220_MIPI_720P_120FPS
#SENSOR_TYPE ?= SONY_IMX178_LVDS_5M_30FPS
SENSOR_TYPE ?= SONY_IMX178_LVDS_1080P_30FPS
#SENSOR_TYPE ?= SONY_IMX117_LVDS_1080P_30FPS
#SENSOR_TYPE ?= SONY_IMX117_LVDS_720P_30FPS
#SENSOR_TYPE ?= SONY_IMX123_LVDS_QXGA_30FPS
#SENSOR_TYPE ?= SONY_IMX185_MIPI_1080P_30FPS
#SENSOR_TYPE ?= APTINA_AR0230_HISPI_1080P_30FPS
#SENSOR_TYPE ?= APTINA_AR0237_HISPI_1080P_30FPS
#SENSOR_TYPE ?= APTINA_AR0330_MIPI_1080P_30FPS
#SENSOR_TYPE ?= APTINA_AR0330_MIPI_1536P_25FPS
#SENSOR_TYPE ?= APTINA_AR0330_MIPI_1296P_25FPS
#SENSOR_TYPE ?= OMNIVISION_OV4689_MIPI_1080P_30FPS
#SENSOR_TYPE ?= OMNIVISION_OV4689_MIPI_4M_30FPS
#SENSOR_TYPE ?= OMNIVISION_OV5658_MIPI_5M_30FPS
[/code]
[code]VIDEO_NORM_E gs_enNorm = VIDEO_ENCODING_MODE_PAL;
VO_INTF_TYPE_E g_enVoIntfType = VO_INTF_CVBS;
// PIC_SIZE_E g_enPicSize = PIC_HD1080;
PIC_SIZE_E g_enPicSize = PIC_HD720; // test it check the details 1 line 30
SAMPLE_VIDEO_LOSS_S gs_stVideoLoss;
HI_U32 gs_u32ViFrmRate = 0;
SAMPLE_VI_CONFIG_S g_stViChnConfig =
{
//PANASONIC_MN34220_SUBLVDS_1080P_30FPS,
SONY_IMX178_LVDS_1080P_30FPS, // check you own sensor check the details 2 line 38
VIDEO_ENCODING_MODE_AUTO,
ROTATE_NONE,
VI_CHN_SET_NORMAL,
WDR_MODE_NONE
};
/******************************************
step 7: start VO SD0 (bind * vi )
******************************************/
stVoPubAttr.enIntfType = g_enVoIntfType;
if (VO_INTF_BT1120 == g_enVoIntfType)
{
//stVoPubAttr.enIntfSync = VO_OUTPUT_1080P30;
stVoPubAttr.enIntfSync = VO_OUTPUT_720P60; // test it check the details 3 line 219
gs_u32ViFrmRate = 50;
}
else
{
stVoPubAttr.enIntfSync = VO_OUTPUT_PAL;
}
stVoPubAttr.u32BgColor = 0x000000ff;
check your own sensor type for step 2
typedef enum sample_vi_mode_e
{
APTINA_AR0130_DC_720P_30FPS = 0,
APTINA_9M034_DC_720P_30FPS,
SAMPLE_VI_MODE_1_D1,
SAMPLE_VI_MODE_BT1120_1080I,
SAMPLE_VI_MODE_BT1120_720P,
SAMPLE_VI_MODE_BT1120_1080P,
PANASONIC_MN34220_SUBLVDS_1080P_30FPS,
PANASONIC_MN34220_SUBLVDS_720P_120FPS,
SONY_IMX178_LVDS_1080P_30FPS,
SONY_IMX185_MIPI_1080P_30FPS,
PANASONIC_MN34220_MIPI_1080P_30FPS,
PANASONIC_MN34220_MIPI_720P_120FPS,
SONY_IMX178_LVDS_5M_30FPS,
SONY_IMX117_LVDS_1080P_30FPS,
SONY_IMX117_LVDS_720P_30FPS,
SONY_IMX123_LVDS_QXGA_30FPS,
APTINA_AR0230_HISPI_1080P_30FPS,
APTINA_AR0237_HISPI_1080P_30FPS,
APTINA_AR0330_MIPI_1080P_30FPS,
APTINA_AR0330_MIPI_1536P_25FPS,
APTINA_AR0330_MIPI_1296P_25FPS,
OMNIVISION_OV4689_MIPI_4M_30FPS,
OMNIVISION_OV4689_MIPI_1080P_30FPS,
OMNIVISION_OV5658_MIPI_5M_30FPS,
} SAMPLE_VI_MODE_E;[/code]
我来回答
回答5个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-07-20 16:10:21
-
2017-12-28 14:45:16
-
2017-06-23 16:34:54
-
2012-11-27 16:22:30
-
2017-05-19 16:28:28
-
2015-08-26 09:57:33
-
2017-01-09 11:51:11
-
2017-06-05 11:14:36
-
2017-06-05 11:12:26
-
2018-12-05 09:32:31
-
2019-05-13 14:23:49
-
2018-09-17 12:10:17
-
2018-07-16 10:14:48
-
2019-09-06 10:05:36
-
2019-03-30 16:37:15
-
2020-04-26 19:16:11
-
2018-05-14 10:37:41
-
2018-10-10 10:46:48
-
2017-10-09 10:51:14
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
50帮忙解决个交叉编译的问题
-
20帮忙交叉编译个源码
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认