91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 394KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-10
  • 語言: 其他
  • 標(biāo)簽: Opencv??CCS??cv??cxcore??emcv??

資源簡介

在進(jìn)行圖像處理相關(guān)DSP編程時,需要移植opencv到CCS平臺。作者提供了將Opencv(1.0版本)的cxcore函數(shù)庫移植到CCS的靜態(tài)鏈接庫cxcore.lib,以及其生成工程,該例程經(jīng)作者編譯聽通過(ccs3.3版本)。由于工程中產(chǎn)生的obj文件和lib文件太大,在工程中已經(jīng)將其刪除,讀者在使用時,只需要對工程重新編譯即可。最后將生成的cxcore.lib添加到CCS的工程中即可(不要忘了添加相應(yīng)的頭文件),由于cxcore.lib一般和cv.lib配套使用,讀者在下載cxcore.lib時也一并將cv.lib下載。作者也提供了將cv.lib與cxcore.lib添加到工程中的實(shí)驗例程,并且該例程編譯通過。也希望讀者在該論壇找到該例程將其一并下載,配合使用。

資源截圖

代碼片段和文件信息

/*M///////////////////////////////////////////////////////////////////////////////////////
//
//??IMPORTANT:?READ?BEFORE?DOWNLOADING?COPYING?INSTALLING?OR?USING.
//
//??By?downloading?copying?installing?or?using?the?software?you?agree?to?this?license.
//??If?you?do?not?agree?to?this?license?do?not?download?install
//??copy?or?use?the?software.
//
//
//????????????????????????Intel?License?Agreement
//????????????????For?Open?Source?Computer?Vision?Library
//
//?Copyright?(C)?2000?Intel?Corporation?all?rights?reserved.
//?Third?party?copyrights?are?property?of?their?respective?owners.
//
//?Redistribution?and?use?in?source?and?binary?forms?with?or?without?modification
//?are?permitted?provided?that?the?following?conditions?are?met:
//
//???*?Redistribution‘s?of?source?code?must?retain?the?above?copyright?notice
//?????this?list?of?conditions?and?the?following?disclaimer.
//
//???*?Redistribution‘s?in?binary?form?must?reproduce?the?above?copyright?notice
//?????this?list?of?conditions?and?the?following?disclaimer?in?the?documentation
//?????and/or?other?materials?provided?with?the?distribution.
//
//???*?The?name?of?Intel?Corporation?may?not?be?used?to?endorse?or?promote?products
//?????derived?from?this?software?without?specific?prior?written?permission.
//
//?This?software?is?provided?by?the?copyright?holders?and?contributors?“as?is“?and
//?any?express?or?implied?warranties?including?but?not?limited?to?the?implied
//?warranties?of?merchantability?and?fitness?for?a?particular?purpose?are?disclaimed.
//?In?no?event?shall?the?Intel?Corporation?or?contributors?be?liable?for?any?direct
//?indirect?incidental?special?exemplary?or?consequential?damages
//?(including?but?not?limited?to?procurement?of?substitute?goods?or?services;
//?loss?of?use?data?or?profits;?or?business?interruption)?however?caused
//?and?on?any?theory?of?liability?whether?in?contract?strict?liability
//?or?tort?(including?negligence?or?otherwise)?arising?in?any?way?out?of
//?the?use?of?this?software?even?if?advised?of?the?possibility?of?such?damage.
//
//M*/

#include?“_cxcore.h“

//?default?
static?void*
icvDefaultAlloc(?size_t?size?void*?)
{
????char?*ptr?*ptr0?=?(char*)malloc(
????????(size_t)(size?+?CV_MALLOC_ALIGN*((size?>=?4096)?+?1)?+?sizeof(char*)));

????if(?!ptr0?)
????????return?0;

????//?align?the?pointer
????ptr?=?(char*)cvAlignPtr(ptr0?+?sizeof(char*)?+?1?CV_MALLOC_ALIGN);
????*(char**)(ptr?-?sizeof(char*))?=?ptr0;

????return?ptr;
}


//?default?
static?int
icvDefaultFree(?void*?ptr?void*?)
{
????//?Pointer?must?be?aligned?by?CV_MALLOC_ALIGN
????if(?((size_t)ptr?&?(CV_MALLOC_ALIGN-1))?!=?0?)
????????return?CV_BADARG_ERR;
????free(?*((char**)ptr?-?1)?);

????return?CV_OK;
}


//?pointers?to?allocation?functions?initially?set?to?default
static?CvAllocFunc?p_cvAlloc?=?(CvAllocFunc)icvDefaultAlloc;
static?CvFreeFunc?p_cvFree?=?(CvFreeFunc)icvDefaultF

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-06-21?13:21??cxcore\
?????文件???????60729??2013-06-22?09:25??cxcore\cc_build_Debug.log
?????文件???????18935??2013-06-22?09:26??cxcore\cxcore.paf2
?????文件????????1978??2013-06-22?09:26??cxcore\cxcore.pjt
?????文件????????8417??2013-06-22?09:26??cxcore\cxcore.sbl
?????文件????????2235??2013-06-22?09:25??cxcore\Debug.lkf
?????目錄???????????0??2013-06-22?09:05??cxcore\include\
?????文件???????55272??2006-09-27?20:02??cxcore\include\cv.h
?????文件???????16143??2006-09-06?15:40??cxcore\include\cv.hpp
?????文件???????41738??2006-07-12?19:47??cxcore\include\cvcompat.h
?????文件????????4182??2006-07-13?18:17??cxcore\include\cvstreams.h
?????文件???????12868??2005-11-22?21:42??cxcore\include\cvtypes.h
?????文件????????2425??2006-10-12?22:42??cxcore\include\cvver.h
?????文件???????74979??2006-09-20?17:09??cxcore\include\cxcore.h
?????文件???????12681??2006-10-06?19:59??cxcore\include\cxcore.hpp
?????文件????????8881??2006-09-06?17:24??cxcore\include\cxerror.h
?????文件???????48332??2013-06-20?13:46??cxcore\include\cxmisc.h
?????文件???????53467??2006-09-08?19:33??cxcore\include\cxtypes.h
?????文件?????????129??2013-06-22?01:06??cxcore\include\dlfcn.h
?????文件???????????0??2013-06-22?01:07??cxcore\include\新建文本文檔.txt
?????目錄???????????0??2013-06-22?09:16??cxcore\src\
?????文件????????4291??2013-06-22?00:05??cxcore\src\cxalloc.cpp
?????文件???????85637??2006-07-05?17:43??cxcore\src\cxarithm.cpp
?????文件???????94864??2013-06-22?00:05??cxcore\src\cxarray.cpp
?????文件???????60633??2006-08-01?21:24??cxcore\src\cxcmp.cpp
?????文件???????77498??2006-06-30?11:40??cxcore\src\cxconvert.cpp
?????文件???????35005??2006-05-24?12:51??cxcore\src\cxcopy.cpp
?????文件??????109715??2006-06-20?16:41??cxcore\src\cxdatastructs.cpp
?????文件???????83669??2013-06-22?00:05??cxcore\src\cxdrawing.cpp
?????文件??????126637??2006-09-01?19:56??cxcore\src\cxdxt.cpp
?????文件???????14140??2013-06-22?00:09??cxcore\src\cxerror.cpp
............此處省略24個文件信息

評論

共有 條評論