class H264EncoderSettings

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

Settings for H264 Encoders.

Public Methods

void H264EncoderSettings ()

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

void H264EncoderSettings (H264EncoderSettings && )

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

void H264EncoderSettings (Storage_ storage)
void H264EncoderSettings (const H264EncoderSettings & other)
H264EncoderSettings & operator= (const H264EncoderSettings & other)
bool operator== (const H264EncoderSettings & other)
bool operator!= (const H264EncoderSettings & other)
bool IsEmpty ()
const std::optional<uint32_t> & bit_rate ()

Target bits per second for encoded stream.

If omitted, interpreted as 200,000.

::std::optional<uint32_t> & bit_rate ()

Target bits per second for encoded stream.

If omitted, interpreted as 200,000.

H264EncoderSettings & bit_rate (std::optional<uint32_t> value)

Target bits per second for encoded stream.

If omitted, interpreted as 200,000.

const std::optional<uint32_t> & frame_rate ()

Target frames per second for encoded stream.

If omitted, interpreted as 30.

::std::optional<uint32_t> & frame_rate ()

Target frames per second for encoded stream.

If omitted, interpreted as 30.

H264EncoderSettings & frame_rate (std::optional<uint32_t> value)

Target frames per second for encoded stream.

If omitted, interpreted as 30.

const std::optional<uint32_t> & gop_size ()

Number of pictures per keyframe. Setting to 0 will disable key frame

encoding, except for if force_key_frame is set to true.

If omitted, interpreted as 8.

::std::optional<uint32_t> & gop_size ()

Number of pictures per keyframe. Setting to 0 will disable key frame

encoding, except for if force_key_frame is set to true.

If omitted, interpreted as 8.

H264EncoderSettings & gop_size (std::optional<uint32_t> value)

Number of pictures per keyframe. Setting to 0 will disable key frame

encoding, except for if force_key_frame is set to true.

If omitted, interpreted as 8.

H264EncoderSettings & operator= (H264EncoderSettings && )

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

const std::optional<bool> & variable_frame_rate ()

Whether to enable frame rate adjustments in order to meet target bitrate.

If omitted, interpreted as false.

::std::optional<bool> & variable_frame_rate ()

Whether to enable frame rate adjustments in order to meet target bitrate.

If omitted, interpreted as false.

H264EncoderSettings & variable_frame_rate (std::optional<bool> value)

Whether to enable frame rate adjustments in order to meet target bitrate.

If omitted, interpreted as false.

const std::optional<uint32_t> & min_frame_rate ()

Lowest frame rate allowed if `variable_frame_rate` is enabled. If

omitted, interpreted as 10.

::std::optional<uint32_t> & min_frame_rate ()

Lowest frame rate allowed if `variable_frame_rate` is enabled. If

omitted, interpreted as 10.

H264EncoderSettings & min_frame_rate (std::optional<uint32_t> value)

Lowest frame rate allowed if `variable_frame_rate` is enabled. If

omitted, interpreted as 10.

const std::optional<bool> & force_key_frame ()

If true, next frame encoded will be a key frame. If omitted, interpreted

as false.

::std::optional<bool> & force_key_frame ()

If true, next frame encoded will be a key frame. If omitted, interpreted

as false.

H264EncoderSettings & force_key_frame (std::optional<bool> value)

If true, next frame encoded will be a key frame. If omitted, interpreted

as false.

const std::optional< ::fuchsia_media::H264QuantizationParameters> & quantization_params ()

Allow customization of quantization parameters for encoding. Each frame

submitted after setting this will use the new values. If omitted, no

change from encoder defaults is made.

::std::optional< ::fuchsia_media::H264QuantizationParameters> & quantization_params ()

Allow customization of quantization parameters for encoding. Each frame

submitted after setting this will use the new values. If omitted, no

change from encoder defaults is made.

H264EncoderSettings & quantization_params (std::optional< ::fuchsia_media::H264QuantizationParameters> value)

Allow customization of quantization parameters for encoding. Each frame

submitted after setting this will use the new values. If omitted, no

change from encoder defaults is made.

void H264EncoderSettings (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits