logo需要重启生效: swosdSetLogoPrm swosdSetWinParam swosdMakeWinString 。。。 SWOSD_setBmpWinPrm iconBuff80_Y bmpWinPrm.bmpWinAddr: fpLogo160 = fopen ( SWOSD_TIICON_160 , "rb" ); iconBuff160_Y fpLogo160 strBuff462_UV ReadBmpWid FILE* bmpfp = fopen(OSD_BMP_FILE,"rb") ReadBmpWid VIDEO_swosdTskMain VIDEO_swosdTskCreate(SWOSD_CHARWIDTHTILOGO_160_64 = ReadBmpWid();) swosdSetLogoPrm swosdSetWinParam swosdMakeFixWinString OSA_tskWaitMsg OSA_msgGetCmd VIDEO_swosdTskRun swosdDisplay swosdMakeWinString(.swosdConfig.swosdLogoStringUpdate=ena SwosdMakeWinChinaString convert_font PasteImage SaveRGBToBMPFile(OSD_BMP_FILE) access(SWOSD_TIICON_160)(关键是没有把保存的文化读出来放在结构体变量中:bmpWinPrm.width,bmpWinPrm.height) //VIDEO_swosdTskCreate 2377-2384 添加size: 思路1 以sys_msg_key /home/hsp/dm3683/ipnc_rdk/ipnc_app/network/boa-0.94.13/src/appro_api.c 3869 3935 SYS_MSG_KEY(第一步发送) /home/hsp/dm3683/ipnc_rdk/ipnc_app/sys_server/src/main.c 1559 好了******************改这个(第二部接收,并且发送给显示) file_msg_drv.c SetOverlayTex ipnc_app/interface/src/sys_msg_drv.c .......................... SYS_MSG_KEY /home/hsp/dm3683/ipnc_rdk/ipnc_app/sys_server/src/main.c 写到文件里面去了? SYS_MSG_KEY 1552 思路2 以gAVSERVER_config.captureConfig[count].swosdConfig.swosdDispString为线索找到哪里为它赋值。 /home/hsp/dm3683/ipnc_rdk/av_capture/application/ipnc/av_server/src/video videoSwosdThr.c (算是第四步吧 :设置显示了) SwosdMakeWinChinaString gAVSERVER_config.captureConfig[streamId].swosdConfig.swosdDispString /home/hsp/dm3683/ipnc_rdk/av_capture/application/ipnc/av_server/src/common/avServerApi.c AVSERVER_Config gAVSERVER_config; AVSERVER_swosdText memcpy(gAVSERVER_config.captureConfig[count].swosdConfig.swosdDispString, /home/hsp/dm3683/ipnc_rdk/av_capture/application/ipnc/av_server/src/stream/avserver_stream.c SetOsdText AVSERVER_swosdText /home/hsp/dm3683/ipnc_rdk/av_capture/application/ipnc/av_server/src/stream/stream.c(第三部接收显示)1120 MSG_CMD_SET_OSDPRM1 stream_feature_setup( int nFeature, void *pParm ) SetOsdTextt(pPrm->strText, pPrm->nLegnth) 1694 这个不是的 根据cmd来STREAM_FEATURE_OSDPRM1 Msg_CTRL stream_feature_setup 1097 stream_init Msg_CTRL (msgrcv : MSG_KEY) 关键在pid 93 MSG_KEY 线索(找到哪里给他发送) ipnc_app/interface/src/ApproDrvMsg.c 100: if((qid=Msg_Init(MSG_KEY)) < 0) 1256 int SetAvOsdText(char* strText, int nLength) /home/hsp/dm3683/ipnc_rdk/ipnc_app/sys_server/src/av_server_ctrl.c 1778 int SetOSDTextInfo(void * buf, int length) .................................. 发送:MSG_KEY ret = fSetOSDText(buf, length); SetAvOsdText((char*)buf, length); /home/hsp/dm3683/ipnc_rdk/ipnc_app/sys_server/src/main.c ProcSysMsg 507 SetOSDTextInfo ipnc_app/network/esmtp/appro-mail.c:178: qid = Msg_Init(MSG_KEY); /home/hsp/dm3683/ipnc_rdk/av_capture/application/ipnc/av_server/src/common/avServerApi.c av_capture/application/ipnc/av_server/src/common/avServerUi.c AVSERVER_config (其实 第五步吧)web_translate.c 添加发送参数 size2: 新思路: /home/hsp/dm3683/ipnc_rdk/ipnc_app/network/boa-0.94.13/src web_translate.c 1114 lan_config.Avc2Ysize request.c ini.htm /dm368/ipnc_rdk/ipnc_app/interface/src/file_msg_drv.c Avc2Ysize /dm3683/ipnc_rdk/ipnc_app/sys_server/src/system_control.c StartStream 915 找个出现在的地方Avc2Xsize home/hsp/dm3683/ipnc_rdk/ipnc_app/network/boa-0.94.13/src/request.c这个地方开始寻找错误 (这个好像是给网页传送参数的) uri_ini_htm 3499 html_ini_cmd ShowAllWebValue /home/hsp/dm3683/ipnc_rdk/ipnc_app/network/boa-0.94.13/src/web_translate.c 5384 5035 1104 /dm3683/ipnc_rdk/ipnc_app/sys_server/src/file_mng_main.c 这个地方就开始错了 nc_rdk/ipnc_app/sys_server/src/file_mng_main.c 323这一步也对 /home/hsp/dm3683/ipnc_rdk/ipnc_app/network/boa-0.94.13/src/web_translate.c 1104 开始错 home/hsp/dm3683/ipnc_rdk/ipnc_app/network/boa-0.94.13/src/request.c这个地方开始寻找错误 这个web的接口 uri_ini_htm 3499 html_ini_cmd ShowAllWebValue /home/hsp/dm3683/ipnc_rdk/ipnc_app/network/boa-0.94.13/src/web_translate.c 5384 /home/hsp/dm3683/ipnc_rdk/ipnc_app/interface/src/file_msg_drv.c 2363 /home/hsp/dm3683/ipnc_rdk/ipnc_app/sys_server/src/av_server_ctrl.c 2216 新建: dm368/ipnc_rdk/ipnc_app/network/boa-0.94.13/src/ vi y.tab.c /home/hsp/dm368/ipnc_rdk/ipnc_app/network/boa-0.94.13/src/lex.yy.c vi ipnc_app/interface/inc/sys_env_type.h av_capture/application/ipnc/av_server/src/stream/stream.c 改 ipnc_app/gb28181/sip/20121225/demo/ApproDrvMsg.c ipnc_app/interface/src/ApproDrvMsg.c printf("\033[31m###### Reset Configure File######\033[0m\n"); MSG_MEM ipnc_app/interface/inc/ApproDrvMsg.h <<GLOBAL>> ipnc_app/interface/inc/Msg_Def.h <<GLOBAL>> ipnc_app/gb28181/9m034_ipnc3.1/ipnc_app/network/sip/GetAVData.c ipnc_app/interface/src/Appro_interface.c MSG_BUF av_capture/application/ipnc/av_server/src/stream/stream.c 1554 ipnc_app/interface/src/ApproDrvMsg.c int size = 0, size_max = 64; OSD_config appro_api.c ipnc_app/network/boa-0.94.13/src/appro_api.c FILE -> videoSwosdThr.c, LINE -> 1492 :osd len 50 is larger than max size SWOSD_winDraw():BMP ADRESS IS NULL!!! 0x0 Win Id 1 /home/hsp/dm3683/ipnc_rdk/av_capture/framework/alg/priv/swosd alg_ti_swosd.h 192 login: root (automatic login) UDPString=uuid:Upnp-TVEmulator-1_0-00_0020540202</UDN> ERROR (drv_vpss.c|DRV_vpssExit|256): CSL_vpssHwSetup() ERROR (avServerApi.c|AVSERVER_exit|779): AVSERVER_exit() AVSERVER UI: Closed Successfully Upnp port is 0 UPnP Initialized OK ip=192.168.0.65, port=49152 desc_doc_url = http://192.168.0.65/tvdevicedesc.xml UpnpRegisterRootDevice failure. error code = -204 device advertisement failure av_capture/framework/alg/priv/swosd/alg_ti_swosd.h /home/hsp/dm3683/ipnc_rdk/av_capture/application/ipnc/av_server/src/video videoSwosdThr.c这个重点啊 哈哈 1269 定位错误: swosdisplay: swosdMakeWinString 1064:1645 1713xxx-1717 SWOSD_BmpWinPrm SWOSD_MainWinPrm、 SWOSD_Fontdata SWOSD_Hndl RTSPServer.cpp drv_vpss.c drv_imgs_MT9M034_1.2MP.c cd av_capture/application/ipnc/av_server/src/common/ 英文: setenv serverip 192.168.0.246;setenv ipaddr 192.168.0.65;tftpboot 0x80700000 uImage_ipnc_dm368;tftpboot 0x82000000 cramfsImage_ipnc_dm368;nand erase 0x500000 0x400000;nand write 0x80700000 0x500000 0x400000;nand erase 0x900000 0x1600000;nand write 0x82000000 0x900000 0x1600000;setenv bootcmd 'nboot 0x80700000 0 0x500000;bootm 0x80700000';setenv bootargs 'mem=64M console=ttyS0,115200n8 root=/dev/mtdblock3 rootfstype=cramfs ip=192.168.0.65:192.168.0.100:192.168.0.1:255.255.255.0:::off eth=20:12:12:02:09:22 lpj=739328 cmemk.phys_start="0x84000000" cmemk.phys_end="0x88000000" cmemk.phys_start_1="0x00001000" cmemk.phys_end_1="0x00008000" cmemk.pools_1="1x28672" cmemk.allowOverlap="1"';saveenv;reset
中文
最新推荐文章于 2024-05-13 03:32:37 发布