映像のフォーマット情報
More...
#include <VideoFormat.hpp>
◆ VideoFormat() [1/2]
zep::video::VideoFormat::VideoFormat |
( |
| ) |
|
|
inlinenoexcept |
VideoFormatオブジェクトをデフォルト構築する。
- Note
- 各フィールドは無効な値で初期化される。
◆ VideoFormat() [2/2]
zep::video::VideoFormat::VideoFormat |
( |
int |
width, |
|
|
int |
height, |
|
|
bool |
interlaced, |
|
|
double |
fps, |
|
|
uint32_t |
pixelformat, |
|
|
v4l2_quantization |
quantization, |
|
|
v4l2_colorspace |
colorspace |
|
) |
| |
|
inlinenoexcept |
VideoFormatオブジェクトを初期値付きで構築する。
- Parameters
-
width | ピクチャの横幅 |
height | ピクチャの高さ |
interlaced | インターレース方式か否か |
fps | フレームレート |
pixelformat | V4L2固有ピクセルフォーマット |
quantization | Limited rangeかFull rangeか |
colorspace | 色空間 |
◆ GetColorSpace()
v4l2_colorspace zep::video::VideoFormat::GetColorSpace |
( |
| ) |
const |
|
inlinenoexcept |
色空間を取得する。
- Note
- V4L2固有パラメータ
◆ GetFieldHeight()
int zep::video::VideoFormat::GetFieldHeight |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetFramerate()
void zep::video::VideoFormat::GetFramerate |
( |
int & |
numerator, |
|
|
int & |
denominator |
|
) |
| const |
|
inlinenoexcept |
フレームレートの分子と分母を取得する。
- Parameters
-
numerator | 分子の格納先 |
denominator | 分子の格納先 |
手抜き
◆ GetHeight()
int zep::video::VideoFormat::GetHeight |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetInterlaced()
bool zep::video::VideoFormat::GetInterlaced |
( |
| ) |
const |
|
inlinenoexcept |
インターレース方式か否かを取得する。
- Return values
-
true | インターレース方式である |
false | プログレッシブ方式である |
◆ GetPixelFormat()
uint32_t zep::video::VideoFormat::GetPixelFormat |
( |
| ) |
const |
|
inlinenoexcept |
ピクセルフォーマットを取得する。
- Note
- V4L2固有パラメータ
◆ GetQuantization()
v4l2_quantization zep::video::VideoFormat::GetQuantization |
( |
| ) |
const |
|
inlinenoexcept |
Limited rangeかFull rangeかを取得する。
- Note
- V4L2固有パラメータ
◆ operator==()
bool zep::video::VideoFormat::operator== |
( |
const VideoFormat & |
other | ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /home/jenkins/workspace/J2303.zao_sdk_jetson.build/zep_sdk/libzep/include/zep/video/VideoFormat.hpp