Shaka Player Embedded
|
#include <media_capabilities.h>
Public Member Functions | |
VideoConfiguration () | |
VideoConfiguration (const VideoConfiguration &) | |
VideoConfiguration (VideoConfiguration &&) | |
~ VideoConfiguration () | |
VideoConfiguration & | operator= (const VideoConfiguration &) |
VideoConfiguration & | operator= (VideoConfiguration &&) |
Public Attributes | |
std::string | content_type |
uint32_t | width |
uint32_t | height |
uint64_t | bitrate |
double | framerate |
bool | has_alpha_channel |
HdrMetadataType | hdr_metadata_type |
ColorGamut | color_gamut |
TransferFunction | transfer_function |
Defines the capabilities of the video decoder to query. Many of these fields may be unset for a query. The only field that is required is content_type. If that is unset, the query is for audio-only content and this object should be ignored.
Definition at line 88 of file media_capabilities.h.
shaka::media::VideoConfiguration::VideoConfiguration | ( | ) |
shaka::media::VideoConfiguration::VideoConfiguration | ( | const VideoConfiguration & | ) |
shaka::media::VideoConfiguration::VideoConfiguration | ( | VideoConfiguration && | ) |
shaka::media::VideoConfiguration::~ VideoConfiguration | ( | ) |
VideoConfiguration& shaka::media::VideoConfiguration::operator= | ( | const VideoConfiguration & | ) |
VideoConfiguration& shaka::media::VideoConfiguration::operator= | ( | VideoConfiguration && | ) |
uint64_t shaka::media::VideoConfiguration::bitrate |
The average bitrate of the video, in bits per second.
Definition at line 104 of file media_capabilities.h.
ColorGamut shaka::media::VideoConfiguration::color_gamut |
The set of colors that are intended to be displayed.
Definition at line 116 of file media_capabilities.h.
std::string shaka::media::VideoConfiguration::content_type |
Contains the full MIME type that is being queried. This can be the empty string if we are querying audio-only content.
Definition at line 95 of file media_capabilities.h.
double shaka::media::VideoConfiguration::framerate |
The framerate of the video, in frames per second.
Definition at line 107 of file media_capabilities.h.
bool shaka::media::VideoConfiguration::has_alpha_channel |
Whether the video frames have alpha channels in them.
Definition at line 110 of file media_capabilities.h.
HdrMetadataType shaka::media::VideoConfiguration::hdr_metadata_type |
The type of HDR metadata that is used.
Definition at line 113 of file media_capabilities.h.
uint32_t shaka::media::VideoConfiguration::height |
The height of the video, in pixels.
Definition at line 101 of file media_capabilities.h.
TransferFunction shaka::media::VideoConfiguration::transfer_function |
A transfer function to map decoded media colors to display colors.
Definition at line 119 of file media_capabilities.h.
uint32_t shaka::media::VideoConfiguration::width |
The width of the video, in pixels.
Definition at line 98 of file media_capabilities.h.