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