Shaka Player Embedded
Public Member Functions | Public Attributes | List of all members
shaka::media::VideoConfiguration Struct Referencefinal

#include <media_capabilities.h>

Public Member Functions

 VideoConfiguration ()
 
 VideoConfiguration (const VideoConfiguration &)
 
 VideoConfiguration (VideoConfiguration &&)
 
 ~ VideoConfiguration ()
 
VideoConfigurationoperator= (const VideoConfiguration &)
 
VideoConfigurationoperator= (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
 

Detailed Description

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.

Constructor & Destructor Documentation

§ VideoConfiguration() [1/3]

shaka::media::VideoConfiguration::VideoConfiguration ( )

§ VideoConfiguration() [2/3]

shaka::media::VideoConfiguration::VideoConfiguration ( const VideoConfiguration )

§ VideoConfiguration() [3/3]

shaka::media::VideoConfiguration::VideoConfiguration ( VideoConfiguration &&  )

§ ~ VideoConfiguration()

shaka::media::VideoConfiguration::~ VideoConfiguration ( )

Member Function Documentation

§ operator=() [1/2]

VideoConfiguration& shaka::media::VideoConfiguration::operator= ( const VideoConfiguration )

§ operator=() [2/2]

VideoConfiguration& shaka::media::VideoConfiguration::operator= ( VideoConfiguration &&  )

Member Data Documentation

§ bitrate

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.

§ color_gamut

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.

§ content_type

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.

§ framerate

double shaka::media::VideoConfiguration::framerate

The framerate of the video, in frames per second.

Definition at line 107 of file media_capabilities.h.

§ has_alpha_channel

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.

§ hdr_metadata_type

HdrMetadataType shaka::media::VideoConfiguration::hdr_metadata_type

The type of HDR metadata that is used.

Definition at line 113 of file media_capabilities.h.

§ height

uint32_t shaka::media::VideoConfiguration::height

The height of the video, in pixels.

Definition at line 101 of file media_capabilities.h.

§ transfer_function

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.

§ width

uint32_t shaka::media::VideoConfiguration::width

The width of the video, in pixels.

Definition at line 98 of file media_capabilities.h.


The documentation for this struct was generated from the following file: