This structure defines the type and screen size of a device (iPad, iPhone, etc).
More...
This structure defines the type and screen size of a device (iPad, iPhone, etc).
◆ QtlMovieDeviceProfile()
| QtlMovieDeviceProfile::QtlMovieDeviceProfile |
( |
const char * |
name = "undefined", |
|
|
int |
width = 100, |
|
|
int |
height = 100, |
|
|
float |
frameRate = 30, |
|
|
int |
audioBitRate = 128000, |
|
|
int |
audioSampling = 48000 |
|
) |
| |
Constructor.
- Parameters
-
| [in] | name | Device model name. |
| [in] | width | Screen width in pixels. |
| [in] | height | Screen height in pixels. |
| [in] | frameRate | Frame rate. |
| [in] | audioBitRate | Audio bitrate. |
| [in] | audioSampling | Audio samples per second. |
◆ name()
| QString QtlMovieDeviceProfile::name |
( |
| ) |
const |
|
inline |
Device model name.
- Returns
- Device model name.
◆ width()
| int QtlMovieDeviceProfile::width |
( |
| ) |
const |
|
inline |
Screen width in pixels.
- Returns
- Screen width in pixels.
◆ height()
| int QtlMovieDeviceProfile::height |
( |
| ) |
const |
|
inline |
Screen height in pixels.
- Returns
- Screen height in pixels.
◆ frameRate()
| float QtlMovieDeviceProfile::frameRate |
( |
| ) |
const |
|
inline |
Frame rate.
- Returns
- Frame rate in frames per second.
◆ frameRateString()
| QString QtlMovieDeviceProfile::frameRateString |
( |
| ) |
const |
Frame rate value as a string for FFmpeg option.
- Returns
- Frame rate value as a string.
◆ audioBitRate()
| int QtlMovieDeviceProfile::audioBitRate |
( |
| ) |
const |
|
inline |
Audio bitrate.
- Returns
- Audio bitrate.
◆ audioSampling()
| int QtlMovieDeviceProfile::audioSampling |
( |
| ) |
const |
|
inline |
Audio samples per second.
- Returns
- Audio samples per second.
◆ videoBitRate() [1/2]
| int QtlMovieDeviceProfile::videoBitRate |
( |
int |
qualityIndicator | ) |
const |
Compute the video bitrate from a given quality indicator.
A quality indicator is a way to represent the video quality independently from the actual video size and frame rate.
- Parameters
-
| [in] | qualityIndicator | Specified video quality. This is the number of bits per pixel per 100 frames. |
- Returns
- The computed bitrate in bits per second.
◆ videoBitRate() [2/2]
| int QtlMovieDeviceProfile::videoBitRate |
( |
int |
qualityIndicator, |
|
|
int |
width, |
|
|
int |
height, |
|
|
float |
frameRate |
|
) |
| |
|
static |
Compute the video bitrate from a given quality indicator.
A quality indicator is a way to represent the video quality independently from the actual video size and frame rate.
- Parameters
-
| [in] | qualityIndicator | Specified video quality. This is the number of bits per pixel per 100 frames. |
| [in] | width | Screen width in pixels. |
| [in] | height | Screen height in pixels. |
| [in] | frameRate | Frames per second. |
- Returns
- The computed bitrate in bits per second.
◆ iPadModels
List of supported iPad models.
◆ iPhoneModels
List of supported iPhone models.
◆ androidModels
List of supported Android devices.
◆ _name
| QString QtlMovieDeviceProfile::_name |
|
private |
◆ _width
| int QtlMovieDeviceProfile::_width |
|
private |
◆ _height
| int QtlMovieDeviceProfile::_height |
|
private |
◆ _frameRate
| float QtlMovieDeviceProfile::_frameRate |
|
private |
◆ _audioBitRate
| int QtlMovieDeviceProfile::_audioBitRate |
|
private |
◆ _audioSampling
| int QtlMovieDeviceProfile::_audioSampling |
|
private |
Audio samples per second.
The documentation for this class was generated from the following files: