ビデオキャプチャ装置。 続きを読む...
#include "config.h"
#include "video_frame.h"
| データ構造 | |
| struct | otc_video_capturer_settings |
| struct | otc_video_capturer_callbacks |
| 型定義 | |
| typedef struct otc_video_capturer | otc_video_capturer |
| 機能 | |
| otc_status | otc_video_capturer_provide_frame (const otc_video_capturer *キャプチャ関数、int 回転角、const otc_video_frame *フレーム) |
| otc_status const | otc_video_capturer_set_content_hint (const otc_video_capturer *キャプチャ、列挙型 otc_video_capturer_content_hint_type (content_hint) |
| enum otc_video_capturer_content_hint_type const | otc_video_capturer_get_content_hint (const otc_video_capturer *キャプチャ担当) |
詳細な説明
ビデオキャプチャ装置。
このファイルには、ビデオキャプチャ機能の型定義と、その操作に役立ついくつかの関数の宣言が含まれています。
Typedef のドキュメント
otc_video_capturer
| typedef struct otc_video_capturer otc_video_capturer |
ビデオキャプチャ装置のタイプ定義。
列挙型のドキュメント
otc_video_capturer_content_hint_type
の値を定義します。 content_hint パラメーターの otc_video_capturer_set_content_hint 関数である。
| 調査員 | |
|---|---|
| OTC_VIDEO_CAPTURER_CONTENT_HINT_TYPE_NONE | ヒントは指定されていません。デフォルト値「none」が使用されます。 |
| OTC_VIDEO_CAPTURER_CONTENT_HINT_TYPE_MOTION | value = "motion" |
| OTC_VIDEO_CAPTURER_CONTENT_HINT_TYPE_DETAIL | value = "detail"。 |
| OTC_VIDEO_CAPTURER_CONTENT_HINT_TYPE_TEXT | value = "text"。 |
関数のドキュメント
otc_video_capturer_get_content_hint()
| enum otc_video_capturer_content_hint_type const otc_video_capturer_get_content_hint | ( | const otc_video_capturer * | キャプチャ機能 | ) |
キャプチャ対象の動画ソースに対する content_hint の値を返します。
パラメータ : | | | | --- | --- | | capturer | キャプチャ機能へのポインタ。 |
戻り値 : otc_video_capturer_content_hint_type 型の列挙値
otc_video_capturer_provide_frame()
| otc_status otc_video_capturer_provide_frame | ( | const otc_video_capturer * | キャプチャ機能, |
| イント | 回転, | ||
| const otc_video_frame * | フレーム | ||
| ) |
ビデオキャプチャ機能にビデオフレームを提供します。
パラメータ : | | | | --- | --- | | capturer | ビデオキャプチャインスタンスへのポインタ。 | | rotation | ビデオフレームの回転角度。 | | frame | 提供されるビデオフレームインスタンスへのポインタ。 |
戻り値 : エラーか成功かを示す戻り値。
関連項目 : otc_video_frame
otc_video_capturer_set_content_hint()
| otc_status const otc_video_capturer_set_content_hint | ( | const otc_video_capturer * | キャプチャ機能, |
| enum otc_video_capturer_content_hint_type | content_hint | ||
| ) |
動画コンテンツのヒントを、`otc_video_capturer_content_hint_type` の列挙型の値のいずれかに設定します。API が上記で指定された列挙型の値以外の値を受け取った場合、その旨に関する警告をログに記録します。
パラメータ : | | | | --- | --- | | capturer | キャプチャ機能へのポインタ | | content_hint | otc_video_capturer_content_hint_type 型の列挙値。 |
戻り値 : 失敗または成功を示す戻り値。