freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于arm9視頻監(jiān)控系統(tǒng)的設(shè)計_課程設(shè)計論文-資料下載頁

2025-08-22 18:29本頁面

【導讀】本文首先綜合論述什么是ARM9監(jiān)控系統(tǒng),接著闡述實現(xiàn)ARM9監(jiān)控系統(tǒng)的原理及實現(xiàn)ARM9監(jiān)控系統(tǒng)所需的硬件及軟件。其次,列出實現(xiàn)的具體步驟和部分截圖。最后附錄部分重要源代碼。嵌入式操作系統(tǒng)負責嵌入式系統(tǒng)的全部軟、硬件資源的分配、任務(wù)調(diào)度,控制、協(xié)調(diào)并發(fā)活動。它必須體現(xiàn)其所在系統(tǒng)的特征,能夠通過裝卸某些模塊來達到系統(tǒng)所要求的功能。在嵌入式領(lǐng)域中廣泛應(yīng)用的是ARM系列的處理器,ARM公司引發(fā)了嵌人式領(lǐng)域的一場革命,在低功耗、低成本的嵌入式應(yīng)用領(lǐng)域確立了其市場領(lǐng)導地位,是目前32位市場中使用最廣泛的微處理器。以ARM為架構(gòu)的嵌入式技術(shù)具有非常廣闊的前景。系統(tǒng)以ARM9微處理器AT91RM9200為主處理器,采用普通USB攝像頭作為圖像采集設(shè)備,構(gòu)建了一種可靠性好、價格低廉和使用方便的網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)。視頻監(jiān)控系統(tǒng)由實時控制系統(tǒng)、監(jiān)視系統(tǒng)和管理信息系統(tǒng)三部分組成。本系統(tǒng)基于ARM9處理器和嵌入式Linux操作系統(tǒng),利用USB接口攝像頭實現(xiàn)數(shù)字圖像采集任務(wù)。

  

【正文】 and the conditional variable are used to synchronize access to the global picture buffer */ if( pthread_mutex_init(amp。, NULL) != 0 ) { LOG(could not initialize mutex variable\n)。 closelog()。 exit(EXIT_FAILURE)。 } if( pthread_cond_init(amp。, NULL) != 0 ) { LOG(could not initialize condition variable\n)。 closelog()。 exit(EXIT_FAILURE)。 } /* ignore SIGPIPE (send by OS if transmitting to closed TCP sockets) */ signal(SIGPIPE, SIG_IGN)。 /* register signal handler for CTRL+C in order to clean up */ if (signal(SIGINT, signal_handler) == SIG_ERR) { LOG(could not register signal handler\n)。 closelog()。 exit(EXIT_FAILURE)。 } /* * messages like the following will only be visible on your terminal * if not running in daemon mode */ LOG(MJPG Streamer Version.: %s\n, SOURCE_VERSION)。 /* check if at least one output plugin was selected */ if ( == 0 ) { /* no? Then use the default plugin instead */ = 1。 } /* open input plugin */ tmp = (size_t)(strchr(input, 39。 39。)input)。 = (tmp 0)?strndup(input, tmp):strdup(input)。 = dlopen(, RTLD_LAZY)。 if ( ! ) { LOG(ERROR: could not find input plugin\n)。 LOG( Perhaps you want to adjust the search path with:\n)。 LOG( export LD_LIBRARY_PATH=/path/to/plugin/folder\n)。 LOG( dlopen: %s\n, dlerror() )。 closelog()。 exit(EXIT_FAILURE)。 } = dlsym(, input_init)。 if ( == NULL ) { LOG(%s\n, dlerror())。 exit(EXIT_FAILURE)。 } = dlsym(, input_stop)。 if ( == NULL ) { LOG(%s\n, dlerror())。 exit(EXIT_FAILURE)。 } = dlsym(, input_run)。 if ( == NULL ) { LOG(%s\n, dlerror())。 exit(EXIT_FAILURE)。 } /* try to find optional mand */ = dlsym(, input_cmd)。 = strchr(input, 39。 39。)。 = amp。global。 if ( (amp。) ) { LOG(input_init() return value signals to exit)。 closelog()。 exit(0)。 } /* open output plugin */ for (i=0。 i。 i++) { tmp = (size_t)(strchr(output[i], 39。 39。)output[i])。 [i].plugin = (tmp 0)?strndup(output[i], tmp):strdup(output[i])。 [i].handle = dlopen([i].plugin, RTLD_LAZY)。 if ( ![i].handle ) { LOG(ERROR: could not find output plugin %s\n, [i].plugin)。 LOG( Perhaps you want to adjust the search path with:\n)。 LOG( export LD_LIBRARY_PATH=/path/to/plugin/folder\n)。 LOG( dlopen: %s\n, dlerror() )。 closelog()。 exit(EXIT_FAILURE)。 } [i].init = dlsym([i].handle, output_init)。 if ( [i].init == NULL ) { LOG(%s\n, dlerror())。 exit(EXIT_FAILURE)。 } [i].stop = dlsym([i].handle, output_stop)。 if ( [i].stop == NULL ) { LOG(%s\n, dlerror())。 exit(EXIT_FAILURE)。 } [i].run = dlsym([i].handle, output_run)。 if ( [i].run == NULL ) { LOG(%s\n, dlerror())。 exit(EXIT_FAILURE)。 } /* try to find optional mand */ [i].cmd = dlsym([i].handle, output_cmd)。 [i]. = strchr(output[i], 39。 39。)。 [i]. = amp。global。 [i]. = i。 if ( [i].init(amp。[i].param) ) { LOG(output_init() return value signals to exit)。 closelog()。 exit(0)。 } } /* start to read the input, push pictures into global buffer */ DBG(starting input plugin\n)。 syslog(LOG_INFO, starting input plugin)。 if ( () ) { LOG(can not run input plugin\n)。 closelog()。 return 1。 } DBG(starting %d output plugin(s)\n, )。 for(i=0。 i。 i++) { syslog(LOG_INFO, starting output plugin: %s (ID: %02d), [i].plugin, [i].)。 [i].run([i].)。 } /* wait for signals */ pause()。 return 0。} 33
點擊復制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1