class FormatDetails

Defined at line 8665 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

FormatDetails

This describes/details the format on input or output of a StreamProcessor

(separate instances for input vs. output).

Public Methods

void FormatDetails ()

Defined at line 8670 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

void FormatDetails (FormatDetails && )

Defined at line 8671 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

void FormatDetails (Storage_ storage)
void FormatDetails (const FormatDetails & other)
FormatDetails & operator= (const FormatDetails & other)
bool operator== (const FormatDetails & other)
bool operator!= (const FormatDetails & other)
bool IsEmpty ()
const std::optional<uint64_t> & format_details_version_ordinal ()
::std::optional<uint64_t> & format_details_version_ordinal ()
FormatDetails & format_details_version_ordinal (std::optional<uint64_t> value)

Setter for format_details_version_ordinal.

const std::optional< ::std::string> & mime_type ()
::std::optional< ::std::string> & mime_type ()
FormatDetails & mime_type (std::optional< ::std::string> value)

Setter for mime_type.

const std::optional< ::std::vector<uint8_t>> & oob_bytes ()
::std::optional< ::std::vector<uint8_t>> & oob_bytes ()
FormatDetails & oob_bytes (std::optional< ::std::vector<uint8_t>> value)

Setter for oob_bytes.

const std::optional< ::fuchsia_media::DomainFormat> & domain ()
::std::optional< ::fuchsia_media::DomainFormat> & domain ()
FormatDetails & domain (std::optional< ::fuchsia_media::DomainFormat> value)

Setter for domain.

FormatDetails & operator= (FormatDetails && )

Defined at line 8672 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

const std::optional< ::std::vector< ::fuchsia_media::Parameter>> & pass_through_parameters ()
::std::optional< ::std::vector< ::fuchsia_media::Parameter>> & pass_through_parameters ()
FormatDetails & pass_through_parameters (std::optional< ::std::vector< ::fuchsia_media::Parameter>> value)

Setter for pass_through_parameters.

const std::optional< ::fuchsia_media::EncoderSettings> & encoder_settings ()

Instructs an encoder on how to encode raw data.

Decoders may ignore this field but are entitled to rejected requests with

this field set because it doesn't make sense.

::std::optional< ::fuchsia_media::EncoderSettings> & encoder_settings ()

Instructs an encoder on how to encode raw data.

Decoders may ignore this field but are entitled to rejected requests with

this field set because it doesn't make sense.

FormatDetails & encoder_settings (std::optional< ::fuchsia_media::EncoderSettings> value)

Instructs an encoder on how to encode raw data.

Decoders may ignore this field but are entitled to rejected requests with

this field set because it doesn't make sense.

const std::optional<uint64_t> & timebase ()

The number of ticks of the timebase of input packet timestamp_ish values

per second.

The timebase is only used used for optional extrapolation of timestamp_ish

values when an input timestamp which applies to byte 0 of the valid portion

of the input packet does not correspond directly to byte 0 of the valid

portion of any output packet.

Leave unset if timestamp extrapolation is not needed, either due to lack of

timestamps on input, or due to input being provided in increments of the

encoder's input chunk size (based on the encoder settings and calculated

independently by the client). Set if timestamp extrapolation is known to be

needed or known to be acceptable to the client.

::std::optional<uint64_t> & timebase ()

The number of ticks of the timebase of input packet timestamp_ish values

per second.

The timebase is only used used for optional extrapolation of timestamp_ish

values when an input timestamp which applies to byte 0 of the valid portion

of the input packet does not correspond directly to byte 0 of the valid

portion of any output packet.

Leave unset if timestamp extrapolation is not needed, either due to lack of

timestamps on input, or due to input being provided in increments of the

encoder's input chunk size (based on the encoder settings and calculated

independently by the client). Set if timestamp extrapolation is known to be

needed or known to be acceptable to the client.

FormatDetails & timebase (std::optional<uint64_t> value)

The number of ticks of the timebase of input packet timestamp_ish values

per second.

The timebase is only used used for optional extrapolation of timestamp_ish

values when an input timestamp which applies to byte 0 of the valid portion

of the input packet does not correspond directly to byte 0 of the valid

portion of any output packet.

Leave unset if timestamp extrapolation is not needed, either due to lack of

timestamps on input, or due to input being provided in increments of the

encoder's input chunk size (based on the encoder settings and calculated

independently by the client). Set if timestamp extrapolation is known to be

needed or known to be acceptable to the client.

const std::optional< ::fuchsia_media::CodecProfile> & profile ()

The codec profile for the given encoder or decoder.

For encoders: This value is completely optional. A client may want to specify the codec

profile used for protocol compatibility reasons (i.e. WebRTC). However if the value is not

set then the the encoder is free to choose any supported codec profile.

For decoders: This value is optional but providing it is best practice (at least of

unencrypted streams). Container formats include the encoded profile and this should be

provided to the decoder. Certain formats like VP9 and AV1 include the encoded profile in

their elementary bitstream so it is possible for those decoders to figure out the profile

the stream is encoded in. Regardless, clients should provide the encoded profile if

possible.

::std::optional< ::fuchsia_media::CodecProfile> & profile ()

The codec profile for the given encoder or decoder.

For encoders: This value is completely optional. A client may want to specify the codec

profile used for protocol compatibility reasons (i.e. WebRTC). However if the value is not

set then the the encoder is free to choose any supported codec profile.

For decoders: This value is optional but providing it is best practice (at least of

unencrypted streams). Container formats include the encoded profile and this should be

provided to the decoder. Certain formats like VP9 and AV1 include the encoded profile in

their elementary bitstream so it is possible for those decoders to figure out the profile

the stream is encoded in. Regardless, clients should provide the encoded profile if

possible.

FormatDetails & profile (std::optional< ::fuchsia_media::CodecProfile> value)

The codec profile for the given encoder or decoder.

For encoders: This value is completely optional. A client may want to specify the codec

profile used for protocol compatibility reasons (i.e. WebRTC). However if the value is not

set then the the encoder is free to choose any supported codec profile.

For decoders: This value is optional but providing it is best practice (at least of

unencrypted streams). Container formats include the encoded profile and this should be

provided to the decoder. Certain formats like VP9 and AV1 include the encoded profile in

their elementary bitstream so it is possible for those decoders to figure out the profile

the stream is encoded in. Regardless, clients should provide the encoded profile if

possible.

void FormatDetails (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits